|
|
@@ -33,6 +33,7 @@
|
|
|
%define V_extutils_pkgconfig 1.07
|
|
|
%define V_extutils_modulemaker 0.49
|
|
|
%define V_extutils_makemaker 6.30
|
|
|
+%define V_extutils_xsbuilder 0.28
|
|
|
%define V_module_scandeps 0.75
|
|
|
%define V_module_build 0.2808
|
|
|
%define V_module_corelist 2.12
|
|
|
@@ -56,7 +57,7 @@ Class: BASE
|
|
|
Group: Perl
|
|
|
License: GPL/Artistic
|
|
|
Version: %{V_perl}
|
|
|
-Release: 20070709
|
|
|
+Release: 20070710
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://www.cpan.org/modules/by-module/ExtUtils/ExtUtils-Depends-%{V_extutils_depends}.tar.gz
|
|
|
@@ -74,6 +75,7 @@ Source11: http://www.cpan.org/modules/by-module/Module/Module-Pluggable-Orde
|
|
|
Source12: http://www.cpan.org/modules/by-module/CPAN/CPAN-%{V_cpan}.tar.gz
|
|
|
Source13: http://www.cpan.org/modules/by-module/CPAN/CPAN-WAIT-%{V_cpan_wait}.tar.gz
|
|
|
Source14: http://www.cpan.org/authors/id/J/JP/JPEACOCK/version-%{V_version}.tar.gz
|
|
|
+Source15: http://www.cpan.org/modules/by-module/ExtUtils/ExtUtils-XSBuilder-%{V_extutils_xsbuilder}.tar.gz
|
|
|
Patch0: perl-module.patch
|
|
|
|
|
|
# build information
|
|
|
@@ -90,6 +92,7 @@ AutoReqProv: no
|
|
|
- ExtUtils::PkgConfig (%{V_extutils_pkgconfig})
|
|
|
- ExtUtils::ModuleMaker (%{V_extutils_modulemaker})
|
|
|
- ExtUtils::MakeMaker (%{V_extutils_makemaker})
|
|
|
+ - ExtUtils::XSBuilder (%{V_extutils_xsbuilder})
|
|
|
- Module::ScanDeps (%{V_module_scandeps})
|
|
|
- Module::Build (%{V_module_build})
|
|
|
- Module::CoreList (%{V_module_corelist})
|
|
|
@@ -118,6 +121,11 @@ AutoReqProv: no
|
|
|
url = http://www.cpan.org/modules/by-module/ExtUtils/
|
|
|
regex = ExtUtils-ModuleMaker-(\d+\.\d\d)\.tar\.gz
|
|
|
}
|
|
|
+ prog perl-module:ExtUtils-XSBuilder = {
|
|
|
+ version = %{V_extutils_xsbuilder}
|
|
|
+ url = http://www.cpan.org/modules/by-module/ExtUtils/
|
|
|
+ regex = ExtUtils-XSBuilder-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
prog perl-module:Module-ScanDeps = {
|
|
|
version = %{V_module_scandeps}
|
|
|
url = http://www.cpan.org/modules/by-module/Module/
|
|
|
@@ -190,6 +198,7 @@ AutoReqProv: no
|
|
|
%setup -q -T -D -a 12
|
|
|
%setup -q -T -D -a 13
|
|
|
%setup -q -T -D -a 14
|
|
|
+ %setup -q -T -D -a 15
|
|
|
%patch -p0
|
|
|
|
|
|
%build
|
|
|
@@ -212,6 +221,7 @@ AutoReqProv: no
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE12} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE13} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE14} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE15} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
|
|
|
rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/{cpan,instmodsh}
|
|
|
mv $RPM_BUILD_ROOT%{l_prefix}/bin/scandeps.pl \
|