|
@@ -33,6 +33,7 @@
|
|
|
%define V_file_tail 0.98
|
|
%define V_file_tail 0.98
|
|
|
%define V_freezethaw 0.43
|
|
%define V_freezethaw 0.43
|
|
|
%define V_authen_sasl 2.06
|
|
%define V_authen_sasl 2.06
|
|
|
|
|
+%define V_weakref 0.01
|
|
|
%define V_filehandle_deluxe 0.92
|
|
%define V_filehandle_deluxe 0.92
|
|
|
%define V_filehandle_rollback 1.05
|
|
%define V_filehandle_rollback 1.05
|
|
|
%define V_filehandle_unget 0.14
|
|
%define V_filehandle_unget 0.14
|
|
@@ -47,8 +48,8 @@ Distribution: OpenPKG
|
|
|
Class: BASE
|
|
Class: BASE
|
|
|
Group: Language
|
|
Group: Language
|
|
|
License: GPL/Artistic
|
|
License: GPL/Artistic
|
|
|
-Version: 20040209
|
|
|
|
|
-Release: 20040209
|
|
|
|
|
|
|
+Version: 20040217
|
|
|
|
|
+Release: 20040217
|
|
|
|
|
|
|
|
# list of sources
|
|
# list of sources
|
|
|
Source0: http://www.cpan.org/modules/by-module/Unix/Unix-Syslog-%{V_unix_syslog}.tar.gz
|
|
Source0: http://www.cpan.org/modules/by-module/Unix/Unix-Syslog-%{V_unix_syslog}.tar.gz
|
|
@@ -60,9 +61,10 @@ Source5: http://www.cpan.org/modules/by-module/IPC/IPC-Shareable-%{V_ipc_sh
|
|
|
Source6: http://www.cpan.org/modules/by-module/File/File-Tail-%{V_file_tail}.tar.gz
|
|
Source6: http://www.cpan.org/modules/by-module/File/File-Tail-%{V_file_tail}.tar.gz
|
|
|
Source7: http://www.cpan.org/modules/by-module/FreezeThaw/FreezeThaw-%{V_freezethaw}.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/modules/by-module/Authen/Authen-SASL-%{V_authen_sasl}.tar.gz
|
|
|
-Source9: http://www.cpan.org/modules/by-module/FileHandle/FileHandle-Deluxe-%{V_filehandle_deluxe}.tar.gz
|
|
|
|
|
-Source10: http://www.cpan.org/modules/by-module/FileHandle/FileHandle-Rollback-%{V_filehandle_rollback}.tar.gz
|
|
|
|
|
-Source11: http://www.cpan.org/modules/by-module/FileHandle/FileHandle-Unget-%{V_filehandle_unget}.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-Rollback-%{V_filehandle_rollback}.tar.gz
|
|
|
|
|
+Source12: http://www.cpan.org/modules/by-module/FileHandle/FileHandle-Unget-%{V_filehandle_unget}.tar.gz
|
|
|
|
|
|
|
|
# build information
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
Prefix: %{l_prefix}
|
|
@@ -83,6 +85,7 @@ AutoReqProv: no
|
|
|
- FreezeThaw (%{V_freezethaw})
|
|
- FreezeThaw (%{V_freezethaw})
|
|
|
- Authen::SASL (%{V_authen_sasl})
|
|
- Authen::SASL (%{V_authen_sasl})
|
|
|
- Archive::Zip (%{V_archive_zip})
|
|
- Archive::Zip (%{V_archive_zip})
|
|
|
|
|
+ - WeakRef (%{V_weakref})
|
|
|
- FileHandle::Deluxe (%{V_filehandle_deluxe})
|
|
- FileHandle::Deluxe (%{V_filehandle_deluxe})
|
|
|
- FileHandle::Rollback (%{V_filehandle_rollback})
|
|
- FileHandle::Rollback (%{V_filehandle_rollback})
|
|
|
- FileHandle::Unget (%{V_filehandle_unget})
|
|
- FileHandle::Unget (%{V_filehandle_unget})
|
|
@@ -148,6 +151,11 @@ AutoReqProv: no
|
|
|
url = http://www.cpan.org/modules/by-module/Unix/
|
|
url = http://www.cpan.org/modules/by-module/Unix/
|
|
|
regex = Unix-Syslog-(__VER__)\.tar\.gz
|
|
regex = Unix-Syslog-(__VER__)\.tar\.gz
|
|
|
}
|
|
}
|
|
|
|
|
+ prog perl-sys:WeakRef = {
|
|
|
|
|
+ version = %{V_weakref}
|
|
|
|
|
+ url = http://search.cpan.org/CPAN/authors/id/L/LU/LUKKA/
|
|
|
|
|
+ regex = WeakRef-(__VER__)\.tar\.gz
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
%prep
|
|
%prep
|
|
|
%setup -q -c
|
|
%setup -q -c
|
|
@@ -162,6 +170,7 @@ AutoReqProv: no
|
|
|
%setup -q -T -D -a 9
|
|
%setup -q -T -D -a 9
|
|
|
%setup -q -T -D -a 10
|
|
%setup -q -T -D -a 10
|
|
|
%setup -q -T -D -a 11
|
|
%setup -q -T -D -a 11
|
|
|
|
|
+ %setup -q -T -D -a 12
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
|
|
|
|
|
@@ -179,6 +188,7 @@ AutoReqProv: no
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE9} configure build install
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE9} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE10} configure build install
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE10} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE11} configure build install
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE11} configure build install
|
|
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE12} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
|
|
%{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`
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat perl-openpkg-files`
|
|
|
|
|
|