perl-sys/perl-sys.spec

changeset 75
b3a835aa617c
parent 57
b2ef87c65d24
child 158
f144dd621b72
equal deleted inserted replaced
0:d516915da518 1:dc8fd1d2a45d
43 %define V_freezethaw 0.43 43 %define V_freezethaw 0.43
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_rollback 1.06
49 %define V_filehandle_unget 0.1622 48 %define V_filehandle_unget 0.1622
50 %define V_spiffy 0.30 49 %define V_spiffy 0.30
51 %define V_io 1.2301 50 %define V_io 1.2301
52 %define V_io_all 0.39 51 %define V_io_all 0.39
53 %define V_io_multiplex 1.10 52 %define V_io_multiplex 1.10
69 Distribution: OpenPKG Community 68 Distribution: OpenPKG Community
70 Class: BASE 69 Class: BASE
71 Group: Perl 70 Group: Perl
72 License: GPL/Artistic 71 License: GPL/Artistic
73 Version: %{V_perl} 72 Version: %{V_perl}
74 Release: 20081228 73 Release: 20090106
75 74
76 # package options 75 # package options
77 %option with_pam no 76 %option with_pam no
78 77
79 # list of sources 78 # list of sources
86 Source6: http://www.cpan.org/modules/by-module/File/File-Tail-%{V_file_tail}.tar.gz 85 Source6: http://www.cpan.org/modules/by-module/File/File-Tail-%{V_file_tail}.tar.gz
87 Source7: http://www.cpan.org/modules/by-module/FreezeThaw/FreezeThaw-%{V_freezethaw}.tar.gz 86 Source7: http://www.cpan.org/modules/by-module/FreezeThaw/FreezeThaw-%{V_freezethaw}.tar.gz
88 Source8: http://www.cpan.org/modules/by-module/Authen/Authen-SASL-%{V_authen_sasl}.tar.gz 87 Source8: http://www.cpan.org/modules/by-module/Authen/Authen-SASL-%{V_authen_sasl}.tar.gz
89 Source9: http://www.cpan.org/authors/id/L/LU/LUKKA/WeakRef-%{V_weakref}.tar.gz 88 Source9: http://www.cpan.org/authors/id/L/LU/LUKKA/WeakRef-%{V_weakref}.tar.gz
90 Source10: http://www.cpan.org/modules/by-module/FileHandle/FileHandle-Deluxe-%{V_filehandle_deluxe}.tar.gz 89 Source10: http://www.cpan.org/modules/by-module/FileHandle/FileHandle-Deluxe-%{V_filehandle_deluxe}.tar.gz
91 Source11: http://www.cpan.org/modules/by-module/FileHandle/FileHandle-Rollback-%{V_filehandle_rollback}.tar.gz 90 Source11: http://www.cpan.org/modules/by-module/FileHandle/FileHandle-Unget-%{V_filehandle_unget}.tar.gz
92 Source12: http://www.cpan.org/modules/by-module/FileHandle/FileHandle-Unget-%{V_filehandle_unget}.tar.gz 91 Source12: http://www.cpan.org/modules/by-module/IPC/IPC-ShareLite-%{V_ipc_sharelite}.tar.gz
93 Source13: http://www.cpan.org/modules/by-module/IPC/IPC-ShareLite-%{V_ipc_sharelite}.tar.gz 92 Source13: http://www.cpan.org/modules/by-module/IPC/IPC-SharedCache-%{V_ipc_sharedcache}.tar.gz
94 Source14: http://www.cpan.org/modules/by-module/IPC/IPC-SharedCache-%{V_ipc_sharedcache}.tar.gz 93 Source14: http://www.cpan.org/modules/by-module/IPC/IPC-Run-%{V_ipc_run}.tar.gz
95 Source15: http://www.cpan.org/modules/by-module/IPC/IPC-Run-%{V_ipc_run}.tar.gz 94 Source15: http://www.cpan.org/modules/by-module/IPC/IPC-Signal-%{V_ipc_signal}.tar.gz
96 Source16: http://www.cpan.org/modules/by-module/IPC/IPC-Signal-%{V_ipc_signal}.tar.gz 95 Source16: http://www.cpan.org/modules/by-module/IPC/IPC-Filter-%{V_ipc_filter}.tar.gz
97 Source17: http://www.cpan.org/modules/by-module/IPC/IPC-Filter-%{V_ipc_filter}.tar.gz 96 Source17: http://www.cpan.org/authors/id/I/IN/INGY/Spiffy-%{V_spiffy}.tar.gz
98 Source18: http://www.cpan.org/authors/id/I/IN/INGY/Spiffy-%{V_spiffy}.tar.gz 97 Source18: http://www.cpan.org/modules/by-module/IO/IO-%{V_io}.tar.gz
99 Source19: http://www.cpan.org/modules/by-module/IO/IO-%{V_io}.tar.gz 98 Source19: http://www.cpan.org/modules/by-module/IO/IO-All-%{V_io_all}.tar.gz
100 Source20: http://www.cpan.org/modules/by-module/IO/IO-All-%{V_io_all}.tar.gz 99 Source20: http://www.cpan.org/modules/by-module/IO/IO-Multiplex-%{V_io_multiplex}.tar.gz
101 Source21: http://www.cpan.org/modules/by-module/IO/IO-Multiplex-%{V_io_multiplex}.tar.gz 100 Source21: http://www.cpan.org/modules/by-module/IO/IO-Interface-%{V_io_interface}.tar.gz
102 Source22: http://www.cpan.org/modules/by-module/IO/IO-Interface-%{V_io_interface}.tar.gz 101 Source22: http://www.cpan.org/modules/by-module/IO/IO-Util-%{V_io_util}.tar.gz
103 Source23: http://www.cpan.org/modules/by-module/IO/IO-Util-%{V_io_util}.tar.gz 102 Source23: http://www.cpan.org/modules/by-module/Boulder/Boulder-%{V_boulder}.tar.gz
104 Source24: http://www.cpan.org/modules/by-module/Boulder/Boulder-%{V_boulder}.tar.gz 103 Source24: http://www.cpan.org/modules/by-module/Error/Error-%{V_error}.tar.gz
105 Source25: http://www.cpan.org/modules/by-module/Error/Error-%{V_error}.tar.gz 104 Source25: http://www.cpan.org/modules/by-module/IPC/IPC-Run3-%{V_ipc_run3}.tar.gz
106 Source26: http://www.cpan.org/modules/by-module/IPC/IPC-Run3-%{V_ipc_run3}.tar.gz 105 Source26: http://www.cpan.org/modules/by-module/IO/IO-Mux-%{V_io_mux}.tar.gz
107 Source27: http://www.cpan.org/modules/by-module/IO/IO-Mux-%{V_io_mux}.tar.gz 106 Source27: http://www.cpan.org/modules/by-module/File/File-FnMatch-%{V_file_fnmatch}.tar.gz
108 Source28: http://www.cpan.org/modules/by-module/File/File-FnMatch-%{V_file_fnmatch}.tar.gz 107 Source28: http://www.cpan.org/modules/by-module/Authen/Authen-PAM-%{V_authen_pam}.tar.gz
109 Source29: http://www.cpan.org/modules/by-module/Authen/Authen-PAM-%{V_authen_pam}.tar.gz 108 Source29: http://www.cpan.org/modules/by-module/Archive/Archive-Cpio-%{V_archive_cpio}.tar.gz
110 Source30: http://www.cpan.org/modules/by-module/Archive/Archive-Cpio-%{V_archive_cpio}.tar.gz 109 Source30: http://www.cpan.org/authors/id/T/TB/TBONE/User-%{V_user}.tar.gz
111 Source31: 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
112 Source32: 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
113 Source33: 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
114 Source34: 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
115 Source35: http://www.cpan.org/modules/by-module/File/File-Rsync-%{V_file_rsync}.tar.gz
116 Patch0: perl-sys.patch 114 Patch0: perl-sys.patch
117 115
118 # build information 116 # build information
119 Prefix: %{l_prefix} 117 Prefix: %{l_prefix}
120 BuildRoot: %{l_buildroot} 118 BuildRoot: %{l_buildroot}
147 - Authen::SASL (%{V_authen_sasl}) 145 - Authen::SASL (%{V_authen_sasl})
148 - Authen::PAM (%{V_authen_pam}) [with_pam=yes] 146 - Authen::PAM (%{V_authen_pam}) [with_pam=yes]
149 - Archive::Zip (%{V_archive_zip}) 147 - Archive::Zip (%{V_archive_zip})
150 - WeakRef (%{V_weakref}) 148 - WeakRef (%{V_weakref})
151 - FileHandle::Deluxe (%{V_filehandle_deluxe}) 149 - FileHandle::Deluxe (%{V_filehandle_deluxe})
152 - FileHandle::Rollback (%{V_filehandle_rollback})
153 - FileHandle::Unget (%{V_filehandle_unget}) 150 - FileHandle::Unget (%{V_filehandle_unget})
154 - Spiffy (%{V_spiffy}) 151 - Spiffy (%{V_spiffy})
155 - IO (%{V_io}) 152 - IO (%{V_io})
156 - IO::All (%{V_io_all}) 153 - IO::All (%{V_io_all})
157 - IO::Multiplex (%{V_io_multiplex}) 154 - IO::Multiplex (%{V_io_multiplex})
196 } 193 }
197 prog perl-sys:FileHandle-Deluxe = { 194 prog perl-sys:FileHandle-Deluxe = {
198 version = %{V_filehandle_deluxe} 195 version = %{V_filehandle_deluxe}
199 url = http://www.cpan.org/modules/by-module/FileHandle/ 196 url = http://www.cpan.org/modules/by-module/FileHandle/
200 regex = FileHandle-Deluxe-(__VER__)\.tar\.gz 197 regex = FileHandle-Deluxe-(__VER__)\.tar\.gz
201 }
202 prog perl-sys:FileHandle-Rollback = {
203 version = %{V_filehandle_rollback}
204 url = http://www.cpan.org/modules/by-module/FileHandle/
205 regex = FileHandle-Rollback-(__VER__)\.tar\.gz
206 } 198 }
207 prog perl-sys:FileHandle-Unget = { 199 prog perl-sys:FileHandle-Unget = {
208 version = %{V_filehandle_unget} 200 version = %{V_filehandle_unget}
209 url = http://www.cpan.org/modules/by-module/FileHandle/ 201 url = http://www.cpan.org/modules/by-module/FileHandle/
210 regex = FileHandle-Unget-(__VER__)\.tar\.gz 202 regex = FileHandle-Unget-(__VER__)\.tar\.gz
384 %setup -q -T -D -a 30 376 %setup -q -T -D -a 30
385 %setup -q -T -D -a 31 377 %setup -q -T -D -a 31
386 %setup -q -T -D -a 32 378 %setup -q -T -D -a 32
387 %setup -q -T -D -a 33 379 %setup -q -T -D -a 33
388 %setup -q -T -D -a 34 380 %setup -q -T -D -a 34
389 %setup -q -T -D -a 35
390 %patch -p0 381 %patch -p0
391 382
392 %build 383 %build
393 %{l_shtool} subst \ 384 %{l_shtool} subst \
394 -e 's;/usr/local/bin/rsync;%{l_prefix}/bin/rsync;' \ 385 -e 's;/usr/local/bin/rsync;%{l_prefix}/bin/rsync;' \
424 %{l_prefix}/bin/perl-openpkg -d %{SOURCE23} configure build install 415 %{l_prefix}/bin/perl-openpkg -d %{SOURCE23} configure build install
425 %{l_prefix}/bin/perl-openpkg -d %{SOURCE24} configure build install 416 %{l_prefix}/bin/perl-openpkg -d %{SOURCE24} configure build install
426 %{l_prefix}/bin/perl-openpkg -d %{SOURCE25} configure build install 417 %{l_prefix}/bin/perl-openpkg -d %{SOURCE25} configure build install
427 %{l_prefix}/bin/perl-openpkg -d %{SOURCE26} configure build install 418 %{l_prefix}/bin/perl-openpkg -d %{SOURCE26} configure build install
428 %{l_prefix}/bin/perl-openpkg -d %{SOURCE27} configure build install 419 %{l_prefix}/bin/perl-openpkg -d %{SOURCE27} configure build install
429 %{l_prefix}/bin/perl-openpkg -d %{SOURCE28} configure build install
430 %if "%{with_pam}" == "yes" 420 %if "%{with_pam}" == "yes"
431 export CC="%{l_cc}" 421 export CC="%{l_cc}"
432 export CFLAGS="%{l_cflags} -I`%{l_rc} --query pam_incdir`" 422 export CFLAGS="%{l_cflags} -I`%{l_rc} --query pam_incdir`"
433 export CPPFLAGS="%{l_cppflags} -I`%{l_rc} --query pam_incdir`" 423 export CPPFLAGS="%{l_cppflags} -I`%{l_rc} --query pam_incdir`"
434 export LDFLAGS="%{l_ldflags} -L`%{l_rc} --query pam_libdir`" 424 export LDFLAGS="%{l_ldflags} -L`%{l_rc} --query pam_libdir`"
425 %{l_prefix}/bin/perl-openpkg -d %{SOURCE28} configure build install
426 %endif
435 %{l_prefix}/bin/perl-openpkg -d %{SOURCE29} configure build install 427 %{l_prefix}/bin/perl-openpkg -d %{SOURCE29} configure build install
436 %endif
437 %{l_prefix}/bin/perl-openpkg -d %{SOURCE30} configure build install 428 %{l_prefix}/bin/perl-openpkg -d %{SOURCE30} configure build install
438 %{l_prefix}/bin/perl-openpkg -d %{SOURCE31} configure build install 429 %{l_prefix}/bin/perl-openpkg -d %{SOURCE31} configure build install
439 %{l_prefix}/bin/perl-openpkg -d %{SOURCE32} configure build install 430 %{l_prefix}/bin/perl-openpkg -d %{SOURCE32} configure build install
440 %{l_prefix}/bin/perl-openpkg -d %{SOURCE33} configure build install 431 %{l_prefix}/bin/perl-openpkg -d %{SOURCE33} configure build install
441 %{l_prefix}/bin/perl-openpkg -d %{SOURCE34} configure build install 432 %{l_prefix}/bin/perl-openpkg -d %{SOURCE34} configure build install
442 %{l_prefix}/bin/perl-openpkg -d %{SOURCE35} configure build install
443 %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup 433 %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
444 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat perl-openpkg-files` 434 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat perl-openpkg-files`
445 435
446 %files -f files 436 %files -f files
447 437

mercurial