|
|
@@ -38,6 +38,8 @@
|
|
|
%define V_module_corelist 2.02
|
|
|
%define V_module_info 0.290
|
|
|
%define V_module_locate 1.7
|
|
|
+%define V_cpan 1.80
|
|
|
+%define V_cpan_wait 0.27
|
|
|
|
|
|
# package information
|
|
|
Name: perl-module
|
|
|
@@ -50,7 +52,7 @@ Class: BASE
|
|
|
Group: Language
|
|
|
License: GPL/Artistic
|
|
|
Version: %{V_perl}
|
|
|
-Release: 20051214
|
|
|
+Release: 20051225
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://www.cpan.org/modules/by-module/ExtUtils/ExtUtils-Depends-%{V_extutils_depends}.tar.gz
|
|
|
@@ -62,6 +64,8 @@ Source5: http://www.cpan.org/modules/by-module/Module/Module-Build-%{V_modu
|
|
|
Source6: http://www.cpan.org/modules/by-module/Module/Module-CoreList-%{V_module_corelist}.tar.gz
|
|
|
Source7: http://www.cpan.org/modules/by-module/Module/Module-Info-%{V_module_info}.tar.gz
|
|
|
Source8: http://www.cpan.org/modules/by-module/Module/Module-Locate-%{V_module_locate}.tar.gz
|
|
|
+Source9: http://www.cpan.org/modules/by-module/CPAN/CPAN-%{V_cpan}.tar.gz
|
|
|
+Source10: http://www.cpan.org/modules/by-module/CPAN/CPAN-WAIT-%{V_cpan_wait}.tar.gz
|
|
|
Patch0: perl-module.patch
|
|
|
|
|
|
# build information
|
|
|
@@ -83,6 +87,8 @@ AutoReqProv: no
|
|
|
- Module::CoreList (%{V_module_corelist})
|
|
|
- Module::Info (%{V_module_info})
|
|
|
- Module::Locate (%{V_module_locate})
|
|
|
+ - CPAN (%{V_cpan})
|
|
|
+ - CPAN::WAIT (%{V_cpan_wait})
|
|
|
|
|
|
%track
|
|
|
prog perl-module:ExtUtils-Depends = {
|
|
|
@@ -125,6 +131,16 @@ AutoReqProv: no
|
|
|
url = http://www.cpan.org/modules/by-module/Module/
|
|
|
regex = Module-Locate-(__VER__)\.tar\.gz
|
|
|
}
|
|
|
+ prog perl-module:CPAN = {
|
|
|
+ version = %{V_cpan}
|
|
|
+ url = http://www.cpan.org/modules/by-module/CPAN/
|
|
|
+ regex = CPAN-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
+ prog perl-module:CPAN-WAIT = {
|
|
|
+ version = %{V_cpan_wait}
|
|
|
+ url = http://www.cpan.org/modules/by-module/CPAN/
|
|
|
+ regex = CPAN-WAIT-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
|
|
|
%prep
|
|
|
%setup -q -c
|
|
|
@@ -136,6 +152,8 @@ AutoReqProv: no
|
|
|
%setup -q -T -D -a 6
|
|
|
%setup -q -T -D -a 7
|
|
|
%setup -q -T -D -a 8
|
|
|
+ %setup -q -T -D -a 9
|
|
|
+ %setup -q -T -D -a 10
|
|
|
%patch -p0
|
|
|
|
|
|
%build
|
|
|
@@ -143,15 +161,17 @@ AutoReqProv: no
|
|
|
%install
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
%{l_prefix}/bin/perl-openpkg prepare
|
|
|
- %{l_prefix}/bin/perl-openpkg -d %{SOURCE0} configure build install
|
|
|
- %{l_prefix}/bin/perl-openpkg -d %{SOURCE1} configure build install
|
|
|
- %{l_prefix}/bin/perl-openpkg -d %{SOURCE2} configure build install
|
|
|
- %{l_prefix}/bin/perl-openpkg -d %{SOURCE3} configure build install
|
|
|
- %{l_prefix}/bin/perl-openpkg -d %{SOURCE4} configure build install
|
|
|
- %{l_prefix}/bin/perl-openpkg -d %{SOURCE5} configure build install
|
|
|
- %{l_prefix}/bin/perl-openpkg -d %{SOURCE6} configure build install
|
|
|
- %{l_prefix}/bin/perl-openpkg -d %{SOURCE7} configure build install
|
|
|
- %{l_prefix}/bin/perl-openpkg -d %{SOURCE8} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE0} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE1} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE2} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE3} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE4} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE5} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE6} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE7} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE8} 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 -F perl-openpkg-files fixate cleanup
|
|
|
rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/instmodsh
|
|
|
mv $RPM_BUILD_ROOT%{l_prefix}/bin/scandeps.pl \
|