22 ## |
22 ## |
23 |
23 |
24 # versions of individual parts |
24 # versions of individual parts |
25 %define V_perl 5.10.0 |
25 %define V_perl 5.10.0 |
26 %define V_unix_syslog 1.1 |
26 %define V_unix_syslog 1.1 |
27 %define V_archive_tar 1.42 |
27 %define V_archive_tar 1.46 |
28 %define V_archive_zip 1.26 |
28 %define V_archive_zip 1.26 |
29 %define V_archive_cpio 0.07 |
29 %define V_archive_cpio 0.07 |
30 %define V_expect 1.21 |
30 %define V_expect 1.21 |
31 %define V_storable 2.18 |
31 %define V_storable 2.18 |
32 %define V_ipc_sharelite 0.13 |
32 %define V_ipc_sharelite 0.17 |
33 %define V_ipc_shareable 0.60 |
33 %define V_ipc_shareable 0.60 |
34 %define V_ipc_sharedcache 1.3 |
34 %define V_ipc_sharedcache 1.3 |
35 %define V_ipc_run 0.82 |
35 %define V_ipc_run 0.82 |
36 %define V_ipc_run3 0.042 |
36 %define V_ipc_run3 0.042 |
37 %define V_ipc_signal 1.00 |
37 %define V_ipc_signal 1.00 |
38 %define V_ipc_filter 0.002 |
38 %define V_ipc_filter 0.002 |
39 %define V_file_tail 0.99.3 |
39 %define V_file_tail 0.99.3 |
40 %define V_file_temp 0.21 |
40 %define V_file_temp 0.21 |
41 %define V_file_remove 1.42 |
41 %define V_file_remove 1.42 |
42 %define V_file_rename 0.05 |
42 %define V_file_rename 0.05 |
43 %define V_freezethaw 0.43 |
43 %define V_freezethaw 0.45 |
44 %define V_authen_sasl 2.12 |
44 %define V_authen_sasl 2.12 |
45 %define V_authen_pam 0.16 |
45 %define V_authen_pam 0.16 |
46 %define V_weakref 0.01 |
46 %define V_weakref 0.01 |
47 %define V_filehandle_deluxe 0.92 |
47 %define V_filehandle_deluxe 0.92 |
48 %define V_filehandle_unget 0.1622 |
48 %define V_filehandle_unget 0.1622 |
56 %define V_boulder 1.30 |
56 %define V_boulder 1.30 |
57 %define V_error 0.17015 |
57 %define V_error 0.17015 |
58 %define V_file_fnmatch 0.02 |
58 %define V_file_fnmatch 0.02 |
59 %define V_user 1.8 |
59 %define V_user 1.8 |
60 %define V_file_rsync 0.42 |
60 %define V_file_rsync 0.42 |
|
61 %define V_storable_amf 0.60 |
61 |
62 |
62 # package information |
63 # package information |
63 Name: perl-sys |
64 Name: perl-sys |
64 Summary: Perl Modules for use with the system |
65 Summary: Perl Modules for use with the system |
65 URL: http://www.cpan.org/ |
66 URL: http://www.cpan.org/ |
109 Source30: http://www.cpan.org/authors/id/T/TB/TBONE/User-%{V_user}.tar.gz |
110 Source30: http://www.cpan.org/authors/id/T/TB/TBONE/User-%{V_user}.tar.gz |
110 Source31: http://www.cpan.org/modules/by-module/File/File-Temp-%{V_file_temp}.tar.gz |
111 Source31: http://www.cpan.org/modules/by-module/File/File-Temp-%{V_file_temp}.tar.gz |
111 Source32: http://www.cpan.org/modules/by-module/File/File-Remove-%{V_file_remove}.tar.gz |
112 Source32: http://www.cpan.org/modules/by-module/File/File-Remove-%{V_file_remove}.tar.gz |
112 Source33: http://www.cpan.org/modules/by-module/File/File-Rename-%{V_file_rename}.tar.gz |
113 Source33: http://www.cpan.org/modules/by-module/File/File-Rename-%{V_file_rename}.tar.gz |
113 Source34: http://www.cpan.org/modules/by-module/File/File-Rsync-%{V_file_rsync}.tar.gz |
114 Source34: http://www.cpan.org/modules/by-module/File/File-Rsync-%{V_file_rsync}.tar.gz |
|
115 Source35: http://www.cpan.org/modules/by-module/Storable/Storable-AMF-%{V_storable_amf}.tar.gz |
114 Patch0: perl-sys.patch |
116 Patch0: perl-sys.patch |
115 |
117 |
116 # build information |
118 # build information |
117 Prefix: %{l_prefix} |
119 Prefix: %{l_prefix} |
118 BuildRoot: %{l_buildroot} |
120 BuildRoot: %{l_buildroot} |
162 - User (%{V_user}) |
164 - User (%{V_user}) |
163 - File::Temp (%{V_file_temp}) |
165 - File::Temp (%{V_file_temp}) |
164 - File::Remove (%{V_file_remove}) |
166 - File::Remove (%{V_file_remove}) |
165 - File::Rename (%{V_file_rename}) |
167 - File::Rename (%{V_file_rename}) |
166 - File::Rsync (%{V_file_rsync}) |
168 - File::Rsync (%{V_file_rsync}) |
|
169 - Storable::AMF (%{V_storable_amf}) |
167 |
170 |
168 %track |
171 %track |
169 prog perl-sys:Archive-Tar = { |
172 prog perl-sys:Archive-Tar = { |
170 version = %{V_archive_tar} |
173 version = %{V_archive_tar} |
171 url = http://www.cpan.org/modules/by-module/Archive/ |
174 url = http://www.cpan.org/modules/by-module/Archive/ |
338 } |
341 } |
339 prog perl-sys:File-Rsync = { |
342 prog perl-sys:File-Rsync = { |
340 version = %{V_file_rsync} |
343 version = %{V_file_rsync} |
341 url = http://www.cpan.org/modules/by-module/File/ |
344 url = http://www.cpan.org/modules/by-module/File/ |
342 regex = File-Rsync-(__VER__)\.tar\.gz |
345 regex = File-Rsync-(__VER__)\.tar\.gz |
|
346 } |
|
347 prog perl-sys:Storable-AMF = { |
|
348 version = %{V_storable_amf} |
|
349 url = http://www.cpan.org/modules/by-module/Storable/ |
|
350 regex = Storable-AMF-(__VER__)\.tar\.gz |
343 } |
351 } |
344 |
352 |
345 %prep |
353 %prep |
346 %setup -q -c |
354 %setup -q -c |
347 %setup -q -T -D -a 1 |
355 %setup -q -T -D -a 1 |
376 %setup -q -T -D -a 30 |
384 %setup -q -T -D -a 30 |
377 %setup -q -T -D -a 31 |
385 %setup -q -T -D -a 31 |
378 %setup -q -T -D -a 32 |
386 %setup -q -T -D -a 32 |
379 %setup -q -T -D -a 33 |
387 %setup -q -T -D -a 33 |
380 %setup -q -T -D -a 34 |
388 %setup -q -T -D -a 34 |
|
389 %setup -q -T -D -a 35 |
381 %patch -p0 |
390 %patch -p0 |
382 |
391 |
383 %build |
392 %build |
384 %{l_shtool} subst \ |
393 %{l_shtool} subst \ |
385 -e 's;/usr/local/bin/rsync;%{l_prefix}/bin/rsync;' \ |
394 -e 's;/usr/local/bin/rsync;%{l_prefix}/bin/rsync;' \ |
428 %{l_prefix}/bin/perl-openpkg -d %{SOURCE30} configure build install |
437 %{l_prefix}/bin/perl-openpkg -d %{SOURCE30} configure build install |
429 %{l_prefix}/bin/perl-openpkg -d %{SOURCE31} configure build install |
438 %{l_prefix}/bin/perl-openpkg -d %{SOURCE31} configure build install |
430 %{l_prefix}/bin/perl-openpkg -d %{SOURCE32} configure build install |
439 %{l_prefix}/bin/perl-openpkg -d %{SOURCE32} configure build install |
431 %{l_prefix}/bin/perl-openpkg -d %{SOURCE33} configure build install |
440 %{l_prefix}/bin/perl-openpkg -d %{SOURCE33} configure build install |
432 %{l_prefix}/bin/perl-openpkg -d %{SOURCE34} configure build install |
441 %{l_prefix}/bin/perl-openpkg -d %{SOURCE34} configure build install |
|
442 %{l_prefix}/bin/perl-openpkg -d %{SOURCE35} configure build install |
433 %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup |
443 %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup |
434 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat perl-openpkg-files` |
444 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat perl-openpkg-files` |
435 |
445 |
436 %files -f files |
446 %files -f files |
437 |
447 |