Summary(zh_CN): Perl ±à³ÌÓïÑÔ¡£
Name: perl
Version: 5.8.2
-Release: 2%{?_without_threads:_nothr}%{?_without_largefiles:_nolfs}
+Release: 3%{?_without_threads:_nothr}%{?_without_largefiles:_nolfs}
Epoch: 1
License: GPL or Artistic
Group: Development/Languages/Perl
Patch3: %{name}_580-errno_h-parsing.patch
Patch4: %{name}_580-use-LD_PRELOAD-for-libperl.so.patch
Patch5: %{name}_581-soname.patch
+Patch6: %{name}-test-noproc.patch
#Patch8: %{name}_580-microperl_uconfig.patch
URL: http://www.perl.com/
# versions [4.2, 4.3-0.20030610.20.1] are not supported
%package base
Summary: Base perl components for a minimal installation
Summary(pl): Podstawowe sk³adniki potrzebne do minimalnej instalacji perla
-Group: Text/Applications
+Group: Development/Languages/Perl
Provides: perl-File-Compare = 1.1003
Provides: perl-File-Spec = 0.86
Provides: perl-File-Temp = 0.14
%patch3 -p1
%patch4 -p1
%patch5 -p1
+%patch6 -p1
#%patch8 -p1
install -m 0755 %{SOURCE2} $PWD/find-perl.prov
-Ui_db \
%{?_without_gdbm: -Ui_dbm -Ui_gdbm -Ui_ndbm} \
%{?!_without_gdbm: -Ui_dbm -Di_gdbm -Ui_ndbm} \
- -Dlibswanted="dl m c crypt %{?!_without_dbm:gdbm}" \
+ -Dlibswanted="dl m c crypt %{?!_without_gdbm:gdbm}" \
-%{?_without_threads:U}%{?!_without_threads:D}usethreads \
-%{?_without_largefiles:U}%{?!_without_largefiles:D}uselargefiles
rm -f ext/List/Util/Makefile.PL
cat <<EOF > ext/List/Util/Makefile.PL
use ExtUtils::MakeMaker;
-WriteMakefile(NAME=>"List::Util", VERSION_FROM=>"Util.pm");
+WriteMakefile(NAME=>"List::Util", VERSION_FROM=>"Util.pm", DEFINE=>"-DPERL_EXT");
EOF
%{__make} \
auto/{AI,Array,Config,Crypt,Data,Mail,Net,Schedule,Statistics,Text,WWW}
cd $RPM_BUILD_ROOT%{perl_vendorarch}
-install -d Algorithm Astro Audio Authen B BSD Bit Compress Crypt/OpenSSL \
- Data Devel Digest File IPC Inline Locale Math/BigInt Net \
- Speech/Recognizer String Sys Term Text Unicode XML \
- auto/{Astro,Audio,Authen,BSD,Bit,Compress,Crypt/OpenSSL,Data,Devel} \
- auto/{Digest,File,IPC,Inline,Locale,Math/BigInt,Net,Regexp} \
+install -d Algorithm Astro Audio Authen B BSD Bit Compress Convert \
+ Crypt/OpenSSL Data Devel Digest File IPC Inline Locale Math/BigInt \
+ Net Speech/Recognizer String Sys Term Text Unicode XML \
+ auto/{Astro,Audio,Authen,BSD,Bit,Compress,Convert,Crypt/OpenSSL,Data} \
+ auto/{Devel,Digest,File,IPC,Inline,Locale,Math/BigInt,Net,Regexp} \
auto/{Speech/Recognizer,String,Sys,Term,Text,Unicode,XML}
)