diff --git a/_attribute b/_attribute new file mode 100644 index 0000000..4e6bcdc --- /dev/null +++ b/_attribute @@ -0,0 +1,5 @@ + + + ff3d96203c6302aa6b6b3ccacc5adb56 + + \ No newline at end of file diff --git a/_meta b/_meta new file mode 100644 index 0000000..a35f68c --- /dev/null +++ b/_meta @@ -0,0 +1,18 @@ + + The Perl programming language + Perl is a high-level programming language with roots in C, sed, awk +and shell scripting. Perl is good at handling processes and files, +and is especially good at handling text. Perl's hallmarks are +practicality and efficiency. While it is used to do a lot of +different things, Perl's most common applications are system +administration utilities and web programming. A large proportion of +the CGI scripts on the web are written in Perl. You need the perl +package installed on your system so that your system can handle Perl +scripts. + +Install this package if you want to program in Perl or enable your +system to handle Perl scripts. + + + http://www.perl.org/ + \ No newline at end of file diff --git a/macros.perl b/macros.perl new file mode 100644 index 0000000..99cb7a7 --- /dev/null +++ b/macros.perl @@ -0,0 +1,150 @@ +# Sensible Perl-specific RPM build macros. +# +# Note that these depend on the generic filtering system being in place in +# rpm core; but won't cause a build to fail if they're not present. +# +# Chris Weyl 2009 + +# This macro unsets several common vars used to control how Makefile.PL (et +# al) build and install packages. We also set a couple to help some of the +# common systems be less interactive. This was blatantly stolen from +# cpanminus, and helps building rpms locally when one makes extensive use of +# local::lib, etc. +# +# Usage, in %build, before "%{__perl} Makefile.PL ..." +# +# %{?perl_ext_env_unset} + +%perl_ext_env_unset %{expand: +unset PERL_MM_OPT MODULEBUILDRC PERL5INC +export PERL_AUTOINSTALL="--defaultdeps" +export PERL_MM_USE_DEFAULT=1 +} + +############################################################################# +# Filtering macro incantations + +# keep track of what "revision" of the filtering we're at. Each time we +# change the filter we should increment this. + +%perl_default_filter_revision 2 + +# By default, for perl packages we want to filter all files in _docdir from +# req/prov scanning, as well as filtering out any provides caused by private +# libs in vendorarch/archlib (vendor/core). +# +# Note that this must be invoked in the spec file, preferably as +# "%{?perl_default_filter}", before any %description block. + +%perl_default_filter %{?filter_setup: %{expand: \ +%filter_provides_in %{perl_vendorarch}/.*\\.so$ \ +%filter_provides_in -P %{perl_archlib}/(?!CORE/libperl).*\\.so$ \ +%filter_from_provides /perl(UNIVERSAL)/d; /perl(DB)/d \ +%filter_provides_in %{_docdir} \ +%filter_requires_in %{_docdir} \ +%filter_setup \ +}} + +############################################################################# +# Macros to assist with generating a "-tests" subpackage in a semi-automatic +# manner. +# +# The following macros are still in a highly experimental stage and users +# should be aware that the interface and behaviour may change. +# +# PLEASE, PLEASE CONDITIONALIZE THESE MACROS IF YOU USE THEM. +# +# See http://gist.github.com/284409 + +# These macros should be invoked as above, right before the first %description +# section, and conditionalized. e.g., for the common case where all our tests +# are located under t/, the correct usage is: +# +# %{?perl_default_subpackage_tests} +# +# If custom files/directories need to be specified, this can be done as such: +# +# %{?perl_subpackage_tests:%perl_subpackage_tests t/ one/ three.sql} +# +# etc, etc. + +%perl_version %(eval "`%{__perl} -V:version`"; echo $version) +%perl_testdir %{_libexecdir}/perl5-tests +%cpan_dist_name %(eval echo %{name} | %{__sed} -e 's/^perl-//') + +# easily mark something as required by -tests and BR to the main package +%tests_req() %{expand:\ +BuildRequires: %*\ +%%tests_subpackage_requires %*\ +} + +# fixup (and create if needed) the shbang lines in tests, so they work and +# rpmlint doesn't (correctly) have a fit +%fix_shbang_line() \ +TMPHEAD=`mktemp`\ +TMPBODY=`mktemp`\ +for file in %* ; do \ + head -1 $file > $TMPHEAD\ + tail -n +2 $file > $TMPBODY\ + %{__perl} -pi -e '$f = /^#!/ ? "" : "#!%{__perl}$/"; $_="$f$_"' $TMPHEAD\ + cat $TMPHEAD $TMPBODY > $file\ +done\ +%{__perl} -MExtUtils::MakeMaker -e "ExtUtils::MM_Unix->fixin(qw{%*})"\ +%{__rm} $TMPHEAD $TMPBODY\ +%{nil} + +# additional -tests subpackage requires, if any +%tests_subpackage_requires() %{expand: \ +%global __tests_spkg_req %{?__tests_spkg_req} %* \ +} + +# additional -tests subpackage provides, if any +%tests_subpackage_provides() %{expand: \ +%global __tests_spkg_prov %{?__tests_spkg_prov} %* \ +} + +# +# Runs after the body of %check completes. +# + +%__perl_check_pre %{expand: \ +%{?__spec_check_pre} \ +pushd %{buildsubdir} \ +%define perl_br_testdir %{buildroot}%{perl_testdir}/%{cpan_dist_name} \ +%{__mkdir_p} %{perl_br_testdir} \ +%{__tar} -cf - %{__perl_test_dirs} | ( cd %{perl_br_testdir} && %{__tar} -xf - ) \ +find . -maxdepth 1 -type f -name '*META*' -exec %{__cp} -vp {} %{perl_br_testdir} ';' \ +find %{perl_br_testdir} -type f -exec %{__chmod} -c -x {} ';' \ +T_FILES=`find %{perl_br_testdir} -type f -name '*.t'` \ +%fix_shbang_line $T_FILES \ +%{__chmod} +x $T_FILES \ +%{_fixperms} %{perl_br_testdir} \ +popd \ +} + +# +# The actual invoked macro +# + +%perl_subpackage_tests() %{expand: \ +%global __perl_package 1\ +%global __perl_test_dirs %* \ +%global __spec_check_pre %{expand:%{__perl_check_pre}} \ +%package tests\ +Summary: Test suite for package %{name}\ +Group: Development/Debug\ +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}\ +Requires: /usr/bin/prove \ +%{?__tests_spkg_req:Requires: %__tests_spkg_req}\ +%{?__tests_spkg_prov:Provides: %__tests_spkg_prov}\ +AutoReqProv: 0 \ +%description tests\ +This package provides the test suite for package %{name}.\ +%files tests\ +%defattr(-,root,root,-)\ +%{perl_testdir}\ +} + +# shortcut sugar +%perl_default_subpackage_tests %perl_subpackage_tests t/ + diff --git a/perl-5.10.0-USE_MM_LD_RUN_PATH.patch b/perl-5.10.0-USE_MM_LD_RUN_PATH.patch new file mode 100644 index 0000000..5b1ef76 --- /dev/null +++ b/perl-5.10.0-USE_MM_LD_RUN_PATH.patch @@ -0,0 +1,109 @@ +diff -up perl-5.12.0/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist.pm.runpath perl-5.12.0/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist.pm +--- perl-5.12.0/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist.pm.runpath 2010-01-18 19:52:49.000000000 +0100 ++++ perl-5.12.0/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist.pm 2010-04-13 15:56:55.859789425 +0200 +@@ -88,6 +88,11 @@ libraries. LD_RUN_PATH is a colon separ + in LDLOADLIBS. It is passed as an environment variable to the process + that links the shared library. + ++Fedora extension: This generation of LD_RUN_PATH is disabled by default. ++To use the generated LD_RUN_PATH for all links, set the USE_MM_LD_RUN_PATH ++MakeMaker object attribute / argument, (or set the $USE_MM_LD_RUN_PATH ++environment variable). ++ + =head2 BSLOADLIBS + + List of those libraries that are needed but can be linked in +diff -up perl-5.12.0/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm.runpath perl-5.12.0/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm +--- perl-5.12.0/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm.runpath 2010-01-18 19:52:49.000000000 +0100 ++++ perl-5.12.0/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm 2010-04-13 16:00:32.941778159 +0200 +@@ -262,7 +262,7 @@ sub full_setup { + PERL_SRC PERM_DIR PERM_RW PERM_RWX + PL_FILES PM PM_FILTER PMLIBDIRS PMLIBPARENTDIRS POLLUTE PPM_INSTALL_EXEC + PPM_INSTALL_SCRIPT PREREQ_FATAL PREREQ_PM PREREQ_PRINT PRINT_PREREQ +- SIGN SKIP TYPEMAPS VERSION VERSION_FROM XS XSOPT XSPROTOARG ++ SIGN SKIP TYPEMAPS USE_MM_LD_RUN_PATH VERSION VERSION_FROM XS XSOPT XSPROTOARG + XS_VERSION clean depend dist dynamic_lib linkext macro realclean + tool_autosplit + +@@ -406,7 +406,27 @@ sub new { + # PRINT_PREREQ is RedHatism. + if ("@ARGV" =~ /\bPRINT_PREREQ\b/) { + $self->_PRINT_PREREQ; +- } ++ } ++ ++ # USE_MM_LD_RUN_PATH - another RedHatism to disable automatic RPATH generation ++ if ( ( ! $self->{USE_MM_LD_RUN_PATH} ) ++ &&( ("@ARGV" =~ /\bUSE_MM_LD_RUN_PATH(=([01]))?\b/) ++ ||( exists( $ENV{USE_MM_LD_RUN_PATH} ) ++ &&( $ENV{USE_MM_LD_RUN_PATH} =~ /([01])?$/ ) ++ ) ++ ) ++ ) ++ { ++ my $v = $1; ++ if( $v ) ++ { ++ $v = ($v=~/=([01])$/)[0]; ++ }else ++ { ++ $v = 1; ++ }; ++ $self->{USE_MM_LD_RUN_PATH}=$v; ++ }; + + print STDOUT "MakeMaker (v$VERSION)\n" if $Verbose; + if (-f "MANIFEST" && ! -f "Makefile"){ +@@ -2320,6 +2340,40 @@ precedence. A typemap in the current di + precedence, even if it isn't listed in TYPEMAPS. The default system + typemap has lowest precedence. + ++=item USE_MM_LD_RUN_PATH ++ ++boolean ++The Fedora perl MakeMaker distribution differs from the standard ++upstream release in that it disables use of the MakeMaker generated ++LD_RUN_PATH by default, UNLESS this attribute is specified , or the ++USE_MM_LD_RUN_PATH environment variable is set during the MakeMaker run. ++ ++The upstream MakeMaker will set the ld(1) environment variable LD_RUN_PATH ++to the concatenation of every -L ld(1) option directory in which a -l ld(1) ++option library is found, which is used as the ld(1) -rpath option if none ++is specified. This means that, if your application builds shared libraries ++and your MakeMaker application links to them, that the absolute paths of the ++libraries in the build tree will be inserted into the RPATH header of all ++MakeMaker generated binaries, and that such binaries will be unable to link ++to these libraries if they do not still reside in the build tree directories ++(unlikely) or in the system library directories (/lib or /usr/lib), regardless ++of any LD_LIBRARY_PATH setting. So if you specified -L../mylib -lmylib , and ++ your 'libmylib.so' gets installed into /some_directory_other_than_usr_lib, ++ your MakeMaker application will be unable to link to it, even if LD_LIBRARY_PATH ++is set to include /some_directory_other_than_usr_lib, because RPATH overrides ++LD_LIBRARY_PATH. ++ ++So for Fedora MakeMaker builds LD_RUN_PATH is NOT generated by default for ++every link. You can still use explicit -rpath ld options or the LD_RUN_PATH ++environment variable during the build to generate an RPATH for the binaries. ++ ++You can set the USE_MM_LD_RUN_PATH attribute to 1 on the MakeMaker command ++line or in the WriteMakefile arguments to enable generation of LD_RUN_PATH ++for every link command. ++ ++USE_MM_LD_RUN_PATH will default to 1 (LD_RUN_PATH will be used) IF the ++$USE_MM_LD_RUN_PATH environment variable is set during a MakeMaker run. ++ + =item VENDORPREFIX + + Like PERLPREFIX, but only for the vendor install locations. +diff -up perl-5.12.0/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm.runpath perl-5.12.0/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm +--- perl-5.12.0/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm.runpath 2010-01-18 19:52:49.000000000 +0100 ++++ perl-5.12.0/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm 2010-04-13 15:56:10.656775285 +0200 +@@ -944,7 +944,7 @@ $(INST_DYNAMIC): $(OBJECT) $(MYEXTLIB) $ + } + + my $ld_run_path_shell = ""; +- if ($self->{LD_RUN_PATH} ne "") { ++ if (($self->{LD_RUN_PATH} ne "") && ($self->{USE_MM_LD_RUN_PATH})) { + $ld_run_path_shell = 'LD_RUN_PATH="$(LD_RUN_PATH)" '; + } + diff --git a/perl-5.10.0-disable_test_hosts.patch b/perl-5.10.0-disable_test_hosts.patch new file mode 100644 index 0000000..dc86a34 --- /dev/null +++ b/perl-5.10.0-disable_test_hosts.patch @@ -0,0 +1,12 @@ +diff -up perl-5.12.0/cpan/libnet/Net/Config.pm.disable perl-5.12.0/cpan/libnet/Net/Config.pm +--- perl-5.12.0/cpan/libnet/Net/Config.pm.disable 2010-01-18 19:52:49.000000000 +0100 ++++ perl-5.12.0/cpan/libnet/Net/Config.pm 2010-04-13 16:03:50.090770813 +0200 +@@ -29,7 +29,7 @@ eval { local $SIG{__DIE__}; require Net: + ftp_firewall => undef, + ftp_ext_passive => 1, + ftp_int_passive => 1, +- test_hosts => 1, ++ test_hosts => 0, + test_exist => 1, + ); + diff --git a/perl-5.10.0-libresolv.patch b/perl-5.10.0-libresolv.patch new file mode 100644 index 0000000..7676bbb --- /dev/null +++ b/perl-5.10.0-libresolv.patch @@ -0,0 +1,12 @@ +diff -up perl-5.10.0/Configure.didi perl-5.10.0/Configure +--- perl-5.10.0/Configure.didi 2007-12-18 11:47:07.000000000 +0100 ++++ perl-5.10.0/Configure 2008-07-21 10:51:16.000000000 +0200 +@@ -1327,7 +1327,7 @@ libswanted_uselargefiles='' + : set usesocks on the Configure command line to enable socks. + : List of libraries we want. + : If anyone needs extra -lxxx, put those in a hint file. +-libswanted="sfio socket bind inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun" ++libswanted="sfio socket resolv inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun" + libswanted="$libswanted m crypt sec util c cposix posix ucb bsd BSD" + : We probably want to search /usr/shlib before most other libraries. + : This is only used by the lib/ExtUtils/MakeMaker.pm routine extliblist. diff --git a/perl-5.10.0-perlbug-tag.patch b/perl-5.10.0-perlbug-tag.patch new file mode 100644 index 0000000..e4b0976 --- /dev/null +++ b/perl-5.10.0-perlbug-tag.patch @@ -0,0 +1,51 @@ +--- perl-5.10.1/utils/perlbug.PL.fedora 2009-08-12 20:49:24.000000000 +0200 ++++ perl-5.10.1/utils/perlbug.PL 2009-11-18 15:56:15.000000000 +0100 +@@ -27,8 +27,6 @@ open OUT, ">$file" or die "Can't create + open PATCH_LEVEL, "<" . catfile(updir, "patchlevel.h") + or die "Can't open patchlevel.h: $!"; + +-my $patchlevel_date = (stat PATCH_LEVEL)[9]; +- + while () { + last if $_ =~ /^\s*static\s+(?:const\s+)?char.*?local_patches\[\]\s*=\s*{\s*$/; + } +@@ -71,9 +69,8 @@ $Config{startperl} + eval 'exec $Config{perlpath} -S \$0 \${1+"\$@"}' + if \$running_under_some_shell; + +-my \$config_tag1 = '$extract_version - $Config{cf_time}'; ++my \$config_tag1 = '$extract_version'; + +-my \$patchlevel_date = $patchlevel_date; + my \$patch_tags = '$patch_tags'; + my \@patches = ( + $patch_desc +@@ -333,17 +330,6 @@ sub Init { + $ok = ''; + if ($::opt_o) { + if ($::opt_o eq 'k' or $::opt_o eq 'kay') { +- my $age = time - $patchlevel_date; +- if ($::opt_o eq 'k' and $age > 60 * 24 * 60 * 60 ) { +- my $date = localtime $patchlevel_date; +- print <<"EOF"; +-"perlbug -ok" and "perlbug -nok" do not report on Perl versions which +-are more than 60 days old. This Perl version was constructed on +-$date. If you really want to report this, use +-"perlbug -okay" or "perlbug -nokay". +-EOF +- exit(); +- } + # force these options + unless ($::opt_n) { + $::opt_S = 1; # don't prompt for send +@@ -730,8 +716,8 @@ EFF + print OUT < [], + 'ph_hosts' => [], + 'inet_domain' => undef, + 'time_hosts' => [], + 'daytime_hosts' => [], + 'smtp_hosts' => [], + 'test_exist' => 1, + 'test_hosts' => 1, + 'nntp_hosts' => [], + 'ftp_testhost' => undef, + 'snpp_hosts' => [], + 'ftp_int_passive' => 1, + 'ftp_ext_passive' => 1, +} diff --git a/perl.changes b/perl.changes new file mode 100644 index 0000000..3419116 --- /dev/null +++ b/perl.changes @@ -0,0 +1,31 @@ +* Mon Aug 22 2011 Carsten Munk - 5.12.1 +- Remove autogenerated timestamps, wastes valuable build time. + Makes build-compare state 'unchanged' after two similar builds. + +* Sat May 21 2011 Anas Nashif - 5.12.1 +- Exclude non supported modules using new macros + +* Fri Nov 05 2010 Wang Quanxian - 5.12.1 +- Fix build ERROR information generated by LD_PRELOAD (bmc #7885) + +* Mon Oct 04 2010 Anas Nashif - 5.12.1 +- Do not package CPAN module into main perl package (bmc #7884) + +* Tue Jul 27 2010 Quanxian Wang - 5.12.1 +- update to 5.12.1 + +* Fri Mar 26 2010 Arjan van de Ven - 5.10.0 +- drop epoch from packaging + +* Sun Jan 10 2010 nashif - 5.10.0 +- Do not package development related information + +* Thu Dec 11 2008 Anas Nashif 5.10.0 +- Disable documentation for now, static man pages to be added + +* Sun Nov 02 2008 Anas Nashif 5.10.0 +- update patches + +* Sun Nov 02 2008 Anas Nashif 5.10.0 +- New version from fc10 + diff --git a/perl.spec b/perl.spec new file mode 100644 index 0000000..41ce8d7 --- /dev/null +++ b/perl.spec @@ -0,0 +1,1465 @@ +%define perl_version 5.12.1 +%define perl_epoch 2 +%define perl_arch_stem -thread-multi +%define perl_archname %{_arch}-%{_os}%{perl_arch_stem} + +%define multilib_64_archs x86_64 s390x ppc64 sparc64 + + +# internal filter just for this spec +# XXX: %%global expands now, archlib must be pre-defined. +%global perl_default_filter %%{?filter_setup: %%{expand: \ +%%filter_provides_in -P %%{archlib}/(?!CORE/libperl).*\\.so$ \ +%%filter_setup \ +}} + + +Name: perl +Version: %{perl_version} +Epoch: %{perl_epoch} +Release: 61 +Summary: The Perl programming language +Group: Development/Languages +# Modules Tie::File and Getopt::Long are licenced under "GPLv2+ or Artistic," +# we have to reflect that in the sub-package containing them. +License: (GPL+ or Artistic) and (GPLv2+ or Artistic) +URL: http://www.perl.org/ +Source0: http://search.cpan.org/CPAN/authors/id/R/RG/RGARCIA/perl-%{perl_version}.tar.gz +Source10: macros.perl +Source12: perl-5.8.0-libnet.cfg + +# Removes date check, Fedora/RHEL specific +Patch1: perl-5.10.0-perlbug-tag.patch + +# Fedora/RHEL only (64bit only) +Patch3: perl-5.8.0-libdir64.patch + +# Fedora/RHEL specific (use libresolv instead of libbind) +Patch4: perl-5.10.0-libresolv.patch + +# FIXME: May need the "Fedora" references removed before upstreaming +Patch5: perl-5.10.0-USE_MM_LD_RUN_PATH.patch + +# Skip hostname tests, since hostname lookup isn't available in Fedora +# buildroots by design. +Patch6: perl-5.10.0-disable_test_hosts.patch + +# Bump Sys::Syslog to 0.24 to fix test failure case +#Patch9: perl-5.10.0-SysSyslog-0.24.patch + +# The Fedora builders started randomly failing this futime test +# only on x86_64, so we just don't run it. Works fine on normal +# systems. +Patch7: perl-5.10.0-x86_64-io-test-failure.patch + +Patch8: perl-5.12.1-notimestamps.patch + +BuildRoot: %{_tmppath}/%{name}-%{perl_version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: gdbm-devel, db4-devel, zlib-devel +BuildRequires: groff + +# The long line of Perl provides. + +# These provides are needed by the perl pkg itself with auto-generated perl.req +Provides: perl(VMS::Filespec) +Provides: perl(VMS::Stdio) + +# Compat provides +Provides: perl(:MODULE_COMPAT_5.12.1) + +# Threading provides +Provides: perl(:WITH_ITHREADS) +Provides: perl(:WITH_THREADS) +# Largefile provides +Provides: perl(:WITH_LARGEFILES) +# PerlIO provides +Provides: perl(:WITH_PERLIO) +# File provides +Provides: perl(abbrev.pl) +Provides: perl(assert.pl) +Provides: perl(bigfloat.pl) +Provides: perl(bigint.pl) +Provides: perl(bigrat.pl) +Provides: perl(bytes_heavy.pl) +Provides: perl(cacheout.pl) +Provides: perl(complete.pl) +Provides: perl(ctime.pl) +Provides: perl(dotsh.pl) +Provides: perl(dumpvar.pl) +Provides: perl(exceptions.pl) +Provides: perl(fastcwd.pl) +Provides: perl(find.pl) +Provides: perl(finddepth.pl) +Provides: perl(flush.pl) +Provides: perl(ftp.pl) +Provides: perl(getcwd.pl) +Provides: perl(getopt.pl) +Provides: perl(getopts.pl) +Provides: perl(hostname.pl) +Provides: perl(importenv.pl) +Provides: perl(look.pl) +Provides: perl(newgetopt.pl) +Provides: perl(open2.pl) +Provides: perl(open3.pl) +Provides: perl(perl5db.pl) +Provides: perl(pwd.pl) +Provides: perl(shellwords.pl) +Provides: perl(stat.pl) +Provides: perl(syslog.pl) +Provides: perl(tainted.pl) +Provides: perl(termcap.pl) +Provides: perl(timelocal.pl) +Provides: perl(utf8_heavy.pl) +Provides: perl(validate.pl) +Provides: perl(Carp::Heavy) + +# Long history in 3rd-party repositories: +Provides: perl-File-Temp = 0.20 +Obsoletes: perl-File-Temp < 0.20 + +# Use new testing module perl-Test-Harness, obsolete it outside of this package +Provides: perl-TAP-Harness = 3.10 +Obsoletes: perl-TAP-Harness < 3.10 + +Requires: perl-libs = %{perl_epoch}:%{perl_version}-%{release} + +# We need this to break the dependency loop, and ensure that perl-libs +# gets installed before perl. +Requires(post): perl-libs + + +%description +Perl is a high-level programming language with roots in C, sed, awk +and shell scripting. Perl is good at handling processes and files, +and is especially good at handling text. Perl's hallmarks are +practicality and efficiency. While it is used to do a lot of +different things, Perl's most common applications are system +administration utilities and web programming. A large proportion of +the CGI scripts on the web are written in Perl. You need the perl +package installed on your system so that your system can handle Perl +scripts. + +Install this package if you want to program in Perl or enable your +system to handle Perl scripts. + +%package libs +Summary: The libraries for the perl runtime +Group: System/Libraries +License: GPL+ or Artistic +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} + +%description libs +The libraries for the perl runtime + + +%package devel +Summary: Header files for use in perl development +Group: Development/Languages +License: GPL+ or Artistic +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} + +%description devel +This package contains header files and development modules. +Most perl packages will need to install perl-devel to build. + + +%package Archive-Extract +Summary: Generic archive extracting mechanism +Group: Development/Libraries +License: GPL+ or Artistic +Version: 0.24 +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} + +%description Archive-Extract +Archive::Extract is a generic archive extraction mechanism. + + +%package Archive-Tar +Summary: A module for Perl manipulation of .tar files +Group: Development/Libraries +License: GPL+ or Artistic +Version: 1.38 +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +Requires: perl(Compress::Zlib), perl(IO::Zlib) + +%description Archive-Tar +Archive::Tar provides an object oriented mechanism for handling tar +files. It provides class methods for quick and easy files handling +while also allowing for the creation of tar file objects for custom +manipulation. If you have the IO::Zlib module installed, Archive::Tar +will also support compressed or gzipped tar files. + + +%package Compress-Raw-Zlib +Summary: Low-Level Interface to the zlib compression library +Group: System/Libraries +License: GPL+ or Artistic +Version: 2.008 +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} + +%description Compress-Raw-Zlib +This module provides a Perl interface to the zlib compression library. +It is used by IO::Compress::Zlib. + + +%package Compress-Zlib +Summary: A module providing Perl interfaces to the zlib compression library +Group: System/Libraries +License: GPL+ or Artistic +Version: 2.008 +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} + +%description Compress-Zlib +The Compress::Zlib module provides a Perl interface to the zlib +compression library. Most of the functionality provided by zlib is +available in Compress::Zlib. + +The module can be split into two general areas of functionality, +namely in-memory compression/decompression and read/write access to +gzip files. + + +%package CPAN +Summary: Query, download and build perl modules from CPAN sites +Group: Development/Languages +License: GPL+ or Artistic +Version: 1.9205 +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +Provides: cpan = %{version} + +%description CPAN +Query, download and build perl modules from CPAN sites. + + +%package CPANPLUS +Summary: API & CLI access to the CPAN mirrors +Group: Development/Libraries +License: GPL+ or Artistic +Version: 0.84 +Requires: perl(Module::Pluggable) >= 2.4 +Requires: perl(Module::CoreList) +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +Provides: perl-CPANPLUS-Dist-Build = 0.06 +Obsoletes: perl-CPANPLUS-Dist-Build <= 0.05 + +%description CPANPLUS +The CPANPLUS library is an API to the CPAN mirrors and a collection of +interactive shells, commandline programs, etc, that use this API. + + +%package Digest-SHA +Summary: Perl extension for SHA-1/224/256/384/512 +Group: System/Libraries +License: GPL+ or Artistic +Version: 5.45 +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} + +%description Digest-SHA +Digest::SHA is a complete implementation of the NIST Secure Hash +Standard. It gives Perl programmers a convenient way to calculate +SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512 message digests. The +module can handle all types of input, including partial-byte data. + + +%package ExtUtils-CBuilder +Summary: Compile and link C code for Perl modules +Group: Development/Libraries +License: GPL+ or Artistic +Version: 0.21 +Requires: perl-devel +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} + +%description ExtUtils-CBuilder +This module can build the C portions of Perl modules by invoking the +appropriate compilers and linkers in a cross-platform manner. It was +motivated by the Module::Build project, but may be useful for other +purposes as well. + + +%package ExtUtils-Embed +Summary: Utilities for embedding Perl in C/C++ applications +Group: Development/Languages +License: GPL+ or Artistic +Version: 1.27 +Requires: perl-devel +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} + +%description ExtUtils-Embed +Utilities for embedding Perl in C/C++ applications. + + +%package ExtUtils-MakeMaker +Summary: Create a module Makefile +Group: Development/Languages +License: GPL+ or Artistic +Version: 6.36 +Requires: perl-devel +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +Requires: perl(Test::Harness) + +%description ExtUtils-MakeMaker +Create a module Makefile. + + +%package ExtUtils-ParseXS +Summary: Module and a script for converting Perl XS code into C code +Group: Development/Libraries +License: GPL+ or Artistic +# It's really 2.18_02, but we drop the _02. +Version: 2.18 +Requires: perl-devel +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} + +%description ExtUtils-ParseXS +ExtUtils::ParseXS will compile XS code into C code by embedding the +constructs necessary to let C functions manipulate Perl values and +creates the glue necessary to let Perl access those functions. + + +%package File-Fetch +Summary: Generic file fetching mechanism +Group: System/Libraries +License: GPL+ or Artistic +Version: 0.14 +Requires: perl(IPC::Cmd) >= 0.36 +Requires: perl(Module::Load::Conditional) >= 0.04 +Requires: perl(Params::Check) >= 0.07 +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} + +%description File-Fetch +File::Fetch is a generic file fetching mechanism. + + +%package IO-Compress-Base +Summary: Base Class for IO::Compress modules +Group: System/Libraries +License: GPL+ or Artistic +Version: 2.008 +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} + +%description IO-Compress-Base +This module is the base class for all IO::Compress and IO::Uncompress +modules. This module is not intended for direct use in application +code. Its sole purpose is to to be sub-classed by IO::Compress +modules. + + +%package IO-Compress-Zlib +Summary: Perl interface to allow reading and writing of gzip and zip data +Group: System/Libraries +License: GPL+ or Artistic +# Really 1.23_01, but we drop the _01. +Version: 2.008 +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} + +%description IO-Compress-Zlib +This module provides an "IO::"-style Perl interface to "Compress::Zlib" + + +%package IO-Zlib +Summary: Perl IO:: style interface to Compress::Zlib +Group: System/Libraries +License: GPL+ or Artistic +Version: 1.07 +Requires: perl(Compress::Zlib) +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} + +%description IO-Zlib +This modules provides an IO:: style interface to the Compress::Zlib +package. The main advantage is that you can use an IO::Zlib object in +much the same way as an IO::File object so you can have common code +that doesn't know which sort of file it is using. + + +%package IPC-Cmd +Summary: Finding and running system commands made easy +Group: System/Libraries +License: GPL+ or Artistic +# Really 0.40_1, but we drop the _1. +Version: 0.40 +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} + +%description IPC-Cmd +IPC::Cmd allows you to run commands, interactively if desired, in a +platform independent way, but have them still work. + + +%package Locale-Maketext-Simple +Summary: Simple interface to Locale::Maketext::Lexicon +Group: Development/Libraries +License: MIT +Version: 0.18 +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} + +%description Locale-Maketext-Simple +This module is a simple wrapper around Locale::Maketext::Lexicon, designed +to alleviate the need of creating Language Classes for module authors. + + +%package Log-Message +Summary: Generic message storage mechanism +Group: System/Libraries +License: GPL+ or Artistic +Version: 0.01 +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +# Add a versioned provides, since we pull the unversioned one out. +Provides: perl(Log::Message::Handlers) = %{version} + +%description Log-Message +Log::Message is a generic message storage mechanism. It allows you to +store messages on a stack -- either shared or private -- and assign meta-data +to it. Some meta-data will automatically be added for you, like a timestamp +and a stack trace, but some can be filled in by the user, like a tag by +which to identify it or group it, and a level at which to handle the +message (for example, log it, or die with it). + + +%package Log-Message-Simple +Summary: Simplified frontend to Log::Message +Group: System/Libraries +License: GPL+ or Artistic +Version: 0.04 +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} + +%description Log-Message-Simple +This module provides standardized logging facilities using the +Log::Message module. + + +%package Module-Build +Summary: Perl module for building and installing Perl modules +Group: Development/Libraries +License: GPL+ or Artistic +# Really 0.2808_01, but we drop the _01. +Version: 0.2808 +Requires: perl(Archive::Tar) >= 1.08 +Requires: perl(ExtUtils::CBuilder) >= 0.15 +Requires: perl(ExtUtils::ParseXS) >= 1.02 +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} + +%description Module-Build +Module::Build is a system for building, testing, and installing Perl +modules. It is meant to be an alternative to ExtUtils::MakeMaker. +Developers may alter the behavior of the module through subclassing in a +much more straightforward way than with MakeMaker. It also does not +require a make on your system - most of the Module::Build code is pure-perl and +written in a very cross-platform way. In fact, you don't even need a +shell, so even platforms like MacOS (traditional) can use it fairly easily. Its +only prerequisites are modules that are included with perl 5.6.0, and it +works fine on perl 5.005 if you can install a few additional modules. + + +%package Module-CoreList +Summary: Perl core modules indexed by perl versions +Group: Development/Languages +License: GPL+ or Artistic +Version: 2.14 +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +Requires: perl(version) + +%description Module-CoreList +Module::CoreList contains the hash of hashes %Module::CoreList::version, +this is keyed on perl version as indicated in $]. The second level hash +is module => version pairs. + + +%package Module-Load +Summary: Runtime require of both modules and files +Group: Development/Libraries +License: GPL+ or Artistic +Version: 0.12 +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} + +%description Module-Load +Module::Load eliminates the need to know whether you are trying to +require either a file or a module. + + +%package Module-Load-Conditional +Summary: Looking up module information / loading at runtime +Group: Development/Libraries +License: GPL+ or Artistic +Version: 0.24 +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} + +%description Module-Load-Conditional +Module::Load::Conditional provides simple ways to query and possibly +load +any of the modules you have installed on your system during runtime. + + +%package Module-Loaded +Summary: Mark modules as loaded or unloaded +Group: Development/Libraries +License: GPL+ or Artistic +Version: 0.01 +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} + +%description Module-Loaded +When testing applications, often you find yourself needing to provide +functionality in your test environment that would usually be provided by +external modules. Rather than munging the %INC by hand to mark these +external modules as loaded, so they are not attempted to be loaded by +perl, this module offers you a very simple way to mark modules as loaded +and/or unloaded. + + +%package Module-Pluggable +Summary: Automatically give your module the ability to have plugins +Group: Development/Libraries +License: GPL+ or Artistic +Version: 3.60 +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} + +%description Module-Pluggable +Provides a simple but, hopefully, extensible way of having 'plugins' for +your module. + + +%package Object-Accessor +Summary: Perl module that allows per object accessors +Group: System/Libraries +License: GPL+ or Artistic +Version: 0.32 +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} + +%description Object-Accessor +Object::Accessor provides an interface to create per object accessors +(as opposed to per Class accessors, as, for example, Class::Accessor +provides). + + +%package Package-Constants +Summary: List all constants declared in a package +Group: System/Libraries +License: GPL+ or Artistic +Version: 0.01 +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} + +%description Package-Constants +Package::Constants lists all the constants defined in a certain package. +This can be useful for, among others, setting up an autogenerated +@EXPORT/@EXPORT_OK for a Constants.pm file. + + +%package Params-Check +Summary: Generic input parsing/checking mechanism +Group: System/Libraries +License: GPL+ or Artistic +Version: 0.26 +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} + +%description Params-Check +Params::Check is a generic input parsing/checking mechanism. + + +%package Pod-Escapes +Summary: Perl module for resolving POD escape sequences +Group: System/Libraries +License: GPL+ or Artistic +Version: 1.04 +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} + +%description Pod-Escapes +This module provides things that are useful in decoding Pod E<...> +sequences. Presumably, it should be used only by Pod parsers and/or +formatters. + + +%package Pod-Simple +Summary: Framework for parsing POD documentation +Group: Development/Libraries +License: GPL+ or Artistic +Version: 3.07 +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} + +%description Pod-Simple +Pod::Simple is a Perl library for parsing text in the Pod ("plain old +documentation") markup language that is typically used for writing +documentation for Perl and for Perl modules. + + +%package Term-UI +Summary: Term::ReadLine UI made easy +Group: System/Libraries +License: GPL+ or Artistic +Version: 0.18 +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +Requires: perl(Log::Message::Simple) + +%description Term-UI +Term::UI is a transparent way of eliminating the overhead of having to +format a question and then validate the reply, informing the user if the +answer was not proper and re-issuing the question. + + +%package Test-Harness +Summary: Run Perl standard test scripts with statistics +Group: Development/Languages +License: GPL+ or Artistic +Version: 3.12 +Requires: perl-devel +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} + +%description Test-Harness +Run Perl standard test scripts with statistics. +Use TAP::Parser, Test::Harness package was whole rewritten. + +%package Test-Simple +Summary: Basic utilities for writing tests +Group: Development/Languages +License: GPL+ or Artistic +Version: 0.80 +Requires: perl-devel +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} + +%description Test-Simple +Basic utilities for writing tests. + + +%package Time-Piece +Summary: Time objects from localtime and gmtime +Group: System/Libraries +License: GPL+ or Artistic +Version: 1.12 +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} + +%description Time-Piece +The Time::Piece module replaces the standard localtime and gmtime functions +with implementations that return objects. It does so in a backwards +compatible manner, so that using localtime or gmtime as documented in +perlfunc still behave as expected. + + +%package version +Summary: Perl extension for Version Objects +Group: Development/Libraries +License: GPL+ or Artistic +Version: 0.74 +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} + +%description version +Perl extension for Version Objects + + +%package core +Summary: Base perl metapackage +Group: Development/Languages +# This rpm doesn't contain any copyrightable material. +# Nevertheless, it needs a License tag, so we'll use the generic +# "perl" license. +License: GPL+ or Artistic +Version: %{perl_version} +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +Requires: perl-libs = %{perl_epoch}:%{perl_version}-%{release} +Requires: perl-devel = %{perl_epoch}:%{perl_version}-%{release} + +Requires: perl-Archive-Extract, perl-Archive-Tar, perl-Compress-Raw-Zlib, perl-Compress-Zlib, perl-CPAN, +Requires: perl-CPANPLUS, perl-Digest-SHA, perl-ExtUtils-CBuilder, +Requires: perl-ExtUtils-Embed, perl-ExtUtils-MakeMaker, perl-ExtUtils-ParseXS, +Requires: perl-File-Fetch, perl-IO-Compress-Base, perl-IO-Compress-Zlib, perl-IO-Zlib, +Requires: perl-IPC-Cmd, perl-Locale-Maketext-Simple, perl-Log-Message, perl-Log-Message-Simple, +Requires: perl-Module-Build, perl-Module-CoreList, perl-Module-Load, +Requires: perl-Module-Load-Conditional, perl-Module-Loaded, +Requires: perl-Module-Pluggable, perl-Object-Accessor, perl-Package-Constants, +Requires: perl-Params-Check, perl-Pod-Escapes, perl-Pod-Simple, perl-Term-UI, +Requires: perl-Test-Harness, perl-Test-Simple, perl-Time-Piece, perl-version +# Note: perl-suidperl has always been an independent subpackage +# We don't want perl-core to drag it in. + +%description core +A metapackage which requires all of the perl bits and modules in the +upstream tarball from perl.org. + + +%prep +%setup -q +%patch1 -p1 +%ifarch %{multilib_64_archs} +%patch3 -p1 +%endif +%patch4 -p1 +%patch5 -p1 +%patch6 -p1 +%patch7 -p1 +%patch8 -p1 + +# +# Candidates for doc recoding (need case by case review): +# find . -name "*.pod" -o -name "README*" -o -name "*.pm" | xargs file -i | grep charset= | grep -v '\(us-ascii\|utf-8\)' +recode() +{ + iconv -f "$2" -t utf-8 < "$1" > "${1}_" + touch -r "$1" "${1}_" + mv -f "${1}_" "$1" +} +recode README.cn euc-cn +recode README.jp euc-jp +recode README.ko euc-kr +recode README.tw big5 +recode pod/perlebcdic.pod iso-8859-1 +recode pod/perlhack.pod iso-8859-1 +recode pod/perlhist.pod iso-8859-1 +#recode pod/perlothrtut.pod iso-8859-1 +recode pod/perlthrtut.pod iso-8859-1 +#recode lib/Unicode/Collate.pm iso-8859-1 +for i in Changes*; do + recode $i iso-8859-1 +done +recode AUTHORS iso-8859-1 + + +find . -name \*.orig -exec rm -fv {} \; + + +# Filter the automatically generated dependencies. +%{?filter_setup: +%filter_from_requires /^perl(FCGI)/d +%filter_from_requires /^perl(Mac::/d +%filter_from_requires /^perl(Tk)/d +%filter_from_requires /^perl(Tk::/d +%filter_from_requires /^perl(Your::Module::Here)/d +%?perl_default_filter +} + +%build +echo "RPM Build arch: %{_arch}" + +# use "lib", not %{_lib}, for privlib, sitelib, and vendorlib + +/bin/sh Configure -des -Doptimize="$RPM_OPT_FLAGS -DPERL_USE_SAFE_PUTENV" \ + -Dversion=%{perl_version} \ + -Dmyhostname=localhost \ + -Dperladmin=root@localhost \ + -Dcc='%{__cc}' \ + -Dcf_by='Red Hat, Inc.' \ + -Dprefix=%{_prefix} \ + -Dvendorprefix=%{_prefix} \ + -Dsiteprefix=%{_prefix}/local \ + -Dprivlib="%{_prefix}/lib/perl5/%{perl_version}" \ + -Dsitelib="%{_prefix}/local/lib/perl5/site_perl/%{perl_version}" \ + -Dvendorlib="%{_prefix}/lib/perl5/vendor_perl/%{perl_version}" \ + -Darchlib="%{_libdir}/perl5/%{perl_version}/%{perl_archname}" \ + -Dsitearch="%{_prefix}/local/%{_lib}/perl5/site_perl/%{perl_version}/%{perl_archname}" \ + -Dvendorarch="%{_libdir}/perl5/vendor_perl/%{perl_version}/%{perl_archname}" \ + -Dinc_version_list=none \ + -Darchname=%{perl_archname} \ +%ifarch %{multilib_64_archs} + -Dlibpth="/usr/local/lib64 /lib64 %{_prefix}/lib64" \ +%endif +%ifarch sparc sparcv9 + -Ud_longdbl \ +%endif + -Duseshrplib \ + -Dusethreads \ + -Duseithreads \ + -Duselargefiles \ + -Dd_semctl_semun \ + -Di_db \ + -Ui_ndbm \ + -Di_gdbm \ + -Di_shadow \ + -Di_syslog \ + -Dman3ext=3pm \ + -Duseperlio \ + -Dinstallusrbinperl=n \ + -Ubincompat5005 \ + -Uversiononly \ + -Dpager='/usr/bin/less -isr' \ + -Dd_gethostent_r_proto -Ud_endhostent_r_proto -Ud_sethostent_r_proto \ + -Ud_endprotoent_r_proto -Ud_setprotoent_r_proto \ + -Ud_endservent_r_proto -Ud_setservent_r_proto \ + -Dscriptdir='%{_bindir}' \ +%ifarch x86_64 ppc64 sparc64 + -Dotherlibdirs=/usr/local/lib/perl5/site_perl:/usr/local/%{_lib}/perl5/site_perl \ +%else + -Dotherlibdirs=/usr/local/lib/perl5/site_perl +%endif + +## delete this option, in 5.12.1 this will not be supported +# -Dd_dosuid \ +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT + +%define new_perl_lib $RPM_BUILD_ROOT%{_libdir}/perl5/%{version} +%define comp_perl_lib $RPM_BUILD_ROOT%{_prefix}/lib/perl5/%{version} +%define new_arch_lib $RPM_BUILD_ROOT%{_libdir}/perl5/%{version}/%{perl_archname} +%define new_vendor_lib $RPM_BUILD_ROOT%{_libdir}/perl5/vendor_perl/%{version} +%define comp_vendor_lib $RPM_BUILD_ROOT%{_prefix}/lib/perl5/vendor_perl/%{version} +%define new_perl_flags LD_PRELOAD=%{new_arch_lib}/CORE/libperl.so LD_LIBRARY_PATH=%{new_arch_lib}/CORE PERL5LIB=%{new_perl_lib}:%{comp_perl_lib} +%define new_perl %{new_perl_flags} $RPM_BUILD_ROOT%{_bindir}/perl + +# perl doesn't create this directory, but modules put things in it, so we need to own it. +mkdir -p -m 755 %{new_vendor_lib}/%{perl_archname}/auto + + +install -p -m 755 utils/pl2pm ${RPM_BUILD_ROOT}%{_bindir}/pl2pm + +for i in asm/termios.h syscall.h syslimits.h syslog.h sys/ioctl.h sys/socket.h sys/time.h wait.h +do + %{new_perl} $RPM_BUILD_ROOT%{_bindir}/h2ph -a -d %{new_arch_lib} $i || /bin/true +done + +# +# libnet configuration file +# +mkdir -p -m 755 %{comp_perl_lib}/Net +install -p -m 644 %{SOURCE12} %{comp_perl_lib}/Net/libnet.cfg + +# +# perl RPM macros +# +mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/rpm +install -p -m 644 %{SOURCE10} ${RPM_BUILD_ROOT}%{_sysconfdir}/rpm/ + +# +# Core modules removal +# +find $RPM_BUILD_ROOT -name '*NDBM*' | xargs rm -rfv + +find $RPM_BUILD_ROOT -type f -name '*.bs' -empty | xargs rm -f + +# miniperl? As an interpreter? How odd. +sed -i 's|./miniperl|%{_bindir}/perl|' %{comp_perl_lib}/ExtUtils/xsubpp +chmod +x %{comp_perl_lib}/ExtUtils/xsubpp + +# Don't need the .packlist +rm -f %{new_arch_lib}/.packlist + +# Fix some manpages to be UTF-8 +install -d $RPM_BUILD_ROOT%{_mandir}/man1/ +pushd $RPM_BUILD_ROOT%{_mandir}/man1/ + for i in perl588delta.1 perldelta.1 ; do + [ -e "$i" ] && ( + iconv -f MS-ANSI -t UTF-8 $i --output new-$i + rm -rf $i + mv new-$i $i + ) || : + done +popd + +chmod -R u+w $RPM_BUILD_ROOT/* + +# Compress Changes* to save space +%{__gzip} Changes* + +# Local patch tracking +cd $RPM_BUILD_ROOT%{_libdir}/perl5/%{perl_version}/%{perl_archname}/CORE/ +perl -x patchlevel.h 'Fedora Patch1: Removes date check, Fedora/RHEL specific' +%ifnarch sparc64 +perl -x patchlevel.h 'Fedora Patch2: Work around annoying rpath issue' +%endif +%ifarch %{multilib_64_archs} +perl -x patchlevel.h 'Fedora Patch3: support for libdir64' +%endif +rm -rf $RPM_BUILD_ROOT/*.0 + +%clean +rm -rf $RPM_BUILD_ROOT + +%check +%ifnarch sparc64 +#make test +%endif + +%post libs -p /sbin/ldconfig + +%postun libs -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%doc Artistic AUTHORS Copying README +%doc %{_mandir}/man1/*.1* +%doc %{_mandir}/man3/*.3* +%{_bindir}/* +%{_libdir}/perl5/ +%ifarch %{multilib_64_archs} +%{_prefix}/lib/perl5/ +%endif + +# libs +%exclude %{_libdir}/perl5/%{perl_version}/%{perl_archname}/CORE/libperl.so + +# devel +%exclude %{_bindir}/enc2xs +%exclude %{_mandir}/man1/enc2xs* +%exclude %{_prefix}/lib/perl5/%{perl_version}/Encode/ +%exclude %{_bindir}/h2xs +%exclude %{_mandir}/man1/h2xs* +%exclude %{_bindir}/libnetcfg +%exclude %{_mandir}/man1/libnetcfg* +%exclude %{_bindir}/perlivp +%exclude %{_mandir}/man1/perlivp* +%exclude %{_libdir}/perl5/%{perl_version}/%{perl_archname}/CORE/*.h +%exclude %{_bindir}/xsubpp +%exclude %{_mandir}/man1/xsubpp* + +# Archive-Extract +%exclude %{_prefix}/lib/perl5/%{perl_version}/Archive/Extract.pm +%exclude %{_mandir}/man3/Archive::Extract.3* + +# Archive-Tar +%exclude %{_bindir}/ptar +%exclude %{_bindir}/ptardiff +%exclude %{_prefix}/lib/perl5/%{perl_version}/Archive/Tar/ +%exclude %{_prefix}/lib/perl5/%{perl_version}/Archive/Tar.pm +%exclude %{_mandir}/man1/ptar.1* +%exclude %{_mandir}/man1/ptardiff.1* +%exclude %{_mandir}/man3/Archive::Tar* + +# CPAN +%exclude %{_bindir}/cpan +%exclude %{_prefix}/lib/perl5/%{perl_version}/CPAN/ +%exclude %{_prefix}/lib/perl5/%{perl_version}/CPAN.pm +%exclude %{_mandir}/man1/cpan.1* +%exclude %{_mandir}/man3/CPAN.* +%exclude %{_mandir}/man3/CPAN:* + +# CPANPLUS +%exclude %{_bindir}/cpan2dist +%exclude %{_bindir}/cpanp +%exclude %{_bindir}/cpanp-run-perl +%exclude %{_prefix}/lib/perl5/%{perl_version}/CPANPLUS/ +%exclude %{_prefix}/lib/perl5/%{perl_version}/CPANPLUS.pm +%exclude %{_mandir}/man1/cpan2dist.1* +%exclude %{_mandir}/man1/cpanp.1* +%exclude %{_mandir}/man3/CPANPLUS* + +# Compress::Raw::Zlib +%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/Compress +%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/Compress/Raw/ +%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/auto/Compress +%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/auto/Compress/Raw/ +%exclude %{_mandir}/man3/Compress::Raw::Zlib* + +# Compress::Zlib +%exclude %{_libdir}/perl5/%{version}/Compress/Zlib.pm +%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/auto/Compress/Zlib/ +%exclude %{_mandir}/man3/Compress::Zlib* + +# Digest::SHA +%exclude %{_bindir}/shasum +%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/Digest/SHA.pm +%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/auto/Digest/SHA/ +%exclude %{_mandir}/man1/shasum.1* +%exclude %{_mandir}/man3/Digest::SHA.3* + +# ExtUtils::CBuilder +%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/CBuilder/ +%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/CBuilder.pm +%exclude %{_mandir}/man3/ExtUtils::CBuilder* + +# ExtUtils::Embed +%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Embed.pm +%exclude %{_mandir}/man3/ExtUtils::Embed* + +# ExtUtils::MakeMaker +%exclude %{_bindir}/instmodsh +%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Command/ +%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Install.pm +%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Installed.pm +%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Liblist/ +%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Liblist.pm +%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/MakeMaker/ +%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/MakeMaker.pm +%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/MANIFEST.SKIP +%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/MM*.pm +%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/MY.pm +%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Manifest.pm +%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Mkbootstrap.pm +%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Mksymlists.pm +%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Packlist.pm +%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/testlib.pm +%exclude %{_mandir}/man1/instmodsh.1* +%exclude %{_mandir}/man3/ExtUtils::Command::MM* +%exclude %{_mandir}/man3/ExtUtils::Install.3* +%exclude %{_mandir}/man3/ExtUtils::Installed.3* +%exclude %{_mandir}/man3/ExtUtils::Liblist.3* +%exclude %{_mandir}/man3/ExtUtils::MM* +%exclude %{_mandir}/man3/ExtUtils::MY.3* +%exclude %{_mandir}/man3/ExtUtils::MakeMaker* +%exclude %{_mandir}/man3/ExtUtils::Manifest.3* +%exclude %{_mandir}/man3/ExtUtils::Mkbootstrap.3* +%exclude %{_mandir}/man3/ExtUtils::Mksymlists.3* +%exclude %{_mandir}/man3/ExtUtils::Packlist.3* +%exclude %{_mandir}/man3/ExtUtils::testlib.3* + +# ExtUtils::ParseXS +%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/ParseXS.pm +%exclude %{_prefix}/lib/perl5/%{perl_version}/ExtUtils/xsubpp +%exclude %{_mandir}/man3/ExtUtils::ParseXS.3* + +# File::Fetch +%exclude %{_prefix}/lib/perl5/%{perl_version}/File/Fetch.pm +%exclude %{_mandir}/man3/File::Fetch.3* + +# IO::Compress::Base +%exclude %{_libdir}/perl5/%{version}/File/GlobMapper.pm +%exclude %{_libdir}/perl5/%{version}/IO/Compress/Base/ +%exclude %{_libdir}/perl5/%{version}/IO/Compress/Base.pm +%exclude %{_libdir}/perl5/%{version}/IO/Uncompress/AnyUncompress.pm +%exclude %{_libdir}/perl5/%{version}/IO/Uncompress/Base.pm +%exclude %{_mandir}/man3/File::GlobMapper.* +%exclude %{_mandir}/man3/IO::Compress::Base.* +%exclude %{_mandir}/man3/IO::Uncompress::AnyUncompress.* +%exclude %{_mandir}/man3/IO::Uncompress::Base.* + +%exclude %{_libdir}/perl5/%{version}/IO/Compress/Adapter/ +%exclude %{_libdir}/perl5/%{version}/IO/Compress/Deflate.pm +%exclude %{_libdir}/perl5/%{version}/IO/Compress/Gzip/ +%exclude %{_libdir}/perl5/%{version}/IO/Compress/Gzip.pm +%exclude %{_libdir}/perl5/%{version}/IO/Compress/RawDeflate.pm +%exclude %{_libdir}/perl5/%{version}/IO/Compress/Zip/ +%exclude %{_libdir}/perl5/%{version}/IO/Compress/Zip.pm +%exclude %{_libdir}/perl5/%{version}/IO/Compress/Zlib/ +%exclude %{_libdir}/perl5/%{version}/IO/Uncompress/Adapter/ +%exclude %{_libdir}/perl5/%{version}/IO/Uncompress/AnyInflate.pm +%exclude %{_libdir}/perl5/%{version}/IO/Uncompress/Gunzip.pm +%exclude %{_libdir}/perl5/%{version}/IO/Uncompress/Inflate.pm +%exclude %{_libdir}/perl5/%{version}/IO/Uncompress/RawInflate.pm +%exclude %{_libdir}/perl5/%{version}/IO/Uncompress/Unzip.pm +%exclude %{_mandir}/man3/IO::Compress::Deflate* +%exclude %{_mandir}/man3/IO::Compress::Gzip* +%exclude %{_mandir}/man3/IO::Compress::RawDeflate* +%exclude %{_mandir}/man3/IO::Compress::Zip* +%exclude %{_mandir}/man3/IO::Uncompress::AnyInflate* +%exclude %{_mandir}/man3/IO::Uncompress::Gunzip* +%exclude %{_mandir}/man3/IO::Uncompress::Inflate* +%exclude %{_mandir}/man3/IO::Uncompress::RawInflate* +%exclude %{_mandir}/man3/IO::Uncompress::Unzip* + +# IO::Zlib +%exclude %{_prefix}/lib/perl5/%{perl_version}/IO/Zlib.pm +%exclude %{_mandir}/man3/IO::Zlib.* + +# IPC::Cmd +%exclude %{_prefix}/lib/perl5/%{perl_version}/IPC/Cmd.pm +%exclude %{_mandir}/man3/IPC::Cmd.3* + +# Locale::Maketext::Simple +%exclude %{_prefix}/lib/perl5/%{perl_version}/Locale/Maketext/Simple.pm +%exclude %{_mandir}/man3/Locale::Maketext::Simple.* + +# Log::Message +%exclude %{_prefix}/lib/perl5/%{perl_version}/Log/Message.pm +%exclude %{_prefix}/lib/perl5/%{perl_version}/Log/Message/Config.pm +%exclude %{_prefix}/lib/perl5/%{perl_version}/Log/Message/Handlers.pm +%exclude %{_prefix}/lib/perl5/%{perl_version}/Log/Message/Item.pm +%exclude %{_mandir}/man3/Log::Message.3* +%exclude %{_mandir}/man3/Log::Message::Config.3* +%exclude %{_mandir}/man3/Log::Message::Handlers.3* +%exclude %{_mandir}/man3/Log::Message::Item.3* + +# Log::Message::Simple +%exclude %{_prefix}/lib/perl5/%{perl_version}/Log/Message/Simple.pm +%exclude %{_mandir}/man3/Log::Message::Simple.3* + +# Module::Build +%exclude %{_bindir}/config_data +%exclude %{_prefix}/lib/perl5/%{perl_version}/Module/Build/ +%exclude %{_prefix}/lib/perl5/%{perl_version}/Module/Build.pm +%exclude %{_mandir}/man1/config_data.1* +%exclude %{_mandir}/man3/Module::Build* + +# Module-CoreList +%exclude %{_bindir}/corelist +%exclude %{_prefix}/lib/perl5/%{perl_version}/Module/CoreList.pm +%exclude %{_mandir}/man1/corelist* +%exclude %{_mandir}/man3/Module::CoreList* + +# Module-Load +%exclude %{_prefix}/lib/perl5/%{perl_version}/Module/Load.pm +%exclude %{_mandir}/man3/Module::Load.* + +# Module-Load-Conditional +%exclude %{_prefix}/lib/perl5/%{perl_version}/Module/Load/ +%exclude %{_mandir}/man3/Module::Load::Conditional* + +# Module-Loaded +%exclude %{_prefix}/lib/perl5/%{perl_version}/Module/Loaded.pm +%exclude %{_mandir}/man3/Module::Loaded* + +# Module-Pluggable +%exclude %{_prefix}/lib/perl5/%{perl_version}/Devel/InnerPackage.pm +%exclude %{_prefix}/lib/perl5/%{perl_version}/Module/Pluggable/ +%exclude %{_prefix}/lib/perl5/%{perl_version}/Module/Pluggable.pm +%exclude %{_mandir}/man3/Devel::InnerPackage* +%exclude %{_mandir}/man3/Module::Pluggable* + +# Object-Accessor +%exclude %{_prefix}/lib/perl5/%{perl_version}/Object/ +%exclude %{_mandir}/man3/Object::Accessor* + +# Package-Constants +%exclude %{_prefix}/lib/perl5/%{perl_version}/Package/ +%exclude %{_mandir}/man3/Package::Constants* + +# Params-Check +%exclude %{_prefix}/lib/perl5/%{perl_version}/Params/ +%exclude %{_mandir}/man3/Params::Check* + +# Pod-Escapes +%exclude %{_prefix}/lib/perl5/%{perl_version}/Pod/Escapes.pm +%exclude %{_mandir}/man3/Pod::Escapes.* + +# Pod-Simple +%exclude %{_prefix}/lib/perl5/%{perl_version}/Pod/Simple/ +%exclude %{_prefix}/lib/perl5/%{perl_version}/Pod/Simple.pm +%exclude %{_prefix}/lib/perl5/%{perl_version}/Pod/Simple.pod +%exclude %{_mandir}/man3/Pod::Simple* + +# Term-UI +%exclude %{_prefix}/lib/perl5/%{perl_version}/Term/UI.pm +%exclude %{_prefix}/lib/perl5/%{perl_version}/Term/UI/ +%exclude %{_mandir}/man3/Term::UI* + +# Test::Harness +%exclude %{_bindir}/prove +%exclude %{_prefix}/lib/perl5/%{perl_version}/App* +%exclude %{_prefix}/lib/perl5/%{perl_version}/TAP* +%exclude %{_prefix}/lib/perl5/%{perl_version}/Test/Harness* +%exclude %{_mandir}/man1/prove.1* +%exclude %{_mandir}/man3/App* +%exclude %{_mandir}/man3/TAP* +%exclude %{_mandir}/man3/Test::Harness* + +# Test::Simple +%exclude %{_prefix}/lib/perl5/%{perl_version}/Test/More* +%exclude %{_prefix}/lib/perl5/%{perl_version}/Test/Builder* +%exclude %{_prefix}/lib/perl5/%{perl_version}/Test/Simple* +%exclude %{_prefix}/lib/perl5/%{perl_version}/Test/Tutorial* +%exclude %{_mandir}/man3/Test::More* +%exclude %{_mandir}/man3/Test::Builder* +%exclude %{_mandir}/man3/Test::Simple* +%exclude %{_mandir}/man3/Test::Tutorial* + +# Time::Piece +%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/Time/Piece.pm +%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/Time/Seconds.pm +%exclude %{_libdir}/perl5/%{version}/%{perl_archname}/auto/Time/Piece/ +%exclude %{_mandir}/man3/Time::Piece.3* +%exclude %{_mandir}/man3/Time::Seconds.3* + +# version +%exclude %{_prefix}/lib/perl5/%{perl_version}/version.pm +%exclude %{_prefix}/lib/perl5/%{perl_version}/version.pod +%exclude %{_mandir}/man3/version.* + +%files libs +%defattr(-,root,root) +%{_libdir}/perl5/%{perl_version}/%{perl_archname}/CORE/libperl.so + +%files devel +%defattr(-,root,root,-) +%doc Changes* +%{_bindir}/enc2xs +%doc %{_mandir}/man1/enc2xs* +%{_prefix}/lib/perl5/%{perl_version}/Encode/ +%{_bindir}/h2xs +%doc %{_mandir}/man1/h2xs* +%{_bindir}/libnetcfg +%doc %{_mandir}/man1/libnetcfg* +%{_bindir}/perlivp +%doc %{_mandir}/man1/perlivp* +%{_libdir}/perl5/%{perl_version}/%{perl_archname}/CORE/*.h +%{_bindir}/xsubpp +%doc %{_mandir}/man1/xsubpp* +%attr(0644,root,root) %{_sysconfdir}/rpm/macros.perl + +%files Archive-Extract +%defattr(-,root,root,-) +%{_prefix}/lib/perl5/%{perl_version}/Archive/Extract.pm +%doc %{_mandir}/man3/Archive::Extract.3* + +%files Archive-Tar +%defattr(-,root,root,-) +%{_bindir}/ptar +%{_bindir}/ptardiff +%{_prefix}/lib/perl5/%{perl_version}/Archive/Tar/ +%{_prefix}/lib/perl5/%{perl_version}/Archive/Tar.pm +%doc %{_mandir}/man1/ptar.1* +%doc %{_mandir}/man1/ptardiff.1* +%doc %{_mandir}/man3/Archive::Tar* + +%files Compress-Raw-Zlib +%defattr(-,root,root,-) +%dir %{_libdir}/perl5/%{version}/%{perl_archname}/Compress +%{_libdir}/perl5/%{version}/%{perl_archname}/Compress/Raw/ +%dir %{_libdir}/perl5/%{version}/%{perl_archname}/auto/Compress/ +%{_libdir}/perl5/%{version}/%{perl_archname}/auto/Compress/Raw/ +%doc %{_mandir}/man3/Compress::Raw::Zlib* + +%files Compress-Zlib +%defattr(-,root,root,-) +%{_libdir}/perl5/%{version}/Compress/Zlib.pm +%{_libdir}/perl5/%{version}/%{perl_archname}/auto/Compress/Zlib/ +%doc %{_mandir}/man3/Compress::Zlib* + +%files CPAN +%defattr(-,root,root,-) +%{_bindir}/cpan +%{_prefix}/lib/perl5/%{perl_version}/CPAN/ +%{_prefix}/lib/perl5/%{perl_version}/CPAN.pm +%doc %{_mandir}/man1/cpan.1* +%doc %{_mandir}/man3/CPAN.* +%doc %{_mandir}/man3/CPAN:* + +%files CPANPLUS +%defattr(-,root,root,-) +%{_bindir}/cpan2dist +%{_bindir}/cpanp +%{_bindir}/cpanp-run-perl +%{_prefix}/lib/perl5/%{perl_version}/CPANPLUS/ +%{_prefix}/lib/perl5/%{perl_version}/CPANPLUS.pm +%doc %{_mandir}/man1/cpan2dist.1* +%doc %{_mandir}/man1/cpanp.1* +%doc %{_mandir}/man3/CPANPLUS* + +%files Digest-SHA +%defattr(-,root,root,-) +%{_bindir}/shasum +%dir %{_libdir}/perl5/%{version}/%{perl_archname}/Digest/ +%{_libdir}/perl5/%{version}/%{perl_archname}/Digest/SHA.pm +%{_libdir}/perl5/%{version}/%{perl_archname}/auto/Digest/SHA/ +%doc %{_mandir}/man1/shasum.1* +%doc %{_mandir}/man3/Digest::SHA.3* + +%files ExtUtils-CBuilder +%defattr(-,root,root,-) +%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/CBuilder/ +%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/CBuilder.pm +%doc %{_mandir}/man3/ExtUtils::CBuilder* + +%files ExtUtils-Embed +%defattr(-,root,root,-) +%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Embed.pm +%doc %{_mandir}/man3/ExtUtils::Embed* + +%files ExtUtils-MakeMaker +%defattr(-,root,root,-) +%{_bindir}/instmodsh +%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Command/ +%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Install.pm +%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Installed.pm +%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Liblist/ +%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Liblist.pm +%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/MakeMaker/ +%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/MakeMaker.pm +%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/MANIFEST.SKIP +%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/MM*.pm +%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/MY.pm +%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Manifest.pm +%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Mkbootstrap.pm +%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Mksymlists.pm +%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/Packlist.pm +%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/testlib.pm +%doc %{_mandir}/man1/instmodsh.1* +%doc %{_mandir}/man3/ExtUtils::Command::MM* +%doc %{_mandir}/man3/ExtUtils::Install.3* +%doc %{_mandir}/man3/ExtUtils::Installed.3* +%doc %{_mandir}/man3/ExtUtils::Liblist.3* +%doc %{_mandir}/man3/ExtUtils::MM* +%doc %{_mandir}/man3/ExtUtils::MY.3* +%doc %{_mandir}/man3/ExtUtils::MakeMaker* +%doc %{_mandir}/man3/ExtUtils::Manifest.3* +%doc %{_mandir}/man3/ExtUtils::Mkbootstrap.3* +%doc %{_mandir}/man3/ExtUtils::Mksymlists.3* +%doc %{_mandir}/man3/ExtUtils::Packlist.3* +%doc %{_mandir}/man3/ExtUtils::testlib.3* + +%files ExtUtils-ParseXS +%defattr(-,root,root,-) +%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/ParseXS.pm +%{_prefix}/lib/perl5/%{perl_version}/ExtUtils/xsubpp +%doc %{_mandir}/man3/ExtUtils::ParseXS.3* + +%files File-Fetch +%defattr(-,root,root,-) +%{_prefix}/lib/perl5/%{perl_version}/File/Fetch.pm +%doc %{_mandir}/man3/File::Fetch.3* + +%files IO-Compress-Base +%defattr(-,root,root,-) +%{_libdir}/perl5/%{version}/File/GlobMapper.pm +%{_libdir}/perl5/%{version}/IO/Compress/Base/ +%{_libdir}/perl5/%{version}/IO/Compress/Base.pm +%{_libdir}/perl5/%{version}/IO/Uncompress/AnyUncompress.pm +%{_libdir}/perl5/%{version}/IO/Uncompress/Base.pm +%doc %{_mandir}/man3/File::GlobMapper.* +%doc %{_mandir}/man3/IO::Compress::Base.* +%doc %{_mandir}/man3/IO::Uncompress::AnyUncompress.* +%doc %{_mandir}/man3/IO::Uncompress::Base.* + +%files IO-Compress-Zlib +%defattr(-,root,root,-) +%{_libdir}/perl5/%{version}/IO/Compress/Adapter/ +%{_libdir}/perl5/%{version}/IO/Compress/Deflate.pm +%{_libdir}/perl5/%{version}/IO/Compress/Gzip/ +%{_libdir}/perl5/%{version}/IO/Compress/Gzip.pm +%{_libdir}/perl5/%{version}/IO/Compress/RawDeflate.pm +%{_libdir}/perl5/%{version}/IO/Compress/Zip/ +%{_libdir}/perl5/%{version}/IO/Compress/Zip.pm +%{_libdir}/perl5/%{version}/IO/Compress/Zlib/ +%{_libdir}/perl5/%{version}/IO/Uncompress/Adapter/ +%{_libdir}/perl5/%{version}/IO/Uncompress/AnyInflate.pm +%{_libdir}/perl5/%{version}/IO/Uncompress/Gunzip.pm +%{_libdir}/perl5/%{version}/IO/Uncompress/Inflate.pm +%{_libdir}/perl5/%{version}/IO/Uncompress/RawInflate.pm +%{_libdir}/perl5/%{version}/IO/Uncompress/Unzip.pm +%doc %{_mandir}/man3/IO::Compress::Deflate* +%doc %{_mandir}/man3/IO::Compress::Gzip* +%doc %{_mandir}/man3/IO::Compress::RawDeflate* +%doc %{_mandir}/man3/IO::Compress::Zip* +%doc %{_mandir}/man3/IO::Uncompress::AnyInflate* +%doc %{_mandir}/man3/IO::Uncompress::Gunzip* +%doc %{_mandir}/man3/IO::Uncompress::Inflate* +%doc %{_mandir}/man3/IO::Uncompress::RawInflate* +%doc %{_mandir}/man3/IO::Uncompress::Unzip* + +%files IO-Zlib +%defattr(-,root,root,-) +%{_prefix}/lib/perl5/%{perl_version}/IO/Zlib.pm +%doc %{_mandir}/man3/IO::Zlib.* + +%files IPC-Cmd +%defattr(-,root,root,-) +%{_prefix}/lib/perl5/%{perl_version}/IPC/Cmd.pm +%doc %{_mandir}/man3/IPC::Cmd.3* + +%files Locale-Maketext-Simple +%defattr(-,root,root,-) +%{_prefix}/lib/perl5/%{perl_version}/Locale/Maketext/Simple.pm +%doc %{_mandir}/man3/Locale::Maketext::Simple.* + +%files Log-Message +%defattr(-,root,root,-) +%{_prefix}/lib/perl5/%{perl_version}/Log/Message.pm +%{_prefix}/lib/perl5/%{perl_version}/Log/Message/Config.pm +%{_prefix}/lib/perl5/%{perl_version}/Log/Message/Handlers.pm +%{_prefix}/lib/perl5/%{perl_version}/Log/Message/Item.pm +%doc %{_mandir}/man3/Log::Message.3* +%doc %{_mandir}/man3/Log::Message::Config.3* +%doc %{_mandir}/man3/Log::Message::Handlers.3* +%doc %{_mandir}/man3/Log::Message::Item.3* + +%files Log-Message-Simple +%defattr(-,root,root,-) +%{_prefix}/lib/perl5/%{perl_version}/Log/Message/Simple.pm +%doc %{_mandir}/man3/Log::Message::Simple.3* + +%files Module-Build +%defattr(-,root,root,-) +%{_bindir}/config_data +%{_prefix}/lib/perl5/%{perl_version}/Module/Build/ +%{_prefix}/lib/perl5/%{perl_version}/Module/Build.pm +%doc %{_mandir}/man1/config_data.1* +%doc %{_mandir}/man3/Module::Build* + +%files Module-CoreList +%defattr(-,root,root,-) +%{_bindir}/corelist +%{_prefix}/lib/perl5/%{perl_version}/Module/CoreList.pm +%doc %{_mandir}/man1/corelist* +%doc %{_mandir}/man3/Module::CoreList* + +%files Module-Load +%defattr(-,root,root,-) +%{_prefix}/lib/perl5/%{perl_version}/Module/Load.pm +%doc %{_mandir}/man3/Module::Load.* + +%files Module-Load-Conditional +%defattr(-,root,root,-) +%{_prefix}/lib/perl5/%{perl_version}/Module/Load/ +%doc %{_mandir}/man3/Module::Load::Conditional* + +%files Module-Loaded +%defattr(-,root,root,-) +%dir %{_prefix}/lib/perl5/%{perl_version}/Module/ +%{_prefix}/lib/perl5/%{perl_version}/Module/Loaded.pm +%doc %{_mandir}/man3/Module::Loaded* + +%files Module-Pluggable +%defattr(-,root,root,-) +%{_prefix}/lib/perl5/%{perl_version}/Devel/InnerPackage.pm +%{_prefix}/lib/perl5/%{perl_version}/Module/Pluggable/ +%{_prefix}/lib/perl5/%{perl_version}/Module/Pluggable.pm +%doc %{_mandir}/man3/Devel::InnerPackage* +%doc %{_mandir}/man3/Module::Pluggable* + +%files Object-Accessor +%defattr(-,root,root,-) +%{_prefix}/lib/perl5/%{perl_version}/Object/ +%doc %{_mandir}/man3/Object::Accessor* + +%files Package-Constants +%defattr(-,root,root,-) +%{_prefix}/lib/perl5/%{perl_version}/Package/ +%doc %{_mandir}/man3/Package::Constants* + +%files Params-Check +%defattr(-,root,root,-) +%{_prefix}/lib/perl5/%{perl_version}/Params/ +%doc %{_mandir}/man3/Params::Check* + +%files Pod-Escapes +%defattr(-,root,root,-) +%{_prefix}/lib/perl5/%{perl_version}/Pod/Escapes.pm +%doc %{_mandir}/man3/Pod::Escapes.* + +%files Pod-Simple +%defattr(-,root,root,-) +%{_prefix}/lib/perl5/%{perl_version}/Pod/Simple/ +%{_prefix}/lib/perl5/%{perl_version}/Pod/Simple.pm +%{_prefix}/lib/perl5/%{perl_version}/Pod/Simple.pod +%doc %{_mandir}/man3/Pod::Simple* + +%files Term-UI +%defattr(-,root,root,-) +%{_prefix}/lib/perl5/%{perl_version}/Term/UI/ +%{_prefix}/lib/perl5/%{perl_version}/Term/UI.pm +%doc %{_mandir}/man3/Term::UI* + +%files Test-Harness +%defattr(-,root,root,-) +%{_bindir}/prove +%{_prefix}/lib/perl5/%{perl_version}/App* +%{_prefix}/lib/perl5/%{perl_version}/TAP* +%{_prefix}/lib/perl5/%{perl_version}/Test/Harness* +%{_mandir}/man1/prove.1* +%{_mandir}/man3/App* +%{_mandir}/man3/TAP* +%{_mandir}/man3/Test::Harness* + +%files Test-Simple +%defattr(-,root,root,-) +%{_prefix}/lib/perl5/%{perl_version}/Test/More* +%{_prefix}/lib/perl5/%{perl_version}/Test/Builder* +%{_prefix}/lib/perl5/%{perl_version}/Test/Simple* +%{_prefix}/lib/perl5/%{perl_version}/Test/Tutorial* +%doc %{_mandir}/man3/Test::More* +%doc %{_mandir}/man3/Test::Builder* +%doc %{_mandir}/man3/Test::Simple* +%doc %{_mandir}/man3/Test::Tutorial* + +%files Time-Piece +%defattr(-,root,root,-) +%{_libdir}/perl5/%{version}/%{perl_archname}/Time/Piece.pm +%{_libdir}/perl5/%{version}/%{perl_archname}/Time/Seconds.pm +%{_libdir}/perl5/%{version}/%{perl_archname}/auto/Time/Piece/ +%doc %{_mandir}/man3/Time::Piece.3* +%doc %{_mandir}/man3/Time::Seconds.3* + +%files version +%defattr(-,root,root,-) +%{_prefix}/lib/perl5/%{perl_version}/version.pm +%{_prefix}/lib/perl5/%{perl_version}/version.pod +%doc %{_mandir}/man3/version.* + +%files core +# Nothing. Nada. Zilch. Zarro. Uh uh. Nope. Sorry. + +# Old changelog entries are preserved in CVS.