diff -r 3d7d8c68b2fc -r 442a711da911 perl-sys/perl-sys.spec --- a/perl-sys/perl-sys.spec Tue Sep 20 17:37:48 2011 +0200 +++ b/perl-sys/perl-sys.spec Wed Sep 21 13:46:39 2011 +0200 @@ -1,6 +1,6 @@ ## ## perl-sys.spec -- OpenPKG RPM Package Specification -## Copyright (c) 2000-2008 OpenPKG Foundation e.V. +## Copyright (c) 2000-2011 OpenPKG Foundation e.V. ## ## Permission to use, copy, modify, and distribute this software for ## any purpose with or without fee is hereby granted, provided that @@ -22,43 +22,45 @@ ## # versions of individual parts -%define V_perl 5.10.0 +%define V_perl 5.14 %define V_unix_syslog 1.1 -%define V_archive_tar 1.46 -%define V_archive_zip 1.26 -%define V_archive_cpio 0.07 +%define V_archive_tar 1.78 +%define V_archive_zip 1.31_03 +%define V_archive_cpio 0.09 %define V_expect 1.21 -%define V_storable 2.18 +%define V_storable 2.30 %define V_ipc_sharelite 0.17 %define V_ipc_shareable 0.60 %define V_ipc_sharedcache 1.3 -%define V_ipc_run 0.82 -%define V_ipc_run3 0.042 +%define V_ipc_run 0.90_03 +%define V_ipc_run3 0.044 %define V_ipc_signal 1.00 -%define V_ipc_filter 0.002 +%define V_ipc_filter 0.004 %define V_file_tail 0.99.3 -%define V_file_temp 0.21 -%define V_file_remove 1.42 +%define V_file_temp 0.22 +%define V_file_remove 1.50 %define V_file_rename 0.05 -%define V_freezethaw 0.45 -%define V_authen_sasl 2.12 +%define V_freezethaw 0.5001 +%define V_authen_sasl 2.15 %define V_authen_pam 0.16 %define V_weakref 0.01 %define V_filehandle_deluxe 0.92 -%define V_filehandle_unget 0.1622 +%define V_filehandle_rollback 1.06 +%define V_filehandle_unget 0.1623 %define V_spiffy 0.30 -%define V_io 1.2301 -%define V_io_all 0.39 +%define V_io 1.25 +%define V_io_all 0.41 %define V_io_multiplex 1.10 -%define V_io_interface 1.05 +%define V_io_interface 1.06 %define V_io_util 1.5 %define V_io_mux 0.08 %define V_boulder 1.30 -%define V_error 0.17015 +%define V_error 0.17016 %define V_file_fnmatch 0.02 -%define V_user 1.8 -%define V_file_rsync 0.42 -%define V_storable_amf 0.60 +%define V_user 1.9 +%define V_file_rsync 0.43 +%define V_storable_amf 1.00 +%define V_file_next 1.06 # package information Name: perl-sys @@ -71,57 +73,59 @@ Group: Perl License: GPL/Artistic Version: %{V_perl} -Release: 20090416 +Release: 20110914 # package options %option with_pam no # list of sources -Source0: http://www.cpan.org/modules/by-module/Unix/Unix-Syslog-%{V_unix_syslog}.tar.gz -Source1: http://www.cpan.org/modules/by-module/Archive/Archive-Tar-%{V_archive_tar}.tar.gz -Source2: http://www.cpan.org/modules/by-module/Archive/Archive-Zip-%{V_archive_zip}.tar.gz -Source3: http://www.cpan.org/modules/by-module/Expect/Expect-%{V_expect}.tar.gz -Source4: http://www.cpan.org/modules/by-module/Storable/Storable-%{V_storable}.tar.gz -Source5: http://www.cpan.org/modules/by-module/IPC/IPC-Shareable-%{V_ipc_shareable}.tar.gz -Source6: http://www.cpan.org/modules/by-module/File/File-Tail-%{V_file_tail}.tar.gz +Source0: http://www.cpan.org/authors/id/M/MH/MHARNISCH/Unix-Syslog-%{V_unix_syslog}.tar.gz +Source1: http://www.cpan.org/authors/id/B/BI/BINGOS/Archive-Tar-%{V_archive_tar}.tar.gz +Source2: http://www.cpan.org/authors/id/A/AD/ADAMK/Archive-Zip-%{V_archive_zip}.tar.gz +Source3: http://www.cpan.org/authors/id/R/RG/RGIERSIG/Expect-%{V_expect}.tar.gz +Source4: http://www.cpan.org/authors/id/A/AM/AMS/Storable-%{V_storable}.tar.gz +Source5: http://www.cpan.org/authors/id/B/BS/BSUGARS/IPC-Shareable-%{V_ipc_shareable}.tar.gz +Source6: http://www.cpan.org/authors/id/M/MG/MGRABNAR/File-Tail-%{V_file_tail}.tar.gz Source7: http://www.cpan.org/modules/by-module/FreezeThaw/FreezeThaw-%{V_freezethaw}.tar.gz -Source8: http://www.cpan.org/modules/by-module/Authen/Authen-SASL-%{V_authen_sasl}.tar.gz +Source8: http://www.cpan.org/authors/id/G/GB/GBARR/Authen-SASL-%{V_authen_sasl}.tar.gz Source9: http://www.cpan.org/authors/id/L/LU/LUKKA/WeakRef-%{V_weakref}.tar.gz Source10: http://www.cpan.org/modules/by-module/FileHandle/FileHandle-Deluxe-%{V_filehandle_deluxe}.tar.gz -Source11: http://www.cpan.org/modules/by-module/FileHandle/FileHandle-Unget-%{V_filehandle_unget}.tar.gz -Source12: http://www.cpan.org/modules/by-module/IPC/IPC-ShareLite-%{V_ipc_sharelite}.tar.gz -Source13: http://www.cpan.org/modules/by-module/IPC/IPC-SharedCache-%{V_ipc_sharedcache}.tar.gz -Source14: http://www.cpan.org/modules/by-module/IPC/IPC-Run-%{V_ipc_run}.tar.gz -Source15: http://www.cpan.org/modules/by-module/IPC/IPC-Signal-%{V_ipc_signal}.tar.gz -Source16: http://www.cpan.org/modules/by-module/IPC/IPC-Filter-%{V_ipc_filter}.tar.gz -Source17: http://www.cpan.org/authors/id/I/IN/INGY/Spiffy-%{V_spiffy}.tar.gz -Source18: http://www.cpan.org/modules/by-module/IO/IO-%{V_io}.tar.gz -Source19: http://www.cpan.org/modules/by-module/IO/IO-All-%{V_io_all}.tar.gz -Source20: http://www.cpan.org/modules/by-module/IO/IO-Multiplex-%{V_io_multiplex}.tar.gz -Source21: http://www.cpan.org/modules/by-module/IO/IO-Interface-%{V_io_interface}.tar.gz -Source22: http://www.cpan.org/modules/by-module/IO/IO-Util-%{V_io_util}.tar.gz -Source23: http://www.cpan.org/modules/by-module/Boulder/Boulder-%{V_boulder}.tar.gz -Source24: http://www.cpan.org/modules/by-module/Error/Error-%{V_error}.tar.gz -Source25: http://www.cpan.org/modules/by-module/IPC/IPC-Run3-%{V_ipc_run3}.tar.gz -Source26: http://www.cpan.org/modules/by-module/IO/IO-Mux-%{V_io_mux}.tar.gz -Source27: http://www.cpan.org/modules/by-module/File/File-FnMatch-%{V_file_fnmatch}.tar.gz -Source28: http://www.cpan.org/modules/by-module/Authen/Authen-PAM-%{V_authen_pam}.tar.gz -Source29: http://www.cpan.org/modules/by-module/Archive/Archive-Cpio-%{V_archive_cpio}.tar.gz -Source30: http://www.cpan.org/authors/id/T/TB/TBONE/User-%{V_user}.tar.gz -Source31: http://www.cpan.org/modules/by-module/File/File-Temp-%{V_file_temp}.tar.gz -Source32: http://www.cpan.org/modules/by-module/File/File-Remove-%{V_file_remove}.tar.gz -Source33: http://www.cpan.org/modules/by-module/File/File-Rename-%{V_file_rename}.tar.gz -Source34: http://www.cpan.org/modules/by-module/File/File-Rsync-%{V_file_rsync}.tar.gz -Source35: http://www.cpan.org/modules/by-module/Storable/Storable-AMF-%{V_storable_amf}.tar.gz +Source11: http://www.cpan.org/modules/by-module/FileHandle/FileHandle-Rollback-%{V_filehandle_rollback}.tar.gz +Source12: http://www.cpan.org/authors/id/D/DC/DCOPPIT/FileHandle-Unget-%{V_filehandle_unget}.tar.gz +Source13: http://www.cpan.org/authors/id/A/AN/ANDYA/IPC-ShareLite-%{V_ipc_sharelite}.tar.gz +Source14: http://www.cpan.org/authors/id/S/SA/SAMTREGAR/IPC-SharedCache-%{V_ipc_sharedcache}.tar.gz +Source15: http://www.cpan.org/authors/id/T/TO/TODDR/IPC-Run-%{V_ipc_run}.tar.gz +Source16: http://www.cpan.org/authors/id/R/RO/ROSCH/IPC-Signal-%{V_ipc_signal}.tar.gz +Source17: http://www.cpan.org/authors/id/Z/ZE/ZEFRAM/IPC-Filter-%{V_ipc_filter}.tar.gz +Source18: http://www.cpan.org/authors/id/I/IN/INGY/Spiffy-%{V_spiffy}.tar.gz +Source19: http://www.cpan.org/authors/id/G/GB/GBARR/IO-%{V_io}.tar.gz +Source20: http://www.cpan.org/authors/id/I/IN/INGY/IO-All-%{V_io_all}.tar.gz +Source21: http://www.cpan.org/authors/id/B/BB/BBB/IO-Multiplex-%{V_io_multiplex}.tar.gz +Source22: http://www.cpan.org/authors/id/L/LD/LDS/IO-Interface-%{V_io_interface}.tar.gz +Source23: http://www.cpan.org/authors/id/D/DO/DOMIZIO/IO-Util-%{V_io_util}.tar.gz +Source24: http://www.cpan.org/authors/id/L/LD/LDS/Boulder-%{V_boulder}.tar.gz +Source25: http://www.cpan.org/authors/id/S/SH/SHLOMIF/Error-%{V_error}.tar.gz +Source26: http://www.cpan.org/authors/id/R/RJ/RJBS/IPC-Run3-%{V_ipc_run3}.tar.gz +Source27: http://www.cpan.org/authors/id/P/PA/PATL/IO-Mux-%{V_io_mux}.tar.gz +Source28: http://www.cpan.org/authors/id/M/MJ/MJP/File-FnMatch-%{V_file_fnmatch}.tar.gz +Source29: http://www.cpan.org/authors/id/N/NI/NIKIP/Authen-PAM-%{V_authen_pam}.tar.gz +Source30: http://www.cpan.org/authors/id/P/PI/PIXEL/Archive-Cpio-%{V_archive_cpio}.tar.gz +Source31: http://www.cpan.org/authors/id/T/TB/TBONE/User-%{V_user}.tar.gz +Source32: http://www.cpan.org/authors/id/T/TJ/TJENNESS/File-Temp-%{V_file_temp}.tar.gz +Source33: http://www.cpan.org/authors/id/A/AD/ADAMK/File-Remove-%{V_file_remove}.tar.gz +Source34: http://www.cpan.org/authors/id/R/RM/RMBARKER/File-Rename-%{V_file_rename}.tar.gz +Source35: http://www.cpan.org/authors/id/L/LE/LEAKIN/File-Rsync-%{V_file_rsync}.tar.gz +Source36: http://www.cpan.org/authors/id/G/GR/GRIAN/Storable-AMF-%{V_storable_amf}.tar.gz +Source37: http://www.cpan.org/authors/id/P/PE/PETDANCE/File-Next-%{V_file_next}.tar.gz Patch0: perl-sys.patch # build information Prefix: %{l_prefix} BuildRoot: %{l_buildroot} -BuildPreReq: OpenPKG, openpkg >= 20040130, perl >= %{V_perl}, perl-openpkg >= %{V_perl}-20040126 -PreReq: OpenPKG, openpkg >= 20040130, perl >= %{V_perl} -BuildPreReq: perl-time, perl-term -PreReq: perl-time, perl-term +BuildPreReq: OpenPKG, openpkg >= 20060823, perl >= %{V_perl}, perl-openpkg >= %{V_perl}-20040126 +PreReq: OpenPKG, openpkg >= 20060823, perl >= %{V_perl} +BuildPreReq: perl-util, perl-time, perl-term +PreReq: perl-util, perl-time, perl-term %if "%{with_pam}" == "yes" BuildPreReq: PAM PreReq: PAM @@ -149,6 +153,7 @@ - Archive::Zip (%{V_archive_zip}) - WeakRef (%{V_weakref}) - FileHandle::Deluxe (%{V_filehandle_deluxe}) + - FileHandle::Rollback (%{V_filehandle_rollback}) - FileHandle::Unget (%{V_filehandle_unget}) - Spiffy (%{V_spiffy}) - IO (%{V_io}) @@ -167,31 +172,32 @@ - File::Rename (%{V_file_rename}) - File::Rsync (%{V_file_rsync}) - Storable::AMF (%{V_storable_amf}) + - File::Next (%{V_file_next}) %track prog perl-sys:Archive-Tar = { version = %{V_archive_tar} - url = http://www.cpan.org/modules/by-module/Archive/ + url = http://www.cpan.org/authors/id/B/BI/BINGOS/ regex = Archive-Tar-(__VER__)\.tar\.gz } prog perl-sys:Archive-Zip = { version = %{V_archive_zip} - url = http://www.cpan.org/modules/by-module/Archive/ + url = http://www.cpan.org/authors/id/A/AD/ADAMK/ regex = Archive-Zip-(__VER__)\.tar\.gz } prog perl-sys:Authen-SASL = { version = %{V_authen_sasl} - url = http://www.cpan.org/modules/by-module/Authen/ + url = http://www.cpan.org/authors/id/G/GB/GBARR/ regex = Authen-SASL-(__VER__)\.tar\.gz } prog perl-sys:Expect = { version = %{V_expect} - url = http://www.cpan.org/modules/by-module/Expect/ + url = http://www.cpan.org/authors/id/R/RG/RGIERSIG/ regex = Expect-(__VER__)\.tar\.gz } prog perl-sys:File-Tail = { version = %{V_file_tail} - url = http://www.cpan.org/modules/by-module/File/ + url = http://www.cpan.org/authors/id/M/MG/MGRABNAR/ regex = File-Tail-(__VER__)\.tar\.gz } prog perl-sys:FileHandle-Deluxe = { @@ -199,9 +205,14 @@ url = http://www.cpan.org/modules/by-module/FileHandle/ regex = FileHandle-Deluxe-(__VER__)\.tar\.gz } + prog perl-sys:FileHandle-Rollback = { + version = %{V_filehandle_rollback} + url = http://www.cpan.org/modules/by-module/FileHandle/ + regex = FileHandle-Rollback-(__VER__)\.tar\.gz + } prog perl-sys:FileHandle-Unget = { version = %{V_filehandle_unget} - url = http://www.cpan.org/modules/by-module/FileHandle/ + url = http://www.cpan.org/authors/id/D/DC/DCOPPIT/ regex = FileHandle-Unget-(__VER__)\.tar\.gz } prog perl-sys:FreezeThaw = { @@ -211,47 +222,47 @@ } prog perl-sys:IPC-Shareable = { version = %{V_ipc_shareable} - url = http://www.cpan.org/modules/by-module/IPC/ + url = http://www.cpan.org/authors/id/B/BS/BSUGARS/ regex = IPC-Shareable-(__VER__)\.tar\.gz } prog perl-sys:IPC-ShareLite = { version = %{V_ipc_sharelite} - url = http://www.cpan.org/modules/by-module/IPC/ + url = http://www.cpan.org/authors/id/A/AN/ANDYA/ regex = IPC-ShareLite-(__VER__)\.tar\.gz } prog perl-sys:IPC-SharedCache = { version = %{V_ipc_sharedcache} - url = http://www.cpan.org/modules/by-module/IPC/ + url = http://www.cpan.org/authors/id/S/SA/SAMTREGAR/ regex = IPC-SharedCache-(__VER__)\.tar\.gz } prog perl-sys:IPC-Run = { version = %{V_ipc_run} - url = http://www.cpan.org/modules/by-module/IPC/ + url = http://www.cpan.org/authors/id/T/TO/TODDR/ regex = IPC-Run-(__VER__)\.tar\.gz } prog perl-sys:IPC-Run3 = { version = %{V_ipc_run3} - url = http://www.cpan.org/modules/by-module/IPC/ + url = http://www.cpan.org/authors/id/R/RJ/RJBS/ regex = IPC-Run3-(__VER__)\.tar\.gz } prog perl-sys:IPC-Signal = { version = %{V_ipc_signal} - url = http://www.cpan.org/modules/by-module/IPC/ + url = http://www.cpan.org/authors/id/R/RO/ROSCH/ regex = IPC-Signal-(__VER__)\.tar\.gz } prog perl-sys:IPC-Filter = { version = %{V_ipc_filter} - url = http://www.cpan.org/modules/by-module/IPC/ + url = http://www.cpan.org/authors/id/Z/ZE/ZEFRAM/ regex = IPC-Filter-(__VER__)\.tar\.gz } prog perl-sys:Storable = { version = %{V_storable} - url = http://www.cpan.org/modules/by-module/Storable/ + url = http://www.cpan.org/authors/id/A/AM/AMS/ regex = Storable-(__VER__)\.tar\.gz } prog perl-sys:Unix-Syslog = { version = %{V_unix_syslog} - url = http://www.cpan.org/modules/by-module/Unix/ + url = http://www.cpan.org/authors/id/M/MH/MHARNISCH/ regex = Unix-Syslog-(__VER__)\.tar\.gz } prog perl-sys:WeakRef = { @@ -271,52 +282,52 @@ } prog perl-sys:IO-All = { version = %{V_io_all} - url = http://www.cpan.org/modules/by-module/IO/ + url = http://www.cpan.org/authors/id/G/GB/GBARR/ regex = IO-All-(__VER__)\.tar\.gz } prog perl-sys:IO-Multiplex = { version = %{V_io_multiplex} - url = http://www.cpan.org/modules/by-module/IO/ + url = http://www.cpan.org/authors/id/B/BB/BBB/ regex = IO-Multiplex-(__VER__)\.tar\.gz } prog perl-sys:IO-Interface = { version = %{V_io_interface} - url = http://www.cpan.org/modules/by-module/IO/ + url = http://www.cpan.org/authors/id/L/LD/LDS/ regex = IO-Interface-(__VER__)\.tar\.gz } prog perl-sys:IO-Util = { version = %{V_io_util} - url = http://www.cpan.org/modules/by-module/IO/ + url = http://www.cpan.org/authors/id/D/DO/DOMIZIO/ regex = IO-Util-(__VER__)\.tar\.gz } prog perl-sys:IO-Mux = { version = %{V_io_mux} - url = http://www.cpan.org/modules/by-module/IO/ + url = http://www.cpan.org/authors/id/P/PA/PATL/ regex = IO-Mux-(__VER__)\.tar\.gz } prog perl-sys:Boulder = { version = %{V_boulder} - url = http://www.cpan.org/modules/by-module/Boulder/ + url = http://www.cpan.org/authors/id/L/LD/LDS/ regex = Boulder-(__VER__)\.tar\.gz } prog perl-sys:Error = { version = %{V_error} - url = http://www.cpan.org/modules/by-module/Error/ + url = http://www.cpan.org/authors/id/S/SH/SHLOMIF/ regex = Error-(__VER__)\.tar\.gz } prog perl-sys:File-FnMatch = { version = %{V_file_fnmatch} - url = http://www.cpan.org/modules/by-module/File/ + url = http://www.cpan.org/authors/id/M/MJ/MJP/ regex = File-FnMatch-(__VER__)\.tar\.gz } prog perl-sys:Authen-PAM = { version = %{V_authen_pam} - url = http://www.cpan.org/modules/by-module/Authen/ + url = http://www.cpan.org/authors/id/N/NI/NIKIP/ regex = Authen-PAM-(__VER__)\.tar\.gz } prog perl-sys:Archive-Cpio = { version = %{V_archive_cpio} - url = http://www.cpan.org/modules/by-module/Archive/ + url = http://www.cpan.org/authors/id/P/PI/PIXEL/ regex = Archive-Cpio-(__VER__)\.tar\.gz } prog perl-sys:User = { @@ -326,29 +337,34 @@ } prog perl-sys:File-Temp = { version = %{V_file_temp} - url = http://www.cpan.org/modules/by-module/File/ + url = http://www.cpan.org/authors/id/T/TJ/TJENNESS/ regex = File-Temp-(__VER__)\.tar\.gz } prog perl-sys:File-Remove = { version = %{V_file_remove} - url = http://www.cpan.org/modules/by-module/File/ + url = http://www.cpan.org/authors/id/A/AD/ADAMK/ regex = File-Remove-(__VER__)\.tar\.gz } prog perl-sys:File-Rename = { version = %{V_file_rename} - url = http://www.cpan.org/modules/by-module/File/ + url = http://www.cpan.org/authors/id/R/RM/RMBARKER/ regex = File-Rename-(__VER__)\.tar\.gz } prog perl-sys:File-Rsync = { version = %{V_file_rsync} - url = http://www.cpan.org/modules/by-module/File/ + url = http://www.cpan.org/authors/id/L/LE/LEAKIN/ regex = File-Rsync-(__VER__)\.tar\.gz } prog perl-sys:Storable-AMF = { version = %{V_storable_amf} - url = http://www.cpan.org/modules/by-module/Storable/ + url = http://www.cpan.org/authors/id/G/GR/GRIAN/ regex = Storable-AMF-(__VER__)\.tar\.gz } + prog perl-sys:File-Next = { + version = %{V_file_next} + url = http://www.cpan.org/authors/id/P/PE/PETDANCE/ + regex = File-Next-(__VER__)\.tar\.gz + } %prep %setup -q -c @@ -387,6 +403,8 @@ %setup -q -T -D -a 33 %setup -q -T -D -a 34 %setup -q -T -D -a 35 + %setup -q -T -D -a 36 + %setup -q -T -D -a 37 %patch -p0 %build @@ -426,20 +444,22 @@ %{l_prefix}/bin/perl-openpkg -d %{SOURCE25} configure build install %{l_prefix}/bin/perl-openpkg -d %{SOURCE26} configure build install %{l_prefix}/bin/perl-openpkg -d %{SOURCE27} configure build install + %{l_prefix}/bin/perl-openpkg -d %{SOURCE28} configure build install %if "%{with_pam}" == "yes" export CC="%{l_cc}" export CFLAGS="%{l_cflags} -I`%{l_rc} --query pam_incdir`" export CPPFLAGS="%{l_cppflags} -I`%{l_rc} --query pam_incdir`" export LDFLAGS="%{l_ldflags} -L`%{l_rc} --query pam_libdir`" - %{l_prefix}/bin/perl-openpkg -d %{SOURCE28} configure build install + %{l_prefix}/bin/perl-openpkg -d %{SOURCE29} configure build install %endif - %{l_prefix}/bin/perl-openpkg -d %{SOURCE29} configure build install %{l_prefix}/bin/perl-openpkg -d %{SOURCE30} configure build install %{l_prefix}/bin/perl-openpkg -d %{SOURCE31} configure build install %{l_prefix}/bin/perl-openpkg -d %{SOURCE32} configure build install %{l_prefix}/bin/perl-openpkg -d %{SOURCE33} configure build install %{l_prefix}/bin/perl-openpkg -d %{SOURCE34} configure build install %{l_prefix}/bin/perl-openpkg -d %{SOURCE35} configure build install + %{l_prefix}/bin/perl-openpkg -d %{SOURCE36} configure build install + %{l_prefix}/bin/perl-openpkg -d %{SOURCE37} configure build install %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat perl-openpkg-files`