perl-sys/perl-sys.spec

Tue, 28 Aug 2012 18:33:30 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 28 Aug 2012 18:33:30 +0200
changeset 558
d05aa91cd793
parent 158
f144dd621b72
permissions
-rw-r--r--

Modernize packaging and use newely appeared versioned tarball URI.

michael@57 1 ##
michael@57 2 ## perl-sys.spec -- OpenPKG RPM Package Specification
michael@372 3 ## Copyright (c) 2000-2011 OpenPKG Foundation e.V. <http://openpkg.net/>
michael@57 4 ##
michael@57 5 ## Permission to use, copy, modify, and distribute this software for
michael@57 6 ## any purpose with or without fee is hereby granted, provided that
michael@57 7 ## the above copyright notice and this permission notice appear in all
michael@57 8 ## copies.
michael@57 9 ##
michael@57 10 ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
michael@57 11 ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
michael@57 12 ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
michael@57 13 ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
michael@57 14 ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
michael@57 15 ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
michael@57 16 ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
michael@57 17 ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
michael@57 18 ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
michael@57 19 ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
michael@57 20 ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
michael@57 21 ## SUCH DAMAGE.
michael@57 22 ##
michael@57 23
michael@57 24 # versions of individual parts
michael@372 25 %define V_perl 5.14
michael@57 26 %define V_unix_syslog 1.1
michael@372 27 %define V_archive_tar 1.78
michael@372 28 %define V_archive_zip 1.31_03
michael@372 29 %define V_archive_cpio 0.09
michael@57 30 %define V_expect 1.21
michael@372 31 %define V_storable 2.30
michael@158 32 %define V_ipc_sharelite 0.17
michael@57 33 %define V_ipc_shareable 0.60
michael@57 34 %define V_ipc_sharedcache 1.3
michael@372 35 %define V_ipc_run 0.90_03
michael@372 36 %define V_ipc_run3 0.044
michael@57 37 %define V_ipc_signal 1.00
michael@372 38 %define V_ipc_filter 0.004
michael@57 39 %define V_file_tail 0.99.3
michael@372 40 %define V_file_temp 0.22
michael@372 41 %define V_file_remove 1.50
michael@57 42 %define V_file_rename 0.05
michael@372 43 %define V_freezethaw 0.5001
michael@372 44 %define V_authen_sasl 2.15
michael@57 45 %define V_authen_pam 0.16
michael@57 46 %define V_weakref 0.01
michael@57 47 %define V_filehandle_deluxe 0.92
michael@372 48 %define V_filehandle_rollback 1.06
michael@372 49 %define V_filehandle_unget 0.1623
michael@57 50 %define V_spiffy 0.30
michael@372 51 %define V_io 1.25
michael@372 52 %define V_io_all 0.41
michael@57 53 %define V_io_multiplex 1.10
michael@372 54 %define V_io_interface 1.06
michael@57 55 %define V_io_util 1.5
michael@57 56 %define V_io_mux 0.08
michael@57 57 %define V_boulder 1.30
michael@372 58 %define V_error 0.17016
michael@57 59 %define V_file_fnmatch 0.02
michael@372 60 %define V_user 1.9
michael@372 61 %define V_file_rsync 0.43
michael@372 62 %define V_storable_amf 1.00
michael@372 63 %define V_file_next 1.06
michael@57 64
michael@57 65 # package information
michael@57 66 Name: perl-sys
michael@57 67 Summary: Perl Modules for use with the system
michael@57 68 URL: http://www.cpan.org/
michael@57 69 Vendor: Perl Community
michael@57 70 Packager: OpenPKG Foundation e.V.
michael@57 71 Distribution: OpenPKG Community
michael@57 72 Class: BASE
michael@57 73 Group: Perl
michael@57 74 License: GPL/Artistic
michael@57 75 Version: %{V_perl}
michael@372 76 Release: 20110914
michael@57 77
michael@57 78 # package options
michael@57 79 %option with_pam no
michael@57 80
michael@57 81 # list of sources
michael@372 82 Source0: http://www.cpan.org/authors/id/M/MH/MHARNISCH/Unix-Syslog-%{V_unix_syslog}.tar.gz
michael@372 83 Source1: http://www.cpan.org/authors/id/B/BI/BINGOS/Archive-Tar-%{V_archive_tar}.tar.gz
michael@372 84 Source2: http://www.cpan.org/authors/id/A/AD/ADAMK/Archive-Zip-%{V_archive_zip}.tar.gz
michael@372 85 Source3: http://www.cpan.org/authors/id/R/RG/RGIERSIG/Expect-%{V_expect}.tar.gz
michael@372 86 Source4: http://www.cpan.org/authors/id/A/AM/AMS/Storable-%{V_storable}.tar.gz
michael@372 87 Source5: http://www.cpan.org/authors/id/B/BS/BSUGARS/IPC-Shareable-%{V_ipc_shareable}.tar.gz
michael@372 88 Source6: http://www.cpan.org/authors/id/M/MG/MGRABNAR/File-Tail-%{V_file_tail}.tar.gz
michael@57 89 Source7: http://www.cpan.org/modules/by-module/FreezeThaw/FreezeThaw-%{V_freezethaw}.tar.gz
michael@372 90 Source8: http://www.cpan.org/authors/id/G/GB/GBARR/Authen-SASL-%{V_authen_sasl}.tar.gz
michael@57 91 Source9: http://www.cpan.org/authors/id/L/LU/LUKKA/WeakRef-%{V_weakref}.tar.gz
michael@57 92 Source10: http://www.cpan.org/modules/by-module/FileHandle/FileHandle-Deluxe-%{V_filehandle_deluxe}.tar.gz
michael@372 93 Source11: http://www.cpan.org/modules/by-module/FileHandle/FileHandle-Rollback-%{V_filehandle_rollback}.tar.gz
michael@372 94 Source12: http://www.cpan.org/authors/id/D/DC/DCOPPIT/FileHandle-Unget-%{V_filehandle_unget}.tar.gz
michael@372 95 Source13: http://www.cpan.org/authors/id/A/AN/ANDYA/IPC-ShareLite-%{V_ipc_sharelite}.tar.gz
michael@372 96 Source14: http://www.cpan.org/authors/id/S/SA/SAMTREGAR/IPC-SharedCache-%{V_ipc_sharedcache}.tar.gz
michael@372 97 Source15: http://www.cpan.org/authors/id/T/TO/TODDR/IPC-Run-%{V_ipc_run}.tar.gz
michael@372 98 Source16: http://www.cpan.org/authors/id/R/RO/ROSCH/IPC-Signal-%{V_ipc_signal}.tar.gz
michael@372 99 Source17: http://www.cpan.org/authors/id/Z/ZE/ZEFRAM/IPC-Filter-%{V_ipc_filter}.tar.gz
michael@372 100 Source18: http://www.cpan.org/authors/id/I/IN/INGY/Spiffy-%{V_spiffy}.tar.gz
michael@372 101 Source19: http://www.cpan.org/authors/id/G/GB/GBARR/IO-%{V_io}.tar.gz
michael@372 102 Source20: http://www.cpan.org/authors/id/I/IN/INGY/IO-All-%{V_io_all}.tar.gz
michael@372 103 Source21: http://www.cpan.org/authors/id/B/BB/BBB/IO-Multiplex-%{V_io_multiplex}.tar.gz
michael@372 104 Source22: http://www.cpan.org/authors/id/L/LD/LDS/IO-Interface-%{V_io_interface}.tar.gz
michael@372 105 Source23: http://www.cpan.org/authors/id/D/DO/DOMIZIO/IO-Util-%{V_io_util}.tar.gz
michael@372 106 Source24: http://www.cpan.org/authors/id/L/LD/LDS/Boulder-%{V_boulder}.tar.gz
michael@372 107 Source25: http://www.cpan.org/authors/id/S/SH/SHLOMIF/Error-%{V_error}.tar.gz
michael@372 108 Source26: http://www.cpan.org/authors/id/R/RJ/RJBS/IPC-Run3-%{V_ipc_run3}.tar.gz
michael@372 109 Source27: http://www.cpan.org/authors/id/P/PA/PATL/IO-Mux-%{V_io_mux}.tar.gz
michael@372 110 Source28: http://www.cpan.org/authors/id/M/MJ/MJP/File-FnMatch-%{V_file_fnmatch}.tar.gz
michael@372 111 Source29: http://www.cpan.org/authors/id/N/NI/NIKIP/Authen-PAM-%{V_authen_pam}.tar.gz
michael@372 112 Source30: http://www.cpan.org/authors/id/P/PI/PIXEL/Archive-Cpio-%{V_archive_cpio}.tar.gz
michael@372 113 Source31: http://www.cpan.org/authors/id/T/TB/TBONE/User-%{V_user}.tar.gz
michael@372 114 Source32: http://www.cpan.org/authors/id/T/TJ/TJENNESS/File-Temp-%{V_file_temp}.tar.gz
michael@372 115 Source33: http://www.cpan.org/authors/id/A/AD/ADAMK/File-Remove-%{V_file_remove}.tar.gz
michael@372 116 Source34: http://www.cpan.org/authors/id/R/RM/RMBARKER/File-Rename-%{V_file_rename}.tar.gz
michael@372 117 Source35: http://www.cpan.org/authors/id/L/LE/LEAKIN/File-Rsync-%{V_file_rsync}.tar.gz
michael@372 118 Source36: http://www.cpan.org/authors/id/G/GR/GRIAN/Storable-AMF-%{V_storable_amf}.tar.gz
michael@372 119 Source37: http://www.cpan.org/authors/id/P/PE/PETDANCE/File-Next-%{V_file_next}.tar.gz
michael@57 120 Patch0: perl-sys.patch
michael@57 121
michael@57 122 # build information
michael@57 123 Prefix: %{l_prefix}
michael@57 124 BuildRoot: %{l_buildroot}
michael@372 125 BuildPreReq: OpenPKG, openpkg >= 20060823, perl >= %{V_perl}, perl-openpkg >= %{V_perl}-20040126
michael@372 126 PreReq: OpenPKG, openpkg >= 20060823, perl >= %{V_perl}
michael@372 127 BuildPreReq: perl-util, perl-time, perl-term
michael@372 128 PreReq: perl-util, perl-time, perl-term
michael@57 129 %if "%{with_pam}" == "yes"
michael@57 130 BuildPreReq: PAM
michael@57 131 PreReq: PAM
michael@57 132 %endif
michael@57 133 AutoReq: no
michael@57 134 AutoReqProv: no
michael@57 135
michael@57 136 %description
michael@57 137 Perl modules for use with the system:
michael@57 138 - Unix::Syslog (%{V_unix_syslog})
michael@57 139 - Archive::Tar (%{V_archive_tar})
michael@57 140 - Expect (%{V_expect})
michael@57 141 - Storable (%{V_storable})
michael@57 142 - IPC::ShareLite (%{V_ipc_sharelite})
michael@57 143 - IPC::Shareable (%{V_ipc_shareable})
michael@57 144 - IPC::SharedCache (%{V_ipc_sharedcache})
michael@57 145 - IPC::Run (%{V_ipc_run})
michael@57 146 - IPC::Run3 (%{V_ipc_run3})
michael@57 147 - IPC::Signal (%{V_ipc_signal})
michael@57 148 - IPC::Filter (%{V_ipc_filter})
michael@57 149 - File::Tail (%{V_file_tail})
michael@57 150 - FreezeThaw (%{V_freezethaw})
michael@57 151 - Authen::SASL (%{V_authen_sasl})
michael@57 152 - Authen::PAM (%{V_authen_pam}) [with_pam=yes]
michael@57 153 - Archive::Zip (%{V_archive_zip})
michael@57 154 - WeakRef (%{V_weakref})
michael@57 155 - FileHandle::Deluxe (%{V_filehandle_deluxe})
michael@372 156 - FileHandle::Rollback (%{V_filehandle_rollback})
michael@57 157 - FileHandle::Unget (%{V_filehandle_unget})
michael@57 158 - Spiffy (%{V_spiffy})
michael@57 159 - IO (%{V_io})
michael@57 160 - IO::All (%{V_io_all})
michael@57 161 - IO::Multiplex (%{V_io_multiplex})
michael@57 162 - IO::Interface (%{V_io_interface})
michael@57 163 - IO::Util (%{V_io_util})
michael@57 164 - IO::Mux (%{V_io_mux})
michael@57 165 - Boulder (%{V_boulder})
michael@57 166 - Error (%{V_error})
michael@57 167 - File::FnMatch (%{V_file_fnmatch})
michael@57 168 - Archive::Cpio (%{V_archive_cpio})
michael@57 169 - User (%{V_user})
michael@57 170 - File::Temp (%{V_file_temp})
michael@57 171 - File::Remove (%{V_file_remove})
michael@57 172 - File::Rename (%{V_file_rename})
michael@57 173 - File::Rsync (%{V_file_rsync})
michael@158 174 - Storable::AMF (%{V_storable_amf})
michael@372 175 - File::Next (%{V_file_next})
michael@57 176
michael@57 177 %track
michael@57 178 prog perl-sys:Archive-Tar = {
michael@57 179 version = %{V_archive_tar}
michael@372 180 url = http://www.cpan.org/authors/id/B/BI/BINGOS/
michael@57 181 regex = Archive-Tar-(__VER__)\.tar\.gz
michael@57 182 }
michael@57 183 prog perl-sys:Archive-Zip = {
michael@57 184 version = %{V_archive_zip}
michael@372 185 url = http://www.cpan.org/authors/id/A/AD/ADAMK/
michael@57 186 regex = Archive-Zip-(__VER__)\.tar\.gz
michael@57 187 }
michael@57 188 prog perl-sys:Authen-SASL = {
michael@57 189 version = %{V_authen_sasl}
michael@372 190 url = http://www.cpan.org/authors/id/G/GB/GBARR/
michael@57 191 regex = Authen-SASL-(__VER__)\.tar\.gz
michael@57 192 }
michael@57 193 prog perl-sys:Expect = {
michael@57 194 version = %{V_expect}
michael@372 195 url = http://www.cpan.org/authors/id/R/RG/RGIERSIG/
michael@57 196 regex = Expect-(__VER__)\.tar\.gz
michael@57 197 }
michael@57 198 prog perl-sys:File-Tail = {
michael@57 199 version = %{V_file_tail}
michael@372 200 url = http://www.cpan.org/authors/id/M/MG/MGRABNAR/
michael@57 201 regex = File-Tail-(__VER__)\.tar\.gz
michael@57 202 }
michael@57 203 prog perl-sys:FileHandle-Deluxe = {
michael@57 204 version = %{V_filehandle_deluxe}
michael@57 205 url = http://www.cpan.org/modules/by-module/FileHandle/
michael@57 206 regex = FileHandle-Deluxe-(__VER__)\.tar\.gz
michael@57 207 }
michael@372 208 prog perl-sys:FileHandle-Rollback = {
michael@372 209 version = %{V_filehandle_rollback}
michael@372 210 url = http://www.cpan.org/modules/by-module/FileHandle/
michael@372 211 regex = FileHandle-Rollback-(__VER__)\.tar\.gz
michael@372 212 }
michael@57 213 prog perl-sys:FileHandle-Unget = {
michael@57 214 version = %{V_filehandle_unget}
michael@372 215 url = http://www.cpan.org/authors/id/D/DC/DCOPPIT/
michael@57 216 regex = FileHandle-Unget-(__VER__)\.tar\.gz
michael@57 217 }
michael@57 218 prog perl-sys:FreezeThaw = {
michael@57 219 version = %{V_freezethaw}
michael@57 220 url = http://www.cpan.org/modules/by-module/FreezeThaw/
michael@57 221 regex = FreezeThaw-(__VER__)\.tar\.gz
michael@57 222 }
michael@57 223 prog perl-sys:IPC-Shareable = {
michael@57 224 version = %{V_ipc_shareable}
michael@372 225 url = http://www.cpan.org/authors/id/B/BS/BSUGARS/
michael@57 226 regex = IPC-Shareable-(__VER__)\.tar\.gz
michael@57 227 }
michael@57 228 prog perl-sys:IPC-ShareLite = {
michael@57 229 version = %{V_ipc_sharelite}
michael@372 230 url = http://www.cpan.org/authors/id/A/AN/ANDYA/
michael@57 231 regex = IPC-ShareLite-(__VER__)\.tar\.gz
michael@57 232 }
michael@57 233 prog perl-sys:IPC-SharedCache = {
michael@57 234 version = %{V_ipc_sharedcache}
michael@372 235 url = http://www.cpan.org/authors/id/S/SA/SAMTREGAR/
michael@57 236 regex = IPC-SharedCache-(__VER__)\.tar\.gz
michael@57 237 }
michael@57 238 prog perl-sys:IPC-Run = {
michael@57 239 version = %{V_ipc_run}
michael@372 240 url = http://www.cpan.org/authors/id/T/TO/TODDR/
michael@57 241 regex = IPC-Run-(__VER__)\.tar\.gz
michael@57 242 }
michael@57 243 prog perl-sys:IPC-Run3 = {
michael@57 244 version = %{V_ipc_run3}
michael@372 245 url = http://www.cpan.org/authors/id/R/RJ/RJBS/
michael@57 246 regex = IPC-Run3-(__VER__)\.tar\.gz
michael@57 247 }
michael@57 248 prog perl-sys:IPC-Signal = {
michael@57 249 version = %{V_ipc_signal}
michael@372 250 url = http://www.cpan.org/authors/id/R/RO/ROSCH/
michael@57 251 regex = IPC-Signal-(__VER__)\.tar\.gz
michael@57 252 }
michael@57 253 prog perl-sys:IPC-Filter = {
michael@57 254 version = %{V_ipc_filter}
michael@372 255 url = http://www.cpan.org/authors/id/Z/ZE/ZEFRAM/
michael@57 256 regex = IPC-Filter-(__VER__)\.tar\.gz
michael@57 257 }
michael@57 258 prog perl-sys:Storable = {
michael@57 259 version = %{V_storable}
michael@372 260 url = http://www.cpan.org/authors/id/A/AM/AMS/
michael@57 261 regex = Storable-(__VER__)\.tar\.gz
michael@57 262 }
michael@57 263 prog perl-sys:Unix-Syslog = {
michael@57 264 version = %{V_unix_syslog}
michael@372 265 url = http://www.cpan.org/authors/id/M/MH/MHARNISCH/
michael@57 266 regex = Unix-Syslog-(__VER__)\.tar\.gz
michael@57 267 }
michael@57 268 prog perl-sys:WeakRef = {
michael@57 269 version = %{V_weakref}
michael@57 270 url = http://www.cpan.org/authors/id/L/LU/LUKKA/
michael@57 271 regex = WeakRef-(__VER__)\.tar\.gz
michael@57 272 }
michael@57 273 prog perl-sys:Spiffy = {
michael@57 274 version = %{V_spiffy}
michael@57 275 url = http://www.cpan.org/authors/id/I/IN/INGY/
michael@57 276 regex = Spiffy-(__VER__)\.tar\.gz
michael@57 277 }
michael@57 278 prog perl-sys:IO = {
michael@57 279 version = %{V_io}
michael@57 280 url = http://www.cpan.org/modules/by-module/IO/
michael@57 281 regex = \bIO-(__VER__)\.tar\.gz
michael@57 282 }
michael@57 283 prog perl-sys:IO-All = {
michael@57 284 version = %{V_io_all}
michael@372 285 url = http://www.cpan.org/authors/id/G/GB/GBARR/
michael@57 286 regex = IO-All-(__VER__)\.tar\.gz
michael@57 287 }
michael@57 288 prog perl-sys:IO-Multiplex = {
michael@57 289 version = %{V_io_multiplex}
michael@372 290 url = http://www.cpan.org/authors/id/B/BB/BBB/
michael@57 291 regex = IO-Multiplex-(__VER__)\.tar\.gz
michael@57 292 }
michael@57 293 prog perl-sys:IO-Interface = {
michael@57 294 version = %{V_io_interface}
michael@372 295 url = http://www.cpan.org/authors/id/L/LD/LDS/
michael@57 296 regex = IO-Interface-(__VER__)\.tar\.gz
michael@57 297 }
michael@57 298 prog perl-sys:IO-Util = {
michael@57 299 version = %{V_io_util}
michael@372 300 url = http://www.cpan.org/authors/id/D/DO/DOMIZIO/
michael@57 301 regex = IO-Util-(__VER__)\.tar\.gz
michael@57 302 }
michael@57 303 prog perl-sys:IO-Mux = {
michael@57 304 version = %{V_io_mux}
michael@372 305 url = http://www.cpan.org/authors/id/P/PA/PATL/
michael@57 306 regex = IO-Mux-(__VER__)\.tar\.gz
michael@57 307 }
michael@57 308 prog perl-sys:Boulder = {
michael@57 309 version = %{V_boulder}
michael@372 310 url = http://www.cpan.org/authors/id/L/LD/LDS/
michael@57 311 regex = Boulder-(__VER__)\.tar\.gz
michael@57 312 }
michael@57 313 prog perl-sys:Error = {
michael@57 314 version = %{V_error}
michael@372 315 url = http://www.cpan.org/authors/id/S/SH/SHLOMIF/
michael@57 316 regex = Error-(__VER__)\.tar\.gz
michael@57 317 }
michael@57 318 prog perl-sys:File-FnMatch = {
michael@57 319 version = %{V_file_fnmatch}
michael@372 320 url = http://www.cpan.org/authors/id/M/MJ/MJP/
michael@57 321 regex = File-FnMatch-(__VER__)\.tar\.gz
michael@57 322 }
michael@57 323 prog perl-sys:Authen-PAM = {
michael@57 324 version = %{V_authen_pam}
michael@372 325 url = http://www.cpan.org/authors/id/N/NI/NIKIP/
michael@57 326 regex = Authen-PAM-(__VER__)\.tar\.gz
michael@57 327 }
michael@57 328 prog perl-sys:Archive-Cpio = {
michael@57 329 version = %{V_archive_cpio}
michael@372 330 url = http://www.cpan.org/authors/id/P/PI/PIXEL/
michael@57 331 regex = Archive-Cpio-(__VER__)\.tar\.gz
michael@57 332 }
michael@57 333 prog perl-sys:User = {
michael@57 334 version = %{V_user}
michael@57 335 url = http://www.cpan.org/authors/id/T/TB/TBONE/
michael@57 336 regex = User-(__VER__)\.tar\.gz
michael@57 337 }
michael@57 338 prog perl-sys:File-Temp = {
michael@57 339 version = %{V_file_temp}
michael@372 340 url = http://www.cpan.org/authors/id/T/TJ/TJENNESS/
michael@57 341 regex = File-Temp-(__VER__)\.tar\.gz
michael@57 342 }
michael@57 343 prog perl-sys:File-Remove = {
michael@57 344 version = %{V_file_remove}
michael@372 345 url = http://www.cpan.org/authors/id/A/AD/ADAMK/
michael@57 346 regex = File-Remove-(__VER__)\.tar\.gz
michael@57 347 }
michael@57 348 prog perl-sys:File-Rename = {
michael@57 349 version = %{V_file_rename}
michael@372 350 url = http://www.cpan.org/authors/id/R/RM/RMBARKER/
michael@57 351 regex = File-Rename-(__VER__)\.tar\.gz
michael@57 352 }
michael@57 353 prog perl-sys:File-Rsync = {
michael@57 354 version = %{V_file_rsync}
michael@372 355 url = http://www.cpan.org/authors/id/L/LE/LEAKIN/
michael@57 356 regex = File-Rsync-(__VER__)\.tar\.gz
michael@57 357 }
michael@158 358 prog perl-sys:Storable-AMF = {
michael@158 359 version = %{V_storable_amf}
michael@372 360 url = http://www.cpan.org/authors/id/G/GR/GRIAN/
michael@158 361 regex = Storable-AMF-(__VER__)\.tar\.gz
michael@158 362 }
michael@372 363 prog perl-sys:File-Next = {
michael@372 364 version = %{V_file_next}
michael@372 365 url = http://www.cpan.org/authors/id/P/PE/PETDANCE/
michael@372 366 regex = File-Next-(__VER__)\.tar\.gz
michael@372 367 }
michael@57 368
michael@57 369 %prep
michael@57 370 %setup -q -c
michael@57 371 %setup -q -T -D -a 1
michael@57 372 %setup -q -T -D -a 2
michael@57 373 %setup -q -T -D -a 3
michael@57 374 %setup -q -T -D -a 4
michael@57 375 %setup -q -T -D -a 5
michael@57 376 %setup -q -T -D -a 6
michael@57 377 %setup -q -T -D -a 7
michael@57 378 %setup -q -T -D -a 8
michael@57 379 %setup -q -T -D -a 9
michael@57 380 %setup -q -T -D -a 10
michael@57 381 %setup -q -T -D -a 11
michael@57 382 %setup -q -T -D -a 12
michael@57 383 %setup -q -T -D -a 13
michael@57 384 %setup -q -T -D -a 14
michael@57 385 %setup -q -T -D -a 15
michael@57 386 %setup -q -T -D -a 16
michael@57 387 %setup -q -T -D -a 17
michael@57 388 %setup -q -T -D -a 18
michael@57 389 %setup -q -T -D -a 19
michael@57 390 %setup -q -T -D -a 20
michael@57 391 %setup -q -T -D -a 21
michael@57 392 %setup -q -T -D -a 22
michael@57 393 %setup -q -T -D -a 23
michael@57 394 %setup -q -T -D -a 24
michael@57 395 %setup -q -T -D -a 25
michael@57 396 %setup -q -T -D -a 26
michael@57 397 %setup -q -T -D -a 27
michael@57 398 %setup -q -T -D -a 28
michael@57 399 %setup -q -T -D -a 29
michael@57 400 %setup -q -T -D -a 30
michael@57 401 %setup -q -T -D -a 31
michael@57 402 %setup -q -T -D -a 32
michael@57 403 %setup -q -T -D -a 33
michael@57 404 %setup -q -T -D -a 34
michael@158 405 %setup -q -T -D -a 35
michael@372 406 %setup -q -T -D -a 36
michael@372 407 %setup -q -T -D -a 37
michael@57 408 %patch -p0
michael@57 409
michael@57 410 %build
michael@57 411 %{l_shtool} subst \
michael@57 412 -e 's;/usr/local/bin/rsync;%{l_prefix}/bin/rsync;' \
michael@57 413 -e 's;<STDIN>;"";' \
michael@57 414 File-Rsync-*/makepm.PL
michael@57 415
michael@57 416 %install
michael@57 417 rm -rf $RPM_BUILD_ROOT
michael@57 418 %{l_prefix}/bin/perl-openpkg prepare
michael@57 419 %{l_prefix}/bin/perl-openpkg -d %{SOURCE0} configure build install
michael@57 420 %{l_prefix}/bin/perl-openpkg -d %{SOURCE1} configure build install
michael@57 421 %{l_prefix}/bin/perl-openpkg -d %{SOURCE2} configure build install
michael@57 422 %{l_prefix}/bin/perl-openpkg -d %{SOURCE3} configure build install
michael@57 423 %{l_prefix}/bin/perl-openpkg -d %{SOURCE4} configure build install
michael@57 424 %{l_prefix}/bin/perl-openpkg -d %{SOURCE5} configure build install
michael@57 425 %{l_prefix}/bin/perl-openpkg -d %{SOURCE6} configure build install
michael@57 426 %{l_prefix}/bin/perl-openpkg -d %{SOURCE7} configure build install
michael@57 427 %{l_prefix}/bin/perl-openpkg -d %{SOURCE8} configure build install
michael@57 428 %{l_prefix}/bin/perl-openpkg -d %{SOURCE9} configure build install
michael@57 429 %{l_prefix}/bin/perl-openpkg -d %{SOURCE10} configure build install
michael@57 430 %{l_prefix}/bin/perl-openpkg -d %{SOURCE11} configure build install
michael@57 431 %{l_prefix}/bin/perl-openpkg -d %{SOURCE12} configure build install
michael@57 432 %{l_prefix}/bin/perl-openpkg -d %{SOURCE13} configure build install
michael@57 433 %{l_prefix}/bin/perl-openpkg -d %{SOURCE14} configure build install
michael@57 434 %{l_prefix}/bin/perl-openpkg -d %{SOURCE15} configure build install
michael@57 435 %{l_prefix}/bin/perl-openpkg -d %{SOURCE16} configure build install
michael@57 436 %{l_prefix}/bin/perl-openpkg -d %{SOURCE17} configure build install
michael@57 437 %{l_prefix}/bin/perl-openpkg -d %{SOURCE18} configure build install
michael@57 438 %{l_prefix}/bin/perl-openpkg -d %{SOURCE19} configure build install
michael@57 439 %{l_prefix}/bin/perl-openpkg -d %{SOURCE20} configure build install
michael@57 440 %{l_prefix}/bin/perl-openpkg -d %{SOURCE21} configure build install
michael@57 441 %{l_prefix}/bin/perl-openpkg -d %{SOURCE22} configure build install
michael@57 442 %{l_prefix}/bin/perl-openpkg -d %{SOURCE23} configure build install
michael@57 443 %{l_prefix}/bin/perl-openpkg -d %{SOURCE24} configure build install
michael@57 444 %{l_prefix}/bin/perl-openpkg -d %{SOURCE25} configure build install
michael@57 445 %{l_prefix}/bin/perl-openpkg -d %{SOURCE26} configure build install
michael@57 446 %{l_prefix}/bin/perl-openpkg -d %{SOURCE27} configure build install
michael@372 447 %{l_prefix}/bin/perl-openpkg -d %{SOURCE28} configure build install
michael@57 448 %if "%{with_pam}" == "yes"
michael@57 449 export CC="%{l_cc}"
michael@57 450 export CFLAGS="%{l_cflags} -I`%{l_rc} --query pam_incdir`"
michael@57 451 export CPPFLAGS="%{l_cppflags} -I`%{l_rc} --query pam_incdir`"
michael@57 452 export LDFLAGS="%{l_ldflags} -L`%{l_rc} --query pam_libdir`"
michael@372 453 %{l_prefix}/bin/perl-openpkg -d %{SOURCE29} configure build install
michael@58 454 %endif
michael@57 455 %{l_prefix}/bin/perl-openpkg -d %{SOURCE30} configure build install
michael@57 456 %{l_prefix}/bin/perl-openpkg -d %{SOURCE31} configure build install
michael@57 457 %{l_prefix}/bin/perl-openpkg -d %{SOURCE32} configure build install
michael@57 458 %{l_prefix}/bin/perl-openpkg -d %{SOURCE33} configure build install
michael@57 459 %{l_prefix}/bin/perl-openpkg -d %{SOURCE34} configure build install
michael@158 460 %{l_prefix}/bin/perl-openpkg -d %{SOURCE35} configure build install
michael@372 461 %{l_prefix}/bin/perl-openpkg -d %{SOURCE36} configure build install
michael@372 462 %{l_prefix}/bin/perl-openpkg -d %{SOURCE37} configure build install
michael@57 463 %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
michael@57 464 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat perl-openpkg-files`
michael@57 465
michael@57 466 %files -f files
michael@57 467
michael@57 468 %clean
michael@57 469 rm -rf $RPM_BUILD_ROOT
michael@57 470

mercurial