perl-sys/perl-sys.spec

changeset 57
b2ef87c65d24
child 58
c89aa64d8014
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/perl-sys/perl-sys.spec	Fri Jan 09 17:12:49 2009 +0100
     1.3 @@ -0,0 +1,450 @@
     1.4 +##
     1.5 +##  perl-sys.spec -- OpenPKG RPM Package Specification
     1.6 +##  Copyright (c) 2000-2008 OpenPKG Foundation e.V. <http://openpkg.net/>
     1.7 +##
     1.8 +##  Permission to use, copy, modify, and distribute this software for
     1.9 +##  any purpose with or without fee is hereby granted, provided that
    1.10 +##  the above copyright notice and this permission notice appear in all
    1.11 +##  copies.
    1.12 +##
    1.13 +##  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
    1.14 +##  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
    1.15 +##  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
    1.16 +##  IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
    1.17 +##  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
    1.18 +##  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
    1.19 +##  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
    1.20 +##  USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
    1.21 +##  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
    1.22 +##  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
    1.23 +##  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    1.24 +##  SUCH DAMAGE.
    1.25 +##
    1.26 +
    1.27 +#   versions of individual parts
    1.28 +%define       V_perl                5.10.0
    1.29 +%define       V_unix_syslog         1.1
    1.30 +%define       V_archive_tar         1.42
    1.31 +%define       V_archive_zip         1.26
    1.32 +%define       V_archive_cpio        0.07
    1.33 +%define       V_expect              1.21
    1.34 +%define       V_storable            2.18
    1.35 +%define       V_ipc_sharelite       0.13
    1.36 +%define       V_ipc_shareable       0.60
    1.37 +%define       V_ipc_sharedcache     1.3
    1.38 +%define       V_ipc_run             0.82
    1.39 +%define       V_ipc_run3            0.042
    1.40 +%define       V_ipc_signal          1.00
    1.41 +%define       V_ipc_filter          0.002
    1.42 +%define       V_file_tail           0.99.3
    1.43 +%define       V_file_temp           0.21
    1.44 +%define       V_file_remove         1.42
    1.45 +%define       V_file_rename         0.05
    1.46 +%define       V_freezethaw          0.43
    1.47 +%define       V_authen_sasl         2.12
    1.48 +%define       V_authen_pam          0.16
    1.49 +%define       V_weakref             0.01
    1.50 +%define       V_filehandle_deluxe   0.92
    1.51 +%define       V_filehandle_rollback 1.06
    1.52 +%define       V_filehandle_unget    0.1622
    1.53 +%define       V_spiffy              0.30
    1.54 +%define       V_io                  1.2301
    1.55 +%define       V_io_all              0.39
    1.56 +%define       V_io_multiplex        1.10
    1.57 +%define       V_io_interface        1.05
    1.58 +%define       V_io_util             1.5
    1.59 +%define       V_io_mux              0.08
    1.60 +%define       V_boulder             1.30
    1.61 +%define       V_error               0.17015
    1.62 +%define       V_file_fnmatch        0.02
    1.63 +%define       V_user                1.8
    1.64 +%define       V_file_rsync          0.42
    1.65 +
    1.66 +#   package information
    1.67 +Name:         perl-sys
    1.68 +Summary:      Perl Modules for use with the system
    1.69 +URL:          http://www.cpan.org/
    1.70 +Vendor:       Perl Community
    1.71 +Packager:     OpenPKG Foundation e.V.
    1.72 +Distribution: OpenPKG Community
    1.73 +Class:        BASE
    1.74 +Group:        Perl
    1.75 +License:      GPL/Artistic
    1.76 +Version:      %{V_perl}
    1.77 +Release:      20081228
    1.78 +
    1.79 +#   package options
    1.80 +%option       with_pam   no
    1.81 +
    1.82 +#   list of sources
    1.83 +Source0:      http://www.cpan.org/modules/by-module/Unix/Unix-Syslog-%{V_unix_syslog}.tar.gz
    1.84 +Source1:      http://www.cpan.org/modules/by-module/Archive/Archive-Tar-%{V_archive_tar}.tar.gz
    1.85 +Source2:      http://www.cpan.org/modules/by-module/Archive/Archive-Zip-%{V_archive_zip}.tar.gz
    1.86 +Source3:      http://www.cpan.org/modules/by-module/Expect/Expect-%{V_expect}.tar.gz
    1.87 +Source4:      http://www.cpan.org/modules/by-module/Storable/Storable-%{V_storable}.tar.gz
    1.88 +Source5:      http://www.cpan.org/modules/by-module/IPC/IPC-Shareable-%{V_ipc_shareable}.tar.gz
    1.89 +Source6:      http://www.cpan.org/modules/by-module/File/File-Tail-%{V_file_tail}.tar.gz
    1.90 +Source7:      http://www.cpan.org/modules/by-module/FreezeThaw/FreezeThaw-%{V_freezethaw}.tar.gz
    1.91 +Source8:      http://www.cpan.org/modules/by-module/Authen/Authen-SASL-%{V_authen_sasl}.tar.gz
    1.92 +Source9:      http://www.cpan.org/authors/id/L/LU/LUKKA/WeakRef-%{V_weakref}.tar.gz
    1.93 +Source10:     http://www.cpan.org/modules/by-module/FileHandle/FileHandle-Deluxe-%{V_filehandle_deluxe}.tar.gz
    1.94 +Source11:     http://www.cpan.org/modules/by-module/FileHandle/FileHandle-Rollback-%{V_filehandle_rollback}.tar.gz
    1.95 +Source12:     http://www.cpan.org/modules/by-module/FileHandle/FileHandle-Unget-%{V_filehandle_unget}.tar.gz
    1.96 +Source13:     http://www.cpan.org/modules/by-module/IPC/IPC-ShareLite-%{V_ipc_sharelite}.tar.gz
    1.97 +Source14:     http://www.cpan.org/modules/by-module/IPC/IPC-SharedCache-%{V_ipc_sharedcache}.tar.gz
    1.98 +Source15:     http://www.cpan.org/modules/by-module/IPC/IPC-Run-%{V_ipc_run}.tar.gz
    1.99 +Source16:     http://www.cpan.org/modules/by-module/IPC/IPC-Signal-%{V_ipc_signal}.tar.gz
   1.100 +Source17:     http://www.cpan.org/modules/by-module/IPC/IPC-Filter-%{V_ipc_filter}.tar.gz
   1.101 +Source18:     http://www.cpan.org/authors/id/I/IN/INGY/Spiffy-%{V_spiffy}.tar.gz
   1.102 +Source19:     http://www.cpan.org/modules/by-module/IO/IO-%{V_io}.tar.gz
   1.103 +Source20:     http://www.cpan.org/modules/by-module/IO/IO-All-%{V_io_all}.tar.gz
   1.104 +Source21:     http://www.cpan.org/modules/by-module/IO/IO-Multiplex-%{V_io_multiplex}.tar.gz
   1.105 +Source22:     http://www.cpan.org/modules/by-module/IO/IO-Interface-%{V_io_interface}.tar.gz
   1.106 +Source23:     http://www.cpan.org/modules/by-module/IO/IO-Util-%{V_io_util}.tar.gz
   1.107 +Source24:     http://www.cpan.org/modules/by-module/Boulder/Boulder-%{V_boulder}.tar.gz
   1.108 +Source25:     http://www.cpan.org/modules/by-module/Error/Error-%{V_error}.tar.gz
   1.109 +Source26:     http://www.cpan.org/modules/by-module/IPC/IPC-Run3-%{V_ipc_run3}.tar.gz
   1.110 +Source27:     http://www.cpan.org/modules/by-module/IO/IO-Mux-%{V_io_mux}.tar.gz
   1.111 +Source28:     http://www.cpan.org/modules/by-module/File/File-FnMatch-%{V_file_fnmatch}.tar.gz
   1.112 +Source29:     http://www.cpan.org/modules/by-module/Authen/Authen-PAM-%{V_authen_pam}.tar.gz
   1.113 +Source30:     http://www.cpan.org/modules/by-module/Archive/Archive-Cpio-%{V_archive_cpio}.tar.gz
   1.114 +Source31:     http://www.cpan.org/authors/id/T/TB/TBONE/User-%{V_user}.tar.gz
   1.115 +Source32:     http://www.cpan.org/modules/by-module/File/File-Temp-%{V_file_temp}.tar.gz
   1.116 +Source33:     http://www.cpan.org/modules/by-module/File/File-Remove-%{V_file_remove}.tar.gz
   1.117 +Source34:     http://www.cpan.org/modules/by-module/File/File-Rename-%{V_file_rename}.tar.gz
   1.118 +Source35:     http://www.cpan.org/modules/by-module/File/File-Rsync-%{V_file_rsync}.tar.gz
   1.119 +Patch0:       perl-sys.patch
   1.120 +
   1.121 +#   build information
   1.122 +Prefix:       %{l_prefix}
   1.123 +BuildRoot:    %{l_buildroot}
   1.124 +BuildPreReq:  OpenPKG, openpkg >= 20040130, perl >= %{V_perl}, perl-openpkg >= %{V_perl}-20040126
   1.125 +PreReq:       OpenPKG, openpkg >= 20040130, perl >= %{V_perl}
   1.126 +BuildPreReq:  perl-time, perl-term
   1.127 +PreReq:       perl-time, perl-term
   1.128 +%if "%{with_pam}" == "yes"
   1.129 +BuildPreReq:  PAM
   1.130 +PreReq:       PAM
   1.131 +%endif
   1.132 +AutoReq:      no
   1.133 +AutoReqProv:  no
   1.134 +
   1.135 +%description
   1.136 +    Perl modules for use with the system:
   1.137 +    - Unix::Syslog (%{V_unix_syslog})
   1.138 +    - Archive::Tar (%{V_archive_tar})
   1.139 +    - Expect (%{V_expect})
   1.140 +    - Storable (%{V_storable})
   1.141 +    - IPC::ShareLite (%{V_ipc_sharelite})
   1.142 +    - IPC::Shareable (%{V_ipc_shareable})
   1.143 +    - IPC::SharedCache (%{V_ipc_sharedcache})
   1.144 +    - IPC::Run (%{V_ipc_run})
   1.145 +    - IPC::Run3 (%{V_ipc_run3})
   1.146 +    - IPC::Signal (%{V_ipc_signal})
   1.147 +    - IPC::Filter (%{V_ipc_filter})
   1.148 +    - File::Tail (%{V_file_tail})
   1.149 +    - FreezeThaw (%{V_freezethaw})
   1.150 +    - Authen::SASL (%{V_authen_sasl})
   1.151 +    - Authen::PAM (%{V_authen_pam}) [with_pam=yes]
   1.152 +    - Archive::Zip (%{V_archive_zip})
   1.153 +    - WeakRef (%{V_weakref})
   1.154 +    - FileHandle::Deluxe (%{V_filehandle_deluxe})
   1.155 +    - FileHandle::Rollback (%{V_filehandle_rollback})
   1.156 +    - FileHandle::Unget (%{V_filehandle_unget})
   1.157 +    - Spiffy (%{V_spiffy})
   1.158 +    - IO (%{V_io})
   1.159 +    - IO::All (%{V_io_all})
   1.160 +    - IO::Multiplex (%{V_io_multiplex})
   1.161 +    - IO::Interface (%{V_io_interface})
   1.162 +    - IO::Util (%{V_io_util})
   1.163 +    - IO::Mux (%{V_io_mux})
   1.164 +    - Boulder (%{V_boulder})
   1.165 +    - Error (%{V_error})
   1.166 +    - File::FnMatch (%{V_file_fnmatch})
   1.167 +    - Archive::Cpio (%{V_archive_cpio})
   1.168 +    - User (%{V_user})
   1.169 +    - File::Temp (%{V_file_temp})
   1.170 +    - File::Remove (%{V_file_remove})
   1.171 +    - File::Rename (%{V_file_rename})
   1.172 +    - File::Rsync (%{V_file_rsync})
   1.173 +
   1.174 +%track
   1.175 +    prog perl-sys:Archive-Tar = {
   1.176 +        version   = %{V_archive_tar}
   1.177 +        url       = http://www.cpan.org/modules/by-module/Archive/
   1.178 +        regex     = Archive-Tar-(__VER__)\.tar\.gz
   1.179 +    }
   1.180 +    prog perl-sys:Archive-Zip = {
   1.181 +        version   = %{V_archive_zip}
   1.182 +        url       = http://www.cpan.org/modules/by-module/Archive/
   1.183 +        regex     = Archive-Zip-(__VER__)\.tar\.gz
   1.184 +    }
   1.185 +    prog perl-sys:Authen-SASL = {
   1.186 +        version   = %{V_authen_sasl}
   1.187 +        url       = http://www.cpan.org/modules/by-module/Authen/
   1.188 +        regex     = Authen-SASL-(__VER__)\.tar\.gz
   1.189 +    }
   1.190 +    prog perl-sys:Expect = {
   1.191 +        version   = %{V_expect}
   1.192 +        url       = http://www.cpan.org/modules/by-module/Expect/
   1.193 +        regex     = Expect-(__VER__)\.tar\.gz
   1.194 +    }
   1.195 +    prog perl-sys:File-Tail = {
   1.196 +        version   = %{V_file_tail}
   1.197 +        url       = http://www.cpan.org/modules/by-module/File/
   1.198 +        regex     = File-Tail-(__VER__)\.tar\.gz
   1.199 +    }
   1.200 +    prog perl-sys:FileHandle-Deluxe = {
   1.201 +        version   = %{V_filehandle_deluxe}
   1.202 +        url       = http://www.cpan.org/modules/by-module/FileHandle/
   1.203 +        regex     = FileHandle-Deluxe-(__VER__)\.tar\.gz
   1.204 +    }
   1.205 +    prog perl-sys:FileHandle-Rollback = {
   1.206 +        version   = %{V_filehandle_rollback}
   1.207 +        url       = http://www.cpan.org/modules/by-module/FileHandle/
   1.208 +        regex     = FileHandle-Rollback-(__VER__)\.tar\.gz
   1.209 +    }
   1.210 +    prog perl-sys:FileHandle-Unget = {
   1.211 +        version   = %{V_filehandle_unget}
   1.212 +        url       = http://www.cpan.org/modules/by-module/FileHandle/
   1.213 +        regex     = FileHandle-Unget-(__VER__)\.tar\.gz
   1.214 +    }
   1.215 +    prog perl-sys:FreezeThaw = {
   1.216 +        version   = %{V_freezethaw}
   1.217 +        url       = http://www.cpan.org/modules/by-module/FreezeThaw/
   1.218 +        regex     = FreezeThaw-(__VER__)\.tar\.gz
   1.219 +    }
   1.220 +    prog perl-sys:IPC-Shareable = {
   1.221 +        version   = %{V_ipc_shareable}
   1.222 +        url       = http://www.cpan.org/modules/by-module/IPC/
   1.223 +        regex     = IPC-Shareable-(__VER__)\.tar\.gz
   1.224 +    }
   1.225 +    prog perl-sys:IPC-ShareLite = {
   1.226 +        version   = %{V_ipc_sharelite}
   1.227 +        url       = http://www.cpan.org/modules/by-module/IPC/
   1.228 +        regex     = IPC-ShareLite-(__VER__)\.tar\.gz
   1.229 +    }
   1.230 +    prog perl-sys:IPC-SharedCache = {
   1.231 +        version   = %{V_ipc_sharedcache}
   1.232 +        url       = http://www.cpan.org/modules/by-module/IPC/
   1.233 +        regex     = IPC-SharedCache-(__VER__)\.tar\.gz
   1.234 +    }
   1.235 +    prog perl-sys:IPC-Run = {
   1.236 +        version   = %{V_ipc_run}
   1.237 +        url       = http://www.cpan.org/modules/by-module/IPC/
   1.238 +        regex     = IPC-Run-(__VER__)\.tar\.gz
   1.239 +    }
   1.240 +    prog perl-sys:IPC-Run3 = {
   1.241 +        version   = %{V_ipc_run3}
   1.242 +        url       = http://www.cpan.org/modules/by-module/IPC/
   1.243 +        regex     = IPC-Run3-(__VER__)\.tar\.gz
   1.244 +    }
   1.245 +    prog perl-sys:IPC-Signal = {
   1.246 +        version   = %{V_ipc_signal}
   1.247 +        url       = http://www.cpan.org/modules/by-module/IPC/
   1.248 +        regex     = IPC-Signal-(__VER__)\.tar\.gz
   1.249 +    }
   1.250 +    prog perl-sys:IPC-Filter = {
   1.251 +        version   = %{V_ipc_filter}
   1.252 +        url       = http://www.cpan.org/modules/by-module/IPC/
   1.253 +        regex     = IPC-Filter-(__VER__)\.tar\.gz
   1.254 +    }
   1.255 +    prog perl-sys:Storable = {
   1.256 +        version   = %{V_storable}
   1.257 +        url       = http://www.cpan.org/modules/by-module/Storable/
   1.258 +        regex     = Storable-(__VER__)\.tar\.gz
   1.259 +    }
   1.260 +    prog perl-sys:Unix-Syslog = {
   1.261 +        version   = %{V_unix_syslog}
   1.262 +        url       = http://www.cpan.org/modules/by-module/Unix/
   1.263 +        regex     = Unix-Syslog-(__VER__)\.tar\.gz
   1.264 +    }
   1.265 +    prog perl-sys:WeakRef = {
   1.266 +        version   = %{V_weakref}
   1.267 +        url       = http://www.cpan.org/authors/id/L/LU/LUKKA/
   1.268 +        regex     = WeakRef-(__VER__)\.tar\.gz
   1.269 +    }
   1.270 +    prog perl-sys:Spiffy = {
   1.271 +        version   = %{V_spiffy}
   1.272 +        url       = http://www.cpan.org/authors/id/I/IN/INGY/
   1.273 +        regex     = Spiffy-(__VER__)\.tar\.gz
   1.274 +    }
   1.275 +    prog perl-sys:IO = {
   1.276 +        version   = %{V_io}
   1.277 +        url       = http://www.cpan.org/modules/by-module/IO/
   1.278 +        regex     = \bIO-(__VER__)\.tar\.gz
   1.279 +    }
   1.280 +    prog perl-sys:IO-All = {
   1.281 +        version   = %{V_io_all}
   1.282 +        url       = http://www.cpan.org/modules/by-module/IO/
   1.283 +        regex     = IO-All-(__VER__)\.tar\.gz
   1.284 +    }
   1.285 +    prog perl-sys:IO-Multiplex = {
   1.286 +        version   = %{V_io_multiplex}
   1.287 +        url       = http://www.cpan.org/modules/by-module/IO/
   1.288 +        regex     = IO-Multiplex-(__VER__)\.tar\.gz
   1.289 +    }
   1.290 +    prog perl-sys:IO-Interface = {
   1.291 +        version   = %{V_io_interface}
   1.292 +        url       = http://www.cpan.org/modules/by-module/IO/
   1.293 +        regex     = IO-Interface-(__VER__)\.tar\.gz
   1.294 +    }
   1.295 +    prog perl-sys:IO-Util = {
   1.296 +        version   = %{V_io_util}
   1.297 +        url       = http://www.cpan.org/modules/by-module/IO/
   1.298 +        regex     = IO-Util-(__VER__)\.tar\.gz
   1.299 +    }
   1.300 +    prog perl-sys:IO-Mux = {
   1.301 +        version   = %{V_io_mux}
   1.302 +        url       = http://www.cpan.org/modules/by-module/IO/
   1.303 +        regex     = IO-Mux-(__VER__)\.tar\.gz
   1.304 +    }
   1.305 +    prog perl-sys:Boulder = {
   1.306 +        version   = %{V_boulder}
   1.307 +        url       = http://www.cpan.org/modules/by-module/Boulder/
   1.308 +        regex     = Boulder-(__VER__)\.tar\.gz
   1.309 +    }
   1.310 +    prog perl-sys:Error = {
   1.311 +        version   = %{V_error}
   1.312 +        url       = http://www.cpan.org/modules/by-module/Error/
   1.313 +        regex     = Error-(__VER__)\.tar\.gz
   1.314 +    }
   1.315 +    prog perl-sys:File-FnMatch = {
   1.316 +        version   = %{V_file_fnmatch}
   1.317 +        url       = http://www.cpan.org/modules/by-module/File/
   1.318 +        regex     = File-FnMatch-(__VER__)\.tar\.gz
   1.319 +    }
   1.320 +    prog perl-sys:Authen-PAM = {
   1.321 +        version   = %{V_authen_pam}
   1.322 +        url       = http://www.cpan.org/modules/by-module/Authen/
   1.323 +        regex     = Authen-PAM-(__VER__)\.tar\.gz
   1.324 +    }
   1.325 +    prog perl-sys:Archive-Cpio = {
   1.326 +        version   = %{V_archive_cpio}
   1.327 +        url       = http://www.cpan.org/modules/by-module/Archive/
   1.328 +        regex     = Archive-Cpio-(__VER__)\.tar\.gz
   1.329 +    }
   1.330 +    prog perl-sys:User = {
   1.331 +        version   = %{V_user}
   1.332 +        url       = http://www.cpan.org/authors/id/T/TB/TBONE/
   1.333 +        regex     = User-(__VER__)\.tar\.gz
   1.334 +    }
   1.335 +    prog perl-sys:File-Temp = {
   1.336 +        version   = %{V_file_temp}
   1.337 +        url       = http://www.cpan.org/modules/by-module/File/
   1.338 +        regex     = File-Temp-(__VER__)\.tar\.gz
   1.339 +    }
   1.340 +    prog perl-sys:File-Remove = {
   1.341 +        version   = %{V_file_remove}
   1.342 +        url       = http://www.cpan.org/modules/by-module/File/
   1.343 +        regex     = File-Remove-(__VER__)\.tar\.gz
   1.344 +    }
   1.345 +    prog perl-sys:File-Rename = {
   1.346 +        version   = %{V_file_rename}
   1.347 +        url       = http://www.cpan.org/modules/by-module/File/
   1.348 +        regex     = File-Rename-(__VER__)\.tar\.gz
   1.349 +    }
   1.350 +    prog perl-sys:File-Rsync = {
   1.351 +        version   = %{V_file_rsync}
   1.352 +        url       = http://www.cpan.org/modules/by-module/File/
   1.353 +        regex     = File-Rsync-(__VER__)\.tar\.gz
   1.354 +    }
   1.355 +
   1.356 +%prep
   1.357 +    %setup -q -c
   1.358 +    %setup -q -T -D -a 1
   1.359 +    %setup -q -T -D -a 2
   1.360 +    %setup -q -T -D -a 3
   1.361 +    %setup -q -T -D -a 4
   1.362 +    %setup -q -T -D -a 5
   1.363 +    %setup -q -T -D -a 6
   1.364 +    %setup -q -T -D -a 7
   1.365 +    %setup -q -T -D -a 8
   1.366 +    %setup -q -T -D -a 9
   1.367 +    %setup -q -T -D -a 10
   1.368 +    %setup -q -T -D -a 11
   1.369 +    %setup -q -T -D -a 12
   1.370 +    %setup -q -T -D -a 13
   1.371 +    %setup -q -T -D -a 14
   1.372 +    %setup -q -T -D -a 15
   1.373 +    %setup -q -T -D -a 16
   1.374 +    %setup -q -T -D -a 17
   1.375 +    %setup -q -T -D -a 18
   1.376 +    %setup -q -T -D -a 19
   1.377 +    %setup -q -T -D -a 20
   1.378 +    %setup -q -T -D -a 21
   1.379 +    %setup -q -T -D -a 22
   1.380 +    %setup -q -T -D -a 23
   1.381 +    %setup -q -T -D -a 24
   1.382 +    %setup -q -T -D -a 25
   1.383 +    %setup -q -T -D -a 26
   1.384 +    %setup -q -T -D -a 27
   1.385 +    %setup -q -T -D -a 28
   1.386 +    %setup -q -T -D -a 29
   1.387 +    %setup -q -T -D -a 30
   1.388 +    %setup -q -T -D -a 31
   1.389 +    %setup -q -T -D -a 32
   1.390 +    %setup -q -T -D -a 33
   1.391 +    %setup -q -T -D -a 34
   1.392 +    %setup -q -T -D -a 35
   1.393 +    %patch -p0
   1.394 +
   1.395 +%build
   1.396 +    %{l_shtool} subst \
   1.397 +        -e 's;/usr/local/bin/rsync;%{l_prefix}/bin/rsync;' \
   1.398 +        -e 's;<STDIN>;"";' \
   1.399 +        File-Rsync-*/makepm.PL
   1.400 +
   1.401 +%install
   1.402 +    rm -rf $RPM_BUILD_ROOT
   1.403 +    %{l_prefix}/bin/perl-openpkg prepare
   1.404 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE0}  configure build install
   1.405 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE1}  configure build install
   1.406 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE2}  configure build install
   1.407 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE3}  configure build install
   1.408 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE4}  configure build install
   1.409 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE5}  configure build install
   1.410 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE6}  configure build install
   1.411 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE7}  configure build install
   1.412 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE8}  configure build install
   1.413 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE9}  configure build install
   1.414 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE10} configure build install
   1.415 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE11} configure build install
   1.416 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE12} configure build install
   1.417 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE13} configure build install
   1.418 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE14} configure build install
   1.419 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE15} configure build install
   1.420 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE16} configure build install
   1.421 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE17} configure build install
   1.422 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE18} configure build install
   1.423 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE19} configure build install
   1.424 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE20} configure build install
   1.425 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE21} configure build install
   1.426 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE22} configure build install
   1.427 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE23} configure build install
   1.428 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE24} configure build install
   1.429 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE25} configure build install
   1.430 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE26} configure build install
   1.431 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE27} configure build install
   1.432 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE28} configure build install
   1.433 +%if "%{with_pam}" == "yes"
   1.434 +    export CC="%{l_cc}"
   1.435 +    export CFLAGS="%{l_cflags} -I`%{l_rc} --query pam_incdir`"
   1.436 +    export CPPFLAGS="%{l_cppflags} -I`%{l_rc} --query pam_incdir`"
   1.437 +    export LDFLAGS="%{l_ldflags} -L`%{l_rc} --query pam_libdir`"
   1.438 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE29} configure build install
   1.439 +%endif
   1.440 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE30} configure build install
   1.441 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE31} configure build install
   1.442 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE32} configure build install
   1.443 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE33} configure build install
   1.444 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE34} configure build install
   1.445 +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE35} configure build install
   1.446 +    %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
   1.447 +    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat perl-openpkg-files`
   1.448 +
   1.449 +%files -f files
   1.450 +
   1.451 +%clean
   1.452 +    rm -rf $RPM_BUILD_ROOT
   1.453 +

mercurial