Ignore:
Timestamp:
Aug 14, 2014, 2:21:50 PM (11 years ago)
Author:
Yuri Dario
Message:

spec: perl, various updates.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • spec/trunk/SPECS/perl.spec

    r202 r435  
    1 
    2 %define perl_version    5.10.0
    3 %define perl_epoch      0
     1%global perl_version    5.16.1
     2%global perl_epoch      0
     3%global perl_arch_stem -thread-multi
     4%global perl_archname %{_arch}-%{_os}%{perl_arch_stem}
     5
     6%global multilib_64_archs x86_64 s390x ppc64 sparc64
     7%global parallel_tests 1
     8%global tapsetdir   %{_datadir}/systemtap/tapset
     9
     10# internal filter just for this spec
     11# XXX: %%global expands now, archlib must be pre-defined.
     12%global perl_default_filter %%{?filter_setup: %%{expand: \
     13%%filter_provides_in -P %%{archlib}/(?!CORE/libperl).*\\.so$ \
     14%%filter_setup \
     15}}
     16
     17# same as we provide in /etc/rpm/macros.perl
     18%global perl5_testdir   %{_libexecdir}/perl5-tests
    419
    520Name:           perl
    621Version:        %{perl_version}
    7 Release:        3%{?dist}
     22# release number must be even higher, becase dual-lived modules will be broken otherwise
     23Release:        1%{?dist}
    824Epoch:          %{perl_epoch}
    9 Summary:        The Perl programming language
     25Summary:        Practical Extraction and Report Language
    1026Group:          Development/Languages
    1127# Modules Tie::File and Getopt::Long are licenced under "GPLv2+ or Artistic,"
    1228# we have to reflect that in the sub-package containing them.
    13 # FIXME: Digest::MD5 has a must-advertise-RSA license with an exception,
    14 # the tag does not reflect that (yet).
    15 License:        (GPL+ or Artistic) and (GPLv2+ or Artistic)
     29# under UCD are unicode tables
     30# Public domain: ext/SDBM_File/sdbm/*, ext/Compress-Raw-Bzip2/bzip2-src/dlltest.c
     31# MIT: ext/MIME-Base64/Base64.xs
     32# Copyright Only: for example ext/Text-Soundex/Soundex.xs
     33License:        (GPL+ or Artistic) and (GPLv2+ or Artistic) and Copyright Only and MIT and Public Domain and UCD
    1634Url:            http://www.perl.org/
    17 Source0:        perl.zip
    18 
    19 BuildRoot:      %{_tmppath}/%{name}-%{perl_version}-%{release}-root-%(%{__id_u} -n)
    20 #BuildRequires:  tcsh, dos2unix, man, groff
    21 #BuildRequires:  gdbm-devel, db4-devel
     35Source0:        http://www.cpan.org/src/5.0/perl-%{perl_version}.tar.gz
     36
     37Patch1:         perl-os2.patch
     38
     39# Update some of the bundled modules
     40# see http://fedoraproject.org/wiki/Perl/perl.spec for instructions
     41
     42BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
     43BuildRequires:  db4-devel, zlib-devel
     44#BuildRequires:  gdbm-devel, groff, tcsh, systemtap-sdt-devel
     45# For tests
     46#BuildRequires:  procps, rsyslog
     47
     48# The long line of Perl provides.
     49
     50# These provides are needed by the perl pkg itself with auto-generated perl.req
     51Provides: perl(VMS::Filespec)
     52Provides: perl(VMS::Stdio)
     53
     54# Compat provides
     55Provides: perl(:MODULE_COMPAT_5.12.4)
     56Provides: perl(:MODULE_COMPAT_5.12.3)
     57Provides: perl(:MODULE_COMPAT_5.12.2)
     58Provides: perl(:MODULE_COMPAT_5.12.1)
     59Provides: perl(:MODULE_COMPAT_5.12.0)
     60
     61# Threading provides
     62Provides: perl(:WITH_ITHREADS)
     63Provides: perl(:WITH_THREADS)
     64# Largefile provides
     65Provides: perl(:WITH_LARGEFILES)
     66# PerlIO provides
     67Provides: perl(:WITH_PERLIO)
     68# File provides
     69Provides: perl(abbrev.pl)
     70Provides: perl(assert.pl)
     71Provides: perl(bigfloat.pl)
     72Provides: perl(bigint.pl)
     73Provides: perl(bigrat.pl)
     74Provides: perl(bytes_heavy.pl)
     75Provides: perl(cacheout.pl)
     76Provides: perl(complete.pl)
     77Provides: perl(ctime.pl)
     78Provides: perl(dotsh.pl)
     79Provides: perl(dumpvar.pl)
     80Provides: perl(exceptions.pl)
     81Provides: perl(fastcwd.pl)
     82Provides: perl(find.pl)
     83Provides: perl(finddepth.pl)
     84Provides: perl(flush.pl)
     85Provides: perl(ftp.pl)
     86Provides: perl(getcwd.pl)
     87Provides: perl(getopt.pl)
     88Provides: perl(getopts.pl)
     89Provides: perl(hostname.pl)
     90Provides: perl(importenv.pl)
     91Provides: perl(look.pl)
     92Provides: perl(newgetopt.pl)
     93Provides: perl(open2.pl)
     94Provides: perl(open3.pl)
     95Provides: perl(perl5db.pl)
     96Provides: perl(pwd.pl)
     97Provides: perl(shellwords.pl)
     98Provides: perl(stat.pl)
     99Provides: perl(syslog.pl)
     100Provides: perl(tainted.pl)
     101Provides: perl(termcap.pl)
     102Provides: perl(timelocal.pl)
     103Provides: perl(utf8_heavy.pl)
     104Provides: perl(validate.pl)
     105Provides: perl(Carp::Heavy)
     106
     107# Long history in 3rd-party repositories:
     108Provides: perl-File-Temp = 0.22
     109Obsoletes: perl-File-Temp < 0.20
     110
     111# suidperl isn't created by upstream since 5.12.0
     112Obsoletes: perl-suidperl <= 4:5.12.2
     113
     114Requires: perl-libs = %{perl_epoch}:%{perl_version}-%{release}
     115
     116# We need this to break the dependency loop, and ensure that perl-libs
     117# gets installed before perl.
     118Requires(post): perl-libs
     119
    22120
    23121%description
    24 Perl is a high-level programming language with roots in C, sed, awk
    25 and shell scripting.  Perl is good at handling processes and files,
    26 and is especially good at handling text.  Perl's hallmarks are
    27 practicality and efficiency.  While it is used to do a lot of
    28 different things, Perl's most common applications are system
    29 administration utilities and web programming.  A large proportion of
    30 the CGI scripts on the web are written in Perl.  You need the perl
    31 package installed on your system so that your system can handle Perl
     122Perl is a high-level programming language with roots in C, sed, awk and shell
     123scripting.  Perl is good at handling processes and files, and is especially
     124good at handling text.  Perl's hallmarks are practicality and efficiency.
     125While it is used to do a lot of different things, Perl's most common
     126applications are system administration utilities and web programming.  A large
     127proportion of the CGI scripts on the web are written in Perl.  You need the
     128perl package installed on your system so that your system can handle Perl
    32129scripts.
    33130
    34 Install this package if you want to program in Perl or enable your
    35 system to handle Perl scripts.
    36 
     131Install this package if you want to program in Perl or enable your system to
     132handle Perl scripts.
     133
     134%package libs
     135Summary:        The libraries for the perl runtime
     136Group:          Development/Languages
     137License:        GPL+ or Artistic
     138Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
     139
     140%description libs
     141The libraries for the perl runtime
     142
     143
     144%package devel
     145Summary:        Header #files for use in perl development
     146Group:          Development/Languages
     147License:        GPL+ or Artistic
     148#Requires:       systemtap-sdt-devel
     149Requires:       perl(ExtUtils::ParseXS)
     150Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
     151
     152%description devel
     153This package contains header files and development modules.
     154Most perl packages will need to install perl-devel to build.
     155
     156%package tests
     157Summary:        The Perl test suite
     158Group:          Development/Languages
     159License:        GPL+ or Artistic
     160# right?
     161AutoReqProv:    0
     162Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
     163# FIXME - note this will need to change when doing the core/minimal swizzle
     164Requires:       perl-core
     165
     166%description tests
     167This package contains the test suite included with Perl %{perl_version}.
     168
     169Install this if you want to test your Perl installation (binary and core
     170modules).
     171
     172
     173%package Archive-Extract
     174Summary:        Generic archive extracting mechanism
     175Group:          Development/Libraries
     176License:        GPL+ or Artistic
     177# Epoch bump for clean upgrade over old standalone package
     178Epoch:          1
     179Version:        0.38
     180Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
     181BuildArch:      noarch
     182# fix buggy rpm autodetection, remove once rpm is fixed.
     183Provides: perl(Archive::Extract)
     184
     185%description Archive-Extract
     186Archive::Extract is a generic archive extraction mechanism.
     187
     188
     189%package Archive-Tar
     190Summary:        A module for Perl manipulation of .tar files
     191Group:          Development/Libraries
     192License:        GPL+ or Artistic
     193Epoch:          0
     194Version:        1.54
     195Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
     196Requires:       perl(Compress::Zlib)
     197Requires:       perl(IO::Zlib)
     198BuildArch:      noarch
     199# fix buggy rpm autodetection, remove once rpm is fixed.
     200Provides: perl(Archive::Tar)
     201
     202%description Archive-Tar
     203Archive::Tar provides an object oriented mechanism for handling tar files.  It
     204provides class methods for quick and easy files handling while also allowing
     205for the creation of tar file objects for custom manipulation.  If you have the
     206IO::Zlib module installed, Archive::Tar will also support compressed or
     207gzipped tar files.
     208
     209
     210%package Class-ISA
     211Summary:        Report the search path for a class's ISA tree
     212Group:          Development/Libraries
     213License:        GPL+ or Artistic
     214Epoch:          0
     215Version:        0.36
     216Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
     217BuildArch:      noarch
     218# fix buggy rpm autodetection, remove once rpm is fixed.
     219Provides: perl(Class::ISA)
     220
     221%description Class-ISA
     222Suppose you have a class (like Food::Fish::Fishstick) that is derived, via
     223its @ISA, from one or more superclasses (as Food::Fish::Fishstick is from
     224Food::Fish, Life::Fungus, and Chemicals), and some of those superclasses
     225may themselves each be derived, via its @ISA, from one or more superclasses
     226(as above).
     227
     228
     229%package CGI
     230Summary:        Handle Common Gateway Interface requests and responses
     231Group:          Development/Libraries
     232License:        GPL+ or Artistic
     233Epoch:          0
     234Version:        3.49
     235Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
     236BuildArch:      noarch
     237# fix buggy rpm autodetection, remove once rpm is fixed.
     238Provides: perl(CGI)
     239
     240%description CGI
     241CGI.pm is a stable, complete and mature solution for processing and preparing
     242HTTP requests and responses. Major features including processing form
     243submissions, file uploads, reading and writing cookies, query string generation
     244and manipulation, and processing and preparing HTTP headers. Some HTML
     245generation utilities are included as well.
     246
     247CGI.pm performs very well in in a vanilla CGI.pm environment and also comes
     248with built-in support for mod_perl and mod_perl2 as well as FastCGI.
     249
     250
     251%package Compress-Raw-Zlib
     252Summary:        Low-Level Interface to the zlib compression library
     253Group:          Development/Libraries
     254License:        GPL+ or Artistic
     255Epoch:          0
     256Version:        2.024
     257Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
     258# fix buggy rpm autodetection, remove once rpm is fixed.
     259Provides: perl(Compress::Raw::Zlib)
     260
     261%description Compress-Raw-Zlib
     262This module provides a Perl interface to the zlib compression library.
     263It is used by IO::Compress::Zlib.
     264
     265
     266%package CPAN
     267Summary:        Query, download and build perl modules from CPAN sites
     268Group:          Development/Languages
     269License:        GPL+ or Artistic
     270Epoch:          0
     271Version:        1.9402
     272# CPAN encourages Digest::SHA strongly because of integrity checks
     273Requires:       perl(Digest::SHA)
     274Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
     275Provides:       cpan = %{version}
     276BuildArch:      noarch
     277# fix buggy rpm autodetection, remove once rpm is fixed.
     278Provides: perl(CPAN)
     279Requires: perl(PathTools), perl(ExtUtils::MakeMaker), perl(Scalar::List::Utils)
     280
     281%description CPAN
     282Query, download and build perl modules from CPAN sites.
     283
     284
     285%package CPANPLUS
     286Summary:        API & CLI access to the CPAN mirrors
     287Group:          Development/Libraries
     288License:        GPL+ or Artistic
     289Epoch:          0
     290Version:        0.90
     291# CPANPLUS encourages Digest::SHA strongly because of integrity checks
     292Requires:       perl(Digest::SHA)
     293Requires:       perl(Module::Pluggable) >= 2.4
     294Requires:       perl(Module::CoreList)
     295#Requires:       perl(DBIx::Simple)
     296Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
     297Provides:       perl-CPANPLUS-Dist-Build = 0.06
     298Obsoletes:      perl-CPANPLUS-Dist-Build <= 0.05
     299BuildArch:      noarch
     300# fix buggy rpm autodetection, remove once rpm is fixed.
     301Provides: perl(CPANPLUS)
     302
     303%description CPANPLUS
     304The CPANPLUS library is an API to the CPAN mirrors and a collection of
     305interactive shells, commandline programs, etc, that use this API.
     306
     307
     308%package Digest-SHA
     309Summary:        Perl extension for SHA-1/224/256/384/512
     310Group:          Development/Libraries
     311License:        GPL+ or Artistic
     312# Epoch bump for clean upgrade over old standalone package
     313Epoch:          1
     314Version:        5.47
     315Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
     316# fix buggy rpm autodetection, remove once rpm is fixed.
     317Provides: perl(Digest::SHA)
     318
     319%description Digest-SHA
     320Digest::SHA is a complete implementation of the NIST Secure Hash
     321Standard.  It gives Perl programmers a convenient way to calculate
     322SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512 message digests.  The
     323module can handle all types of input, including partial-byte data.
     324
     325
     326%package ExtUtils-CBuilder
     327Summary:        Compile and link C code for Perl modules
     328Group:          Development/Libraries
     329License:        GPL+ or Artistic
     330# Epoch bump for clean upgrade over old standalone package
     331Epoch:          1
     332Version:        0.27
     333Requires:       perl-devel
     334Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
     335BuildArch:      noarch
     336# fix buggy rpm autodetection, remove once rpm is fixed.
     337Provides: perl(ExtUtils::CBuilder)
     338
     339%description ExtUtils-CBuilder
     340This module can build the C portions of Perl modules by invoking the
     341appropriate compilers and linkers in a cross-platform manner. It was motivated
     342by the Module::Build project, but may be useful for other purposes as well.
     343
     344
     345%package ExtUtils-Embed
     346Summary:        Utilities for embedding Perl in C/C++ applications
     347Group:          Development/Languages
     348License:        GPL+ or Artistic
     349Epoch:          0
     350Version:        1.28
     351Requires:       perl-devel
     352Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
     353BuildArch:      noarch
     354# fix buggy rpm autodetection, remove once rpm is fixed.
     355Provides: perl(ExtUtils::Embed)
     356
     357%description ExtUtils-Embed
     358Utilities for embedding Perl in C/C++ applications.
     359
     360
     361%package ExtUtils-MakeMaker
     362Summary:        Create a module Makefile
     363Group:          Development/Languages
     364License:        GPL+ or Artistic
     365Epoch:          0
     366Version:        6.56
     367Requires:       perl-devel
     368Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
     369Requires:       perl(Test::Harness)
     370BuildArch:      noarch
     371# fix buggy rpm autodetection, remove once rpm is fixed.
     372Provides: perl(ExtUtils::MakeMaker)
     373
     374%description ExtUtils-MakeMaker
     375Create a module Makefile.
     376
     377
     378%package ExtUtils-ParseXS
     379Summary:        Module and a script for converting Perl XS code into C code
     380Group:          Development/Libraries
     381License:        GPL+ or Artistic
     382# Epoch bump for clean upgrade over old standalone package
     383Epoch:          1
     384# We must preserve 4-digit precison since 2.2002 version
     385%global         ExtUtils_ParseXS_real_version 2.22
     386%global         ExtUtils_ParseXS_version %{ExtUtils_ParseXS_real_version}06
     387Version:        %{ExtUtils_ParseXS_version}
     388Requires:       perl-devel
     389Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
     390BuildArch:      noarch
     391Provides:       perl(ExtUtils::ParseXS) = %{ExtUtils_ParseXS_version}
     392
     393%description ExtUtils-ParseXS
     394ExtUtils::ParseXS will compile XS code into C code by embedding the constructs
     395necessary to let C functions manipulate Perl values and creates the glue
     396necessary to let Perl access those functions.
     397
     398
     399%package File-Fetch
     400Summary:        Generic file fetching mechanism
     401Group:          Development/Libraries
     402License:        GPL+ or Artistic
     403Epoch:          0
     404Version:        0.24
     405Requires:       perl(IPC::Cmd) >= 0.36
     406Requires:       perl(Module::Load::Conditional) >= 0.04
     407Requires:       perl(Params::Check) >= 0.07
     408Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
     409BuildArch:      noarch
     410# fix buggy rpm autodetection, remove once rpm is fixed.
     411Provides: perl(File::Fetch)
     412
     413%description File-Fetch
     414File::Fetch is a generic file fetching mechanism.
     415
     416
     417%package IO-Compress
     418Summary:        IO::Compress wrapper for modules
     419Group:          Development/Libraries
     420License:        GPL+ or Artistic
     421Epoch:          0
     422Version:        2.026
     423Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
     424Obsoletes:      perl-Compress-Zlib <= 2.020
     425Provides:       perl(IO::Uncompress::Bunzip2)
     426Provides:       perl(Compress::Zlib)
     427# fix buggy rpm autodetection, remove once rpm is fixed.
     428Provides: perl(IO::Compress)
     429
     430%description IO-Compress
     431This module is the base class for all IO::Compress and IO::Uncompress modules.
     432This module is not intended for direct use in application code. Its sole
     433purpose is to to be sub-classed by IO::Compress modules.
     434
     435
     436%package IO-Zlib
     437Summary:        Perl IO:: style interface to Compress::Zlib
     438Group:          Development/Libraries
     439License:        GPL+ or Artistic
     440# Epoch bump for clean upgrade over old standalone package
     441Epoch:          1
     442Version:        1.10
     443Requires:       perl(Compress::Zlib)
     444Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
     445BuildArch:      noarch
     446# fix buggy rpm autodetection, remove once rpm is fixed.
     447Provides: perl(IO::Zlib)
     448
     449%description IO-Zlib
     450This modules provides an IO:: style interface to the Compress::Zlib package.
     451The main advantage is that you can use an IO::Zlib object in much the same way
     452as an IO::File object so you can have common code that doesn't know which sort
     453of file it is using.
     454
     455
     456%package IPC-Cmd
     457Summary:        Finding and running system commands made easy
     458Group:          Development/Libraries
     459License:        GPL+ or Artistic
     460# Epoch bump for clean upgrade over old standalone package
     461Epoch:          1
     462Version:        0.54
     463Requires:       perl(ExtUtils::MakeMaker)
     464Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
     465BuildArch:      noarch
     466# fix buggy rpm autodetection, remove once rpm is fixed.
     467Provides: perl(IPC::Cmd)
     468
     469%description IPC-Cmd
     470IPC::Cmd allows you to run commands, interactively if desired, in a platform
     471independent way, but have them still work.
     472
     473
     474%package Locale-Maketext-Simple
     475Summary:        Simple interface to Locale::Maketext::Lexicon
     476Group:          Development/Libraries
     477License:        MIT
     478# Epoch bump for clean upgrade over old standalone package
     479Epoch:          1
     480Version:        0.21
     481Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
     482BuildArch:      noarch
     483# fix buggy rpm autodetection, remove once rpm is fixed.
     484Provides: perl(Locale::Maketext::Simple)
     485
     486%description Locale-Maketext-Simple
     487This module is a simple wrapper around Locale::Maketext::Lexicon, designed
     488to alleviate the need of creating Language Classes for module authors.
     489
     490
     491%package Log-Message
     492Summary:        Generic message storage mechanism
     493Group:          Development/Libraries
     494License:        GPL+ or Artistic
     495# Epoch bump for clean upgrade over old standalone package
     496Epoch:          1
     497Version:        0.02
     498Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
     499# Add a versioned provides, since we pull the unversioned one out.
     500Provides:       perl(Log::Message::Handlers) = %{version}
     501BuildArch:      noarch
     502# fix buggy rpm autodetection, remove once rpm is fixed.
     503Provides: perl(Log::Message)
     504
     505%description Log-Message
     506Log::Message is a generic message storage mechanism. It allows you to store
     507messages on a stack -- either shared or private -- and assign meta-data to it.
     508Some meta-data will automatically be added for you, like a timestamp and a
     509stack trace, but some can be filled in by the user, like a tag by which to
     510identify it or group it, and a level at which to handle the message (for
     511example, log it, or die with it).
     512
     513
     514%package Log-Message-Simple
     515Summary:        Simplified frontend to Log::Message
     516Group:          Development/Libraries
     517License:        GPL+ or Artistic
     518Epoch:          0
     519Version:        0.06
     520Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
     521BuildArch:      noarch
     522# fix buggy rpm autodetection, remove once rpm is fixed.
     523Provides: perl(Log::Message::Simple)
     524
     525%description Log-Message-Simple
     526This module provides standardized logging facilities using the
     527Log::Message module.
     528
     529
     530%package Module-Build
     531Summary:        Perl module for building and installing Perl modules
     532Group:          Development/Libraries
     533License:        GPL+ or Artistic
     534# Epoch bump for clean upgrade over old standalone package
     535Epoch:          1
     536Version:        0.3603
     537Requires:       perl(Archive::Tar) >= 1.08
     538Requires:       perl(ExtUtils::CBuilder) >= 0.15
     539Requires:       perl(ExtUtils::ParseXS) >= 1.02
     540Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
     541BuildArch:      noarch
     542# fix buggy rpm autodetection, remove once rpm is fixed.
     543Provides: perl(Module::Build)
     544
     545%description Module-Build
     546Module::Build is a system for building, testing, and installing Perl modules.
     547It is meant to be an alternative to ExtUtils::MakeMaker.  Developers may alter
     548the behavior of the module through subclassing in a much more straightforward
     549way than with MakeMaker. It also does not require a make on your system - most
     550of the Module::Build code is pure-perl and written in a very cross-platform
     551way. In fact, you don't even need a shell, so even platforms like MacOS
     552(traditional) can use it fairly easily. Its only prerequisites are modules that
     553are included with perl 5.6.0, and it works fine on perl 5.005 if you can
     554install a few additional modules.
     555
     556
     557%package Module-CoreList
     558Summary:        Perl core modules indexed by perl versions
     559Group:          Development/Languages
     560License:        GPL+ or Artistic
     561Epoch:          0
     562Version:        2.50
     563Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
     564#Requires:       perl(version)
     565BuildArch:      noarch
     566# fix buggy rpm autodetection, remove once rpm is fixed.
     567Provides: perl(Module::CoreList)
     568
     569%description Module-CoreList
     570Module::CoreList contains the hash of hashes %%Module::CoreList::version, this
     571is keyed on perl version as indicated in $].  The second level hash is module
     572=> version pairs.
     573
     574
     575%package Module-Load
     576Summary:        Runtime require of both modules and files
     577Group:          Development/Libraries
     578License:        GPL+ or Artistic
     579# Epoch bump for clean upgrade over old standalone package
     580Epoch:          1
     581Version:        0.16
     582Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
     583BuildArch:      noarch
     584# fix buggy rpm autodetection, remove once rpm is fixed.
     585Provides: perl(Module::Load)
     586
     587%description Module-Load
     588Module::Load eliminates the need to know whether you are trying to require
     589either a file or a module.
     590
     591
     592%package Module-Load-Conditional
     593Summary:        Looking up module information / loading at runtime
     594Group:          Development/Libraries
     595License:        GPL+ or Artistic
     596Epoch:          0
     597Version:        0.34
     598Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
     599BuildArch:      noarch
     600# fix buggy rpm autodetection, remove once rpm is fixed.
     601Provides: perl(Module::Load::Conditional)
     602
     603%description Module-Load-Conditional
     604Module::Load::Conditional provides simple ways to query and possibly load any
     605of the modules you have installed on your system during runtime.
     606
     607
     608%package Module-Loaded
     609Summary:        Mark modules as loaded or unloaded
     610Group:          Development/Libraries
     611License:        GPL+ or Artistic
     612# Epoch bump for clean upgrade over old standalone package
     613Epoch:          1
     614Version:        0.06
     615Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
     616BuildArch:      noarch
     617# fix buggy rpm autodetection, remove once rpm is fixed.
     618Provides: perl(Module::Loaded)
     619
     620%description Module-Loaded
     621When testing applications, often you find yourself needing to provide
     622functionality in your test environment that would usually be provided by
     623external modules. Rather than munging the %INC by hand to mark these external
     624modules as loaded, so they are not attempted to be loaded by perl, this module
     625offers you a very simple way to mark modules as loaded and/or unloaded.
     626
     627
     628%package Module-Pluggable
     629Summary:        Automatically give your module the ability to have plugins
     630Group:          Development/Libraries
     631License:        GPL+ or Artistic
     632# Epoch bump for clean upgrade over old standalone package
     633Epoch:          1
     634Version:        3.90
     635Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
     636BuildArch:      noarch
     637# fix buggy rpm autodetection, remove once rpm is fixed.
     638Provides: perl(Module::Pluggable)
     639
     640%description Module-Pluggable
     641Provides a simple but, hopefully, extensible way of having 'plugins' for your
     642module.
     643
     644
     645%package Object-Accessor
     646Summary:        Perl module that allows per object accessors
     647Group:          Development/Libraries
     648License:        GPL+ or Artistic
     649# Epoch bump for clean upgrade over old standalone package
     650Epoch:          1
     651Version:        0.36
     652Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
     653BuildArch:      noarch
     654# fix buggy rpm autodetection, remove once rpm is fixed.
     655Provides: perl(Object::Accessor)
     656
     657%description Object-Accessor
     658Object::Accessor provides an interface to create per object accessors (as
     659opposed to per Class accessors, as, for example, Class::Accessor provides).
     660
     661
     662%package Package-Constants
     663Summary:        List all constants declared in a package
     664Group:          Development/Libraries
     665License:        GPL+ or Artistic
     666# Epoch bump for clean upgrade over old standalone package
     667Epoch:          1
     668Version:        0.02
     669Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
     670BuildArch:      noarch
     671# fix buggy rpm autodetection, remove once rpm is fixed.
     672Provides: perl(Package::Constants)
     673
     674%description Package-Constants
     675Package::Constants lists all the constants defined in a certain package.  This
     676can be useful for, among others, setting up an autogenerated @EXPORT/@EXPORT_OK
     677for a Constants.pm file.
     678
     679
     680%package PathTools
     681Summary:        PathTools Perl module (Cwd, File::Spec)
     682Group:          Development/Libraries
     683License:        (GPL+ or Artistic) and BSD
     684Epoch:          0
     685Version:        3.31
     686Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
     687# fix buggy rpm autodetection, remove once rpm is fixed.
     688Provides: perl(PathTools)
     689
     690%description PathTools
     691PathTools Perl module (Cwd, File::Spec).
     692
     693
     694%package Params-Check
     695Summary:        Generic input parsing/checking mechanism
     696Group:          Development/Libraries
     697License:        GPL+ or Artistic
     698# Epoch bump for clean upgrade over old standalone package
     699Epoch:          1
     700Version:        0.26
     701Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
     702BuildArch:      noarch
     703# fix buggy rpm autodetection, remove once rpm is fixed.
     704Provides: perl(Params::Check)
     705
     706%description Params-Check
     707Params::Check is a generic input parsing/checking mechanism.
     708
     709
     710%package Parse-CPAN-Meta
     711Summary:        Parse META.yml and other similar CPAN metadata files
     712Group:          Development/Libraries
     713License:        GPL+ or Artistic
     714# Epoch bump for clean upgrade over old standalone package
     715Epoch:          1
     716Version:        1.40
     717Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
     718BuildArch:      noarch
     719# FIXME it could be removed now?
     720Obsoletes:      perl-Parse-CPAN-Meta < 1.40
     721# fix buggy rpm autodetection, remove once rpm is fixed.
     722Provides: perl(Parse::CPAN::Meta)
     723
     724%description Parse-CPAN-Meta
     725Parse::CPAN::Meta is a parser for META.yml files, based on the parser half of
     726YAML::Tiny.
     727
     728
     729%package Pod-Escapes
     730Summary:        Perl module for resolving POD escape sequences
     731Group:          Development/Libraries
     732License:        GPL+ or Artistic
     733# Epoch bump for clean upgrade over old standalone package
     734Epoch:          1
     735Version:        1.04
     736Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
     737BuildArch:      noarch
     738# fix buggy rpm autodetection, remove once rpm is fixed.
     739Provides: perl(Pod::Escapes)
     740
     741%description Pod-Escapes
     742This module provides things that are useful in decoding Pod E<...> sequences.
     743Presumably, it should be used only by Pod parsers and/or formatters.
     744
     745
     746%package Pod-Simple
     747Summary:        Framework for parsing POD documentation
     748Group:          Development/Libraries
     749License:        GPL+ or Artistic
     750# Epoch bump for clean upgrade over old standalone package
     751Epoch:          1
     752Version:        3.13
     753Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
     754BuildArch:      noarch
     755# fix buggy rpm autodetection, remove once rpm is fixed.
     756Provides: perl(Pod::Simple)
     757
     758%description Pod-Simple
     759Pod::Simple is a Perl library for parsing text in the Pod ("plain old
     760documentation") markup language that is typically used for writing
     761documentation for Perl and for Perl modules.
     762
     763%package Scalar-List-Utils
     764Summary:        A selection of general-utility scalar and list subroutines
     765Group:          Development/Libraries
     766License:        GPL+ or Artistic
     767Epoch:          0
     768Version:        1.22
     769Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
     770# fix buggy rpm autodetection, remove once rpm is fixed.
     771Provides: perl(Scalar::List::Utils)
     772
     773%description Scalar-List-Utils
     774Scalar::Util and List::Util contain a selection of subroutines that people have
     775expressed would be nice to have in the perl core, but the usage would not
     776really be high enough to warrant the use of a keyword, and the size so small
     777such that being individual extensions would be wasteful.
     778
     779
     780%package Term-UI
     781Summary:        Term::ReadLine UI made easy
     782Group:          Development/Libraries
     783License:        GPL+ or Artistic
     784Epoch:          0
     785Version:        0.20
     786Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
     787Requires:       perl(Log::Message::Simple)
     788BuildArch:      noarch
     789# fix buggy rpm autodetection, remove once rpm is fixed.
     790Provides: perl(Term::UI)
     791
     792%description Term-UI
     793Term::UI is a transparent way of eliminating the overhead of having to format
     794a question and then validate the reply, informing the user if the answer was not
     795proper and re-issuing the question.
     796
     797
     798%package Test-Harness
     799Summary:        Run Perl standard test scripts with statistics
     800Group:          Development/Languages
     801License:        GPL+ or Artistic
     802Epoch:          0
     803Version:        3.17
     804Requires:       perl-devel
     805Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
     806BuildArch:      noarch
     807# Use rewritten module perl-Test-Harness
     808Provides:       perl-TAP-Harness = 3.17
     809Obsoletes:      perl-TAP-Harness < 3.10
     810# fix buggy rpm autodetection, remove once rpm is fixed.
     811Provides: perl(Test::Harness)
     812
     813%description Test-Harness
     814Run Perl standard test scripts with statistics.
     815Use TAP::Parser, Test::Harness package was whole rewritten.
     816
     817%package Test-Simple
     818Summary:        Basic utilities for writing tests
     819Group:          Development/Languages
     820License:        GPL+ or Artistic
     821Epoch:          0
     822Version:        0.94
     823Requires:       perl-devel
     824Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
     825BuildArch:      noarch
     826# fix buggy rpm autodetection, remove once rpm is fixed.
     827Provides: perl(Test::Simple)
     828
     829%description Test-Simple
     830Basic utilities for writing tests.
     831
     832
     833%package Test-Simple-tests
     834Summary:        Test suite for package perl-Test-Simple
     835Group:          Development/Debug
     836License:        GPL+ or Artistic
     837Epoch:          0
     838Version:        0.94
     839Requires:       perl-Test-Simple = 0:0.94-%{release}
     840Requires:       /usr/bin/prove
     841AutoReqProv:    0
     842BuildArch:      noarch
     843# fix buggy rpm autodetection, remove once rpm is fixed.
     844Provides: perl(Test::Simple::tests)
     845
     846%description Test-Simple-tests
     847This package provides the test suite for package perl-Test-Simple.
     848
     849
     850%package Time-Piece
     851Summary:        Time objects from localtime and gmtime
     852Group:          Development/Libraries
     853License:        GPL+ or Artistic
     854Epoch:          0
     855Version:        1.15
     856Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
     857# fix buggy rpm autodetection, remove once rpm is fixed.
     858Provides: perl(Time::Piece)
     859
     860%description Time-Piece
     861The Time::Piece module replaces the standard localtime and gmtime functions
     862with implementations that return objects.  It does so in a backwards compatible
     863manner, so that using localtime or gmtime as documented in perlfunc still
     864behave as expected.
     865
     866
     867%package parent
     868Summary:        Establish an ISA relationship with base classes at compile time
     869Group:          Development/Libraries
     870License:        GPL+ or Artistic
     871# Epoch bump for clean upgrade over old standalone package
     872Epoch:          1
     873Version:        0.223
     874Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
     875BuildArch:      noarch
     876
     877%description parent
     878parent allows you to both load one or more modules, while setting up
     879inheritance from those modules at the same time. Mostly similar in effect to:
     880
     881    package Baz;
     882
     883    BEGIN {
     884        require Foo;
     885        require Bar;
     886       
     887        push @ISA, qw(Foo Bar);
     888    }
     889
     890
     891%package threads
     892Summary:        Perl interpreter-based threads
     893Group:          Development/Libraries
     894License:        GPL+ or Artistic
     895Epoch:          0
     896Version:        1.75
     897Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
     898
     899%description threads
     900Since Perl 5.8, thread programming has been available using a model called
     901interpreter threads  which provides a new Perl interpreter for each thread,
     902and, by default, results in no data or state information being shared between
     903threads.
     904
     905(Prior to Perl 5.8, 5005threads was available through the Thread.pm API. This
     906threading model has been deprecated, and was removed as of Perl 5.10.0.)
     907
     908As just mentioned, all variables are, by default, thread local. To use shared
     909variables, you need to also load threads::shared.
     910
     911
     912%package threads-shared
     913Summary:        Perl extension for sharing data structures between threads
     914Group:          Development/Libraries
     915License:        GPL+ or Artistic
     916Epoch:          0
     917Version:        1.32
     918Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
     919
     920%description threads-shared
     921By default, variables are private to each thread, and each newly created thread
     922gets a private copy of each existing variable. This module allows you to share
     923variables across different threads (and pseudo-forks on Win32). It is used
     924together with the threads module.  This module supports the sharing of the
     925following data types only: scalars and scalar refs, arrays and array refs, and
     926hashes and hash refs.
     927
     928
     929%package version
     930Summary:        Perl extension for Version Objects
     931Group:          Development/Libraries
     932License:        GPL+ or Artistic
     933# Epoch bump for clean upgrade over old standalone package
     934Epoch:          3
     935Version:        0.82
     936Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
     937BuildArch:      noarch
     938
     939%description version
     940Perl extension for Version Objects
     941
     942
     943%package core
     944Summary:        Base perl metapackage
     945Group:          Development/Languages
     946# This rpm doesn't contain any copyrightable material.
     947# Nevertheless, it needs a License tag, so we'll use the generic
     948# "perl" license.
     949License:        GPL+ or Artistic
     950Epoch:          0
     951Version:        %{perl_version}
     952Requires:       perl = %{perl_epoch}:%{perl_version}-%{release}
     953Requires:       perl-libs = %{perl_epoch}:%{perl_version}-%{release}
     954Requires:       perl-devel = %{perl_epoch}:%{perl_version}-%{release}
     955
     956Requires:       perl-Archive-Extract, perl-Archive-Tar, perl-Class-ISA,
     957Requires:       perl-Compress-Raw-Zlib, perl-CGI, perl-CPAN,
     958Requires:       perl-CPANPLUS, perl-Digest-SHA, perl-ExtUtils-CBuilder,
     959Requires:       perl-ExtUtils-Embed, perl-ExtUtils-MakeMaker, perl-ExtUtils-ParseXS,
     960Requires:       perl-File-Fetch, perl-IO-Compress, perl-IO-Zlib,
     961Requires:       perl-IPC-Cmd, perl-Locale-Maketext-Simple, perl-Log-Message, perl-Log-Message-Simple,
     962Requires:       perl-Module-Build, perl-Module-CoreList, perl-Module-Load,
     963Requires:       perl-Module-Load-Conditional, perl-Module-Loaded,
     964Requires:       perl-Module-Pluggable, perl-Object-Accessor, perl-Package-Constants, perl-PathTools
     965Requires:       perl-Params-Check, perl-Pod-Escapes, perl-Pod-Simple, perl-Scalar-List-Utils, perl-Term-UI
     966Requires:       perl-Test-Harness, perl-Test-Simple, perl-Time-Piece, perl-version
     967Requires:       perl-threads, perl-threads-shared, perl-parent, perl-Parse-CPAN-Meta
     968
     969%description core
     970A metapackage which requires all of the perl bits and modules in the upstream
     971tarball from perl.org.
     972
     973
     974%package debug
     975Summary: HLL debug data for exception handling support.
     976
     977%description debug
     978HLL debug data for exception handling support.
     979
     980
     981%{?perl_default_filter}
    37982%prep
    38 %setup -q -n %{name}-%{perl_version}
     983%setup -q -n perl-%{perl_version}
     984%patch1 -p1
     985
     986attrib -s -h -r "*" /s
     987
     988find . -name \*.orig -exec rm -fv {} \;
     989
     990# Oh, the irony. Perl generates some non-versioned provides we don't need.
     991# Each of these has a versioned provide, which we keep.
     992%{?filter_setup:
     993%filter_from_provides /^perl(Carp)$/d
     994%filter_from_provides /^perl(DynaLoader)$/d
     995%filter_from_provides /^perl(Locale::Maketext)$/d
     996%filter_from_provides /^perl(Log::Message::Handlers)$/d
     997%filter_from_provides /^perl(Math::BigInt)$/d
     998%filter_from_provides /^perl(Net::Config)$/d
     999%filter_from_provides /^perl(POSIX)$/d
     1000%filter_from_provides /^perl(Storable)$/d
     1001%filter_from_provides /^perl(Tie::Hash)$/d
     1002%filter_from_provides /^perl(bigint)$/d
     1003%filter_from_provides /^perl(bigrat)$/d
     1004%filter_from_provides /^perl(bytes)$/d
     1005%filter_from_provides /^perl(utf8)$/d
     1006%filter_from_provides /^perl(DB)$/d
     1007# Filter the automatically generated dependencies.
     1008%filter_from_requires /^perl(FCGI)/d
     1009%filter_from_requires /^perl(Mac::/d
     1010%filter_from_requires /^perl(Tk)/d
     1011%filter_from_requires /^perl(Tk::/d
     1012%filter_from_requires /^perl(Your::Module::Here)/d
     1013# Filter less specific versions
     1014%filter_from_provides /^perl(ExtUtils::ParseXS) = %{ExtUtils_ParseXS_real_version}$/d
     1015%?perl_default_filter
     1016}
     1017
     1018# Configure Compress::Zlib to use system zlib
     1019sed -i 's|BUILD_ZLIB      = True|BUILD_ZLIB      = False|
     1020    s|INCLUDE         = ./zlib-src|INCLUDE         = %{_includedir}|
     1021    s|LIB             = ./zlib-src|LIB             = %{_libdir}|' \
     1022    cpan/Compress-Raw-Zlib/config.in
    391023
    401024%build
     1025echo "RPM Build arch: %{_arch}"
     1026
     1027# use "lib", not %%{_lib}, for privlib, sitelib, and vendorlib
     1028# To build production version, we would need -DDEBUGGING=-g
     1029
     1030# Perl INC path (perl -V) in search order:
     1031# - /usr/local/share/perl5            -- for CPAN     (site lib)
     1032# - /usr/local/lib[64]/perl5          -- for CPAN     (site arch)
     1033# - /usr/share/perl5/vendor_perl      -- 3rd party    (vendor lib)
     1034# - /usr/lib[64]/perl5/vendor_perl    -- 3rd party    (vendor arch)
     1035# - /usr/share/perl5                  -- Fedora       (priv lib)
     1036# - /usr/lib[64]/perl5                -- Fedora       (arch lib)
     1037
     1038%global privlib     %{_prefix}/share/perl5
     1039%global archlib     %{_libdir}/perl5
     1040
     1041%global perl_vendorlib  %{privlib}/vendor_perl
     1042%global perl_vendorarch %{archlib}/vendor_perl
     1043
     1044# For perl-5.14.2-large-repeat-heap-abuse.patch
     1045perl regen.pl -v
     1046
     1047export CONFIG_SHELL="/@unixroot/usr/bin/sh.exe"
     1048export LANG=""
     1049
     1050sh Configure -des -Doptimize="$RPM_OPT_FLAGS" \
     1051        -DDEBUGGING=-g \
     1052        -Dversion=%{perl_version} \
     1053        -Dmyhostname=localhost \
     1054        -Dperladmin=root@localhost \
     1055        -Dcc='%{__cc}' \
     1056        -Dsh='/@unixroot/usr/bin/sh.exe' \
     1057        -Dsed='sed' \
     1058        -Dln='ln' \
     1059        -Dcf_by='Netlabs.org' \
     1060        -Dprefix=%{_prefix} \
     1061        -Dvendorprefix=%{_prefix} \
     1062        -Dsiteprefix=%{_prefix}/local \
     1063        -Dsitelib="%{_prefix}/local/share/perl5" \
     1064        -Dsitearch="%{_prefix}/local/%{_lib}/perl5" \
     1065        -Dprivlib="%{privlib}" \
     1066        -Dvendorlib="%{perl_vendorlib}" \
     1067        -Darchlib="%{archlib}" \
     1068        -Dvendorarch="%{perl_vendorarch}" \
     1069%ifarch %{multilib_64_archs}
     1070        -Dlibpth="/usr/local/lib64 /lib64 %{_prefix}/lib64" \
     1071%endif
     1072%ifarch sparc sparcv9
     1073        -Ud_longdbl \
     1074%endif
     1075        -Duseshrplib \
     1076        -Duselargefiles \
     1077        -Dman3ext=3pm \
     1078        -Duseperlio \
     1079        -Dinstallusrbinperl=n \
     1080        -Ubincompat5005 \
     1081        -Uversiononly \
     1082        -Dpager='/@unixroot/usr/bin/less -isr' \
     1083        -Dd_gethostent_r_proto -Ud_endhostent_r_proto -Ud_sethostent_r_proto \
     1084        -Ud_endprotoent_r_proto -Ud_setprotoent_r_proto \
     1085        -Ud_endservent_r_proto -Ud_setservent_r_proto \
     1086        -Dscriptdir='%{_bindir}'
     1087
     1088#        -Dd_semctl_semun \
     1089#        -Di_db \
     1090#        -Ui_ndbm \
     1091#        -Di_gdbm \
     1092#        -Di_syslog \
     1093#        -Dccdlflags="-Wl,--enable-new-dtags" \
     1094#        -Di_shadow \
     1095#        -Dusethreads \
     1096#        -Duseithreads \
     1097#        -Darchname=%{perl_archname} \
     1098# -Dusedtrace='/@unixroot/usr/bin/dtrace' \
     1099# -Duseshrplib creates libperl.so, -Ubincompat5005 help create DSO -> libperl.so
     1100
     1101# fix /@unixroot paths
     1102sed -i 's#.:/usr#/@unixroot/usr#gi' config.sh
     1103sed -i 's#.:/mptn#/@bootroot/mptn#gi' config.sh
     1104
     1105make os2.o
     1106perl make_patchnum.pl
     1107# SMP build not working
     1108make
    411109
    421110%install
    43 rm -rf %{buildroot}
    44 mkdir -p %{buildroot}%{_bindir}
    45 
    46 cp -p usr/bin/perl %{buildroot}%{_bindir}
     1111rm -rf $RPM_BUILD_ROOT
     1112
     1113# YD install only binaries, man pages are failing.
     1114./perl installperl --destdir=$RPM_BUILD_ROOT
     1115
     1116# symlink main executable for rpm scripts
     1117ln -s %{_bindir}/perl.exe %{buildroot}%{_bindir}/perl
     1118
     1119%global build_archlib $RPM_BUILD_ROOT%{archlib}
     1120%global build_privlib $RPM_BUILD_ROOT%{privlib}
     1121%global build_bindir  $RPM_BUILD_ROOT%{_bindir}
     1122%global new_perl LD_PRELOAD="%{build_archlib}/CORE/libperl.so" \\\
     1123    LD_LIBRARY_PATH="%{build_archlib}/CORE" \\\
     1124    PERL5LIB="%{build_archlib}:%{build_privlib}" \\\
     1125    %{build_bindir}/perl
     1126
     1127#install -p -m 755 utils/pl2pm %{build_bindir}/pl2pm
     1128
     1129for i in asm/termios.h syscall.h syslimits.h syslog.h \
     1130    sys/ioctl.h sys/socket.h sys/time.h wait.h
     1131do
     1132    %{new_perl} %{build_bindir}/h2ph -a -d %{build_archlib} $i || true
     1133done
     1134
     1135# vendor directories (in this case for third party rpms)
     1136# perl doesn't create the auto subdirectory, but modules put things in it,
     1137# so we need to own it.
     1138
     1139mkdir -p $RPM_BUILD_ROOT%{perl_vendorarch}/auto
     1140mkdir -p $RPM_BUILD_ROOT%{perl_vendorlib}
     1141
     1142#
     1143# libnet configuration file
     1144#
     1145#install -p -m 644 %{SOURCE2} %{build_privlib}/Net/libnet.cfg
     1146
     1147#
     1148# perl RPM macros
     1149#
     1150#mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/rpm
     1151#install -p -m 644 %{SOURCE3} ${RPM_BUILD_ROOT}%{_sysconfdir}/rpm/
     1152
     1153#
     1154# Core modules removal
     1155#
     1156find $RPM_BUILD_ROOT -type f -name '*.bs' -empty | xargs rm -f
     1157
     1158chmod -R u+w $RPM_BUILD_ROOT/*
     1159
     1160# miniperl? As an interpreter? How odd. Anyway, a symlink does it:
     1161rm %{build_privlib}/ExtUtils/xsubpp
     1162ln -s ../../../bin/xsubpp %{build_privlib}/ExtUtils/
     1163
     1164# Don't need the .packlist
     1165rm %{build_archlib}/.packlist
     1166
     1167# Fix some manpages to be UTF-8
     1168#mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1/
     1169#pushd $RPM_BUILD_ROOT%{_mandir}/man1/
     1170#  for i in perl588delta.1 perldelta.1 ; do
     1171#    iconv -f MS-ANSI -t UTF-8 $i --output new-$i
     1172#    rm $i
     1173#    mv new-$i $i
     1174#  done
     1175#popd
     1176
     1177# for now, remove Bzip2:
     1178find $RPM_BUILD_ROOT -name Bzip2 | xargs rm -r
     1179find $RPM_BUILD_ROOT -name '*B*zip2*'| xargs rm
     1180
     1181# tests -- FIXME need to validate that this all works as expected
     1182mkdir -p %{buildroot}%{perl5_testdir}/perl-tests
     1183
     1184# "core"
     1185tar -cf - t/ | ( cd %{buildroot}%{perl5_testdir}/perl-tests && tar -xf - )
     1186
     1187# "dual-lifed"
     1188for dir in `find ext/ -type d -name t -maxdepth 2` ; do
     1189
     1190    tar -cf - $dir | ( cd %{buildroot}%{perl5_testdir}/perl-tests/t && tar -xf - )
     1191done
     1192
     1193# Selected "Dual-lifed cpan" packages
     1194#pushd cpan
     1195#for package in Test-Simple; do
     1196#    for dir in `find ${package} -type d -name t -maxdepth 2` ; do
     1197#        tar -cf - $dir | ( cd %{buildroot}%{perl5_testdir} && tar -xf - )
     1198#    done
     1199#done
     1200#popd
     1201
     1202# Systemtap tapset install
     1203mkdir -p %{buildroot}%{tapsetdir}
     1204%ifarch %{multilib_64_archs}
     1205%global libperl_stp libperl%{perl_version}-64.stp
     1206%else
     1207%global libperl_stp libperl%{perl_version}-32.stp
     1208%endif
     1209
     1210#sed \
     1211#  -e "s|LIBRARY_PATH|%{archlib}/CORE/libperl.so|" \
     1212#  %{SOURCE4} \
     1213#  > %{buildroot}%{tapsetdir}/%{libperl_stp}
     1214
     1215# TODO: Canonicalize test files (rewrite intrerpreter path, fix permissions)
     1216# XXX: We cannot rewrite ./perl before %%check phase. Otherwise the test
     1217# would run against system perl at build-time.
     1218# See __spec_check_pre global macro in macros.perl.
     1219#T_FILES=`find %%{buildroot}%%{perl5_testdir} -type f -name '*.t'`
     1220#%%fix_shbang_line $T_FILES
     1221#%%{__chmod} +x $T_FILES
     1222#%%{_fixperms} %%{buildroot}%%{perl5_testdir}
    471223
    481224%clean
    49 rm -rf %{buildroot}
     1225rm -rf $RPM_BUILD_ROOT
    501226
    511227%files
     1228%defattr(-,root,root,-)
     1229%doc Artistic AUTHORS Copying README Changes
     1230## {_mandir}/man1/*.1*
     1231## {_mandir}/man3/*.3*
     1232%{_bindir}/*
     1233%{privlib}
     1234%{archlib}
     1235%{perl_vendorlib}
     1236
     1237
     1238# libs
     1239#%exclude %{archlib}/CORE/libperl.so
     1240%exclude %{perl_vendorarch}
     1241
     1242# devel
     1243%exclude %{_bindir}/enc2xs
     1244#%exclude ## {_mandir}/man1/enc2xs*
     1245%exclude %{privlib}/Encode/
     1246%exclude %{_bindir}/h2xs
     1247#%exclude ## {_mandir}/man1/h2xs*
     1248%exclude %{_bindir}/libnetcfg
     1249#%exclude ## {_mandir}/man1/libnetcfg*
     1250%exclude %{_bindir}/perlivp
     1251#%exclude ## {_mandir}/man1/perlivp*
     1252%exclude %{archlib}/CORE/*.h
     1253#%exclude ## {_mandir}/man1/perlxs*
     1254
     1255# Archive-Extract
     1256%exclude %{privlib}/Archive/Extract.pm
     1257#%exclude ## {_mandir}/man3/Archive::Extract.3*
     1258
     1259# Archive-Tar
     1260%exclude %{_bindir}/ptar
     1261%exclude %{_bindir}/ptardiff
     1262%exclude %{privlib}/Archive/Tar/
     1263%exclude %{privlib}/Archive/Tar.pm
     1264#%exclude ## {_mandir}/man1/ptar.1*
     1265#%exclude ## {_mandir}/man1/ptardiff.1*
     1266#%exclude ## {_mandir}/man3/Archive::Tar*
     1267
     1268# Class-ISA
     1269#%exclude %{privlib}/Class/ISA.pm
     1270#%exclude ## {_mandir}/man3/Class::ISA.3*
     1271
     1272# CGI
     1273%exclude %{privlib}/CGI/
     1274%exclude %{privlib}/CGI.pm
     1275#%exclude ## {_mandir}/man3/CGI.3*
     1276#%exclude ## {_mandir}/man3/CGI::*.3*
     1277
     1278# CPAN
     1279%exclude %{_bindir}/cpan
     1280%exclude %{privlib}/CPAN/
     1281%exclude %{privlib}/CPAN.pm
     1282#%exclude ## {_mandir}/man1/cpan.1*
     1283#%exclude ## {_mandir}/man3/CPAN.*
     1284#%exclude ## {_mandir}/man3/CPAN:*
     1285
     1286# Parse-CPAN-Meta
     1287%exclude %dir %{privlib}/Parse/
     1288%exclude %dir %{privlib}/Parse/CPAN/
     1289%exclude %{privlib}/Parse/CPAN/Meta.pm
     1290#%exclude ## {_mandir}/man3/Parse::CPAN::Meta.3*
     1291
     1292# CPANPLUS
     1293%exclude %{_bindir}/cpan2dist
     1294%exclude %{_bindir}/cpanp
     1295%exclude %{_bindir}/cpanp-run-perl
     1296%exclude %{privlib}/CPANPLUS/
     1297%exclude %{privlib}/CPANPLUS.pm
     1298#%exclude ## {_mandir}/man1/cpan2dist.1*
     1299#%exclude ## {_mandir}/man1/cpanp.1*
     1300#%exclude ## {_mandir}/man3/CPANPLUS*
     1301
     1302# Compress::Raw::Zlib
     1303%exclude %{archlib}/Compress/Raw/
     1304%exclude %{archlib}/auto/Compress
     1305%exclude %{archlib}/auto/Compress/Raw/
     1306%exclude %{archlib}/auto/Compress/Raw/Zlib/
     1307#%exclude ## {_mandir}/man3/Compress::Raw::Zlib*
     1308
     1309# Digest::SHA
     1310%exclude %{_bindir}/shasum
     1311%exclude %{archlib}/Digest/SHA.pm
     1312%exclude %{archlib}/auto/Digest/SHA/
     1313#%exclude ## {_mandir}/man1/shasum.1*
     1314#%exclude ## {_mandir}/man3/Digest::SHA.3*
     1315
     1316# ExtUtils::CBuilder
     1317%exclude %{privlib}/ExtUtils/CBuilder/
     1318%exclude %{privlib}/ExtUtils/CBuilder.pm
     1319#%exclude ## {_mandir}/man3/ExtUtils::CBuilder*
     1320
     1321# ExtUtils::Embed
     1322%exclude %{privlib}/ExtUtils/Embed.pm
     1323#%exclude ## {_mandir}/man3/ExtUtils::Embed*
     1324
     1325# ExtUtils::MakeMaker
     1326%exclude %{_bindir}/instmodsh
     1327%exclude %{privlib}/ExtUtils/Command/
     1328%exclude %{privlib}/ExtUtils/Install.pm
     1329%exclude %{privlib}/ExtUtils/Installed.pm
     1330%exclude %{privlib}/ExtUtils/Liblist/
     1331%exclude %{privlib}/ExtUtils/Liblist.pm
     1332%exclude %{privlib}/ExtUtils/MakeMaker/
     1333%exclude %{privlib}/ExtUtils/MakeMaker.pm
     1334%exclude %{privlib}/ExtUtils/MANIFEST.SKIP
     1335%exclude %{privlib}/ExtUtils/MM*.pm
     1336%exclude %{privlib}/ExtUtils/MY.pm
     1337%exclude %{privlib}/ExtUtils/Manifest.pm
     1338%exclude %{privlib}/ExtUtils/Mkbootstrap.pm
     1339%exclude %{privlib}/ExtUtils/Mksymlists.pm
     1340%exclude %{privlib}/ExtUtils/Packlist.pm
     1341%exclude %{privlib}/ExtUtils/testlib.pm
     1342#%exclude ## {_mandir}/man1/instmodsh.1*
     1343#%exclude ## {_mandir}/man3/ExtUtils::Command::MM*
     1344#%exclude ## {_mandir}/man3/ExtUtils::Install.3*
     1345#%exclude ## {_mandir}/man3/ExtUtils::Installed.3*
     1346#%exclude ## {_mandir}/man3/ExtUtils::Liblist.3*
     1347#%exclude ## {_mandir}/man3/ExtUtils::MM*
     1348#%exclude ## {_mandir}/man3/ExtUtils::MY.3*
     1349#%exclude ## {_mandir}/man3/ExtUtils::MakeMaker*
     1350#%exclude ## {_mandir}/man3/ExtUtils::Manifest.3*
     1351#%exclude ## {_mandir}/man3/ExtUtils::Mkbootstrap.3*
     1352#%exclude ## {_mandir}/man3/ExtUtils::Mksymlists.3*
     1353#%exclude ## {_mandir}/man3/ExtUtils::Packlist.3*
     1354#%exclude ## {_mandir}/man3/ExtUtils::testlib.3*
     1355
     1356# ExtUtils::ParseXS
     1357%exclude %{privlib}/ExtUtils/ParseXS.pm
     1358%exclude %{privlib}/ExtUtils/xsubpp
     1359%exclude %{_bindir}/xsubpp
     1360#%exclude ## {_mandir}/man1/xsubpp*
     1361#%exclude ## {_mandir}/man3/ExtUtils::ParseXS.3*
     1362
     1363# File::Fetch
     1364%exclude %{privlib}/File/Fetch.pm
     1365#%exclude ## {_mandir}/man3/File::Fetch.3*
     1366
     1367# IO::Compress
     1368
     1369# Compress::Zlib
     1370%exclude %{privlib}/Compress/Zlib.pm
     1371#%exclude %{archlib}/auto/Compress/Zlib/
     1372#%exclude ## {_mandir}/man3/Compress::Zlib*
     1373# IO::Compress::Base
     1374%exclude %{privlib}/File/GlobMapper.pm
     1375%exclude %{privlib}/IO/Compress/Base/
     1376%exclude %{privlib}/IO/Compress/Base.pm
     1377%exclude %{privlib}/IO/Uncompress/AnyUncompress.pm
     1378%exclude %{privlib}/IO/Uncompress/Base.pm
     1379#%exclude ## {_mandir}/man3/File::GlobMapper.*
     1380#%exclude ## {_mandir}/man3/IO::Compress::Base.*
     1381#%exclude ## {_mandir}/man3/IO::Uncompress::AnyUncompress.*
     1382#%exclude ## {_mandir}/man3/IO::Uncompress::Base.*
     1383# IO::Compress::Zlib
     1384%exclude %{privlib}/IO/Compress/Adapter/
     1385%exclude %{privlib}/IO/Compress/Deflate.pm
     1386%exclude %{privlib}/IO/Compress/Gzip/
     1387%exclude %{privlib}/IO/Compress/Gzip.pm
     1388%exclude %{privlib}/IO/Compress/RawDeflate.pm
     1389%exclude %{privlib}/IO/Compress/Zip/
     1390%exclude %{privlib}/IO/Compress/Zip.pm
     1391%exclude %{privlib}/IO/Compress/Zlib/
     1392%exclude %{privlib}/IO/Uncompress/Adapter/
     1393%exclude %{privlib}/IO/Uncompress/AnyInflate.pm
     1394%exclude %{privlib}/IO/Uncompress/Gunzip.pm
     1395%exclude %{privlib}/IO/Uncompress/Inflate.pm
     1396%exclude %{privlib}/IO/Uncompress/RawInflate.pm
     1397%exclude %{privlib}/IO/Uncompress/Unzip.pm
     1398#%exclude ## {_mandir}/man3/IO::Compress::Deflate*
     1399#%exclude ## {_mandir}/man3/IO::Compress::Gzip*
     1400#%exclude ## {_mandir}/man3/IO::Compress::RawDeflate*
     1401#%exclude ## {_mandir}/man3/IO::Compress::Zip*
     1402#%exclude ## {_mandir}/man3/IO::Uncompress::AnyInflate*
     1403#%exclude ## {_mandir}/man3/IO::Uncompress::Gunzip*
     1404#%exclude ## {_mandir}/man3/IO::Uncompress::Inflate*
     1405#%exclude ## {_mandir}/man3/IO::Uncompress::RawInflate*
     1406#%exclude ## {_mandir}/man3/IO::Uncompress::Unzip*
     1407
     1408# IO::Zlib
     1409%exclude %{privlib}/IO/Zlib.pm
     1410#%exclude ## {_mandir}/man3/IO::Zlib.*
     1411
     1412# IPC::Cmd
     1413%exclude %{privlib}/IPC/Cmd.pm
     1414#%exclude ## {_mandir}/man3/IPC::Cmd.3*
     1415
     1416# Locale::Maketext::Simple
     1417%exclude %{privlib}/Locale/Maketext/Simple.pm
     1418#%exclude ## {_mandir}/man3/Locale::Maketext::Simple.*
     1419
     1420# Log::Message
     1421%exclude %{privlib}/Log/Message.pm
     1422%exclude %{privlib}/Log/Message/Config.pm
     1423%exclude %{privlib}/Log/Message/Handlers.pm
     1424%exclude %{privlib}/Log/Message/Item.pm
     1425#%exclude ## {_mandir}/man3/Log::Message.3*
     1426#%exclude ## {_mandir}/man3/Log::Message::Config.3*
     1427#%exclude ## {_mandir}/man3/Log::Message::Handlers.3*
     1428#%exclude ## {_mandir}/man3/Log::Message::Item.3*
     1429
     1430# Log::Message::Simple
     1431%exclude %{privlib}/Log/Message/Simple.pm
     1432#%exclude ## {_mandir}/man3/Log::Message::Simple.3*
     1433
     1434# Module::Build
     1435%exclude %{_bindir}/config_data
     1436%exclude %{privlib}/inc/
     1437%exclude %{privlib}/Module/Build/
     1438%exclude %{privlib}/Module/Build.pm
     1439#%exclude ## {_mandir}/man1/config_data.1*
     1440#%exclude ## {_mandir}/man3/Module::Build*
     1441#%exclude ## {_mandir}/man3/inc::latest.3*
     1442
     1443# Module-CoreList
     1444%exclude %{_bindir}/corelist
     1445%exclude %{privlib}/Module/CoreList.pm
     1446#%exclude ## {_mandir}/man1/corelist*
     1447#%exclude ## {_mandir}/man3/Module::CoreList*
     1448
     1449# Module-Load
     1450%exclude %{privlib}/Module/Load.pm
     1451#%exclude ## {_mandir}/man3/Module::Load.*
     1452
     1453# Module-Load-Conditional
     1454%exclude %{privlib}/Module/Load/
     1455#%exclude ## {_mandir}/man3/Module::Load::Conditional*
     1456
     1457# Module-Loaded
     1458%exclude %{privlib}/Module/Loaded.pm
     1459#%exclude ## {_mandir}/man3/Module::Loaded*
     1460
     1461# Module-Pluggable
     1462%exclude %{privlib}/Devel/InnerPackage.pm
     1463%exclude %{privlib}/Module/Pluggable/
     1464%exclude %{privlib}/Module/Pluggable.pm
     1465#%exclude ## {_mandir}/man3/Devel::InnerPackage*
     1466#%exclude ## {_mandir}/man3/Module::Pluggable*
     1467
     1468# Object-Accessor
     1469%exclude %{privlib}/Object/
     1470#%exclude ## {_mandir}/man3/Object::Accessor*
     1471
     1472# Package-Constants
     1473%exclude %{privlib}/Package/
     1474#%exclude ## {_mandir}/man3/Package::Constants*
     1475
     1476# PathTools
     1477%exclude %{archlib}/Cwd.pm
     1478%exclude %{archlib}/File/Spec*
     1479%exclude %{archlib}/auto/Cwd/
     1480#%exclude ## {_mandir}/man3/Cwd*
     1481#%exclude ## {_mandir}/man3/File::Spec*
     1482
     1483# Params-Check
     1484%exclude %{privlib}/Params/
     1485#%exclude ## {_mandir}/man3/Params::Check*
     1486
     1487# parent
     1488%exclude %{privlib}/parent.pm
     1489#%exclude ## {_mandir}/man3/parent.3*
     1490
     1491# Pod-Escapes
     1492%exclude %{privlib}/Pod/Escapes.pm
     1493#%exclude ## {_mandir}/man3/Pod::Escapes.*
     1494
     1495# Pod-Simple
     1496%exclude %{privlib}/Pod/Simple/
     1497%exclude %{privlib}/Pod/Simple.pm
     1498%exclude %{privlib}/Pod/Simple.pod
     1499#%exclude ## {_mandir}/man3/Pod::Simple*
     1500
     1501# Scalar-List-Utils
     1502%exclude %{archlib}/List/
     1503%exclude %{archlib}/Scalar/
     1504%exclude %{archlib}/auto/List/
     1505#%exclude ## {_mandir}/man3/List::Util*
     1506#%exclude ## {_mandir}/man3/Scalar::Util*
     1507
     1508# Term-UI
     1509%exclude %{privlib}/Term/UI.pm
     1510%exclude %{privlib}/Term/UI/
     1511#%exclude ## {_mandir}/man3/Term::UI*
     1512
     1513# Test::Harness
     1514%exclude %{_bindir}/prove
     1515%exclude %{privlib}/App*
     1516%exclude %{privlib}/TAP*
     1517%exclude %{privlib}/Test/Harness*
     1518#%exclude ## {_mandir}/man1/prove.1*
     1519#%exclude ## {_mandir}/man3/App*
     1520#%exclude ## {_mandir}/man3/TAP*
     1521#%exclude ## {_mandir}/man3/Test::Harness*
     1522
     1523# Test::Simple
     1524%exclude %{privlib}/Test/More*
     1525%exclude %{privlib}/Test/Builder*
     1526%exclude %{privlib}/Test/Simple*
     1527%exclude %{privlib}/Test/Tutorial*
     1528#%exclude ## {_mandir}/man3/Test::More*
     1529#%exclude ## {_mandir}/man3/Test::Builder*
     1530#%exclude ## {_mandir}/man3/Test::Simple*
     1531#%exclude ## {_mandir}/man3/Test::Tutorial*
     1532
     1533# Time::Piece
     1534%exclude %{archlib}/Time/Piece.pm
     1535%exclude %{archlib}/Time/Seconds.pm
     1536%exclude %{archlib}/auto/Time/Piece/
     1537#%exclude ## {_mandir}/man3/Time::Piece.3*
     1538#%exclude ## {_mandir}/man3/Time::Seconds.3*
     1539
     1540# threads
     1541#%dir %exclude %{archlib}/auto/threads
     1542#%exclude %{archlib}/auto/threads/threads*
     1543%exclude %{archlib}/threads.pm
     1544#%exclude ## {_mandir}/man3/threads.3*
     1545
     1546# threads-shared
     1547%exclude %{archlib}/auto/threads/shared*
     1548%exclude %dir %{archlib}/threads
     1549%exclude %{archlib}/threads/shared*
     1550#%exclude ## {_mandir}/man3/threads::shared*
     1551
     1552# version
     1553%exclude %{privlib}/version.pm
     1554%exclude %{privlib}/version.pod
     1555%exclude %{privlib}/version/
     1556#%exclude ## {_mandir}/man3/version.3*
     1557#%exclude ## {_mandir}/man3/version::Internals.3*
     1558
     1559%files libs
    521560%defattr(-,root,root)
    53 %{_bindir}/perl
     1561%{_libdir}/*.dll
     1562%dir %{archlib}
     1563%dir %{perl_vendorarch}
     1564%dir %{perl_vendorarch}/auto
     1565
     1566%files devel
     1567%defattr(-,root,root,-)
     1568%{_bindir}/enc2xs
     1569## {_mandir}/man1/enc2xs*
     1570%{privlib}/Encode/
     1571%{_bindir}/h2xs
     1572## {_mandir}/man1/h2xs*
     1573%{_bindir}/libnetcfg
     1574## {_mandir}/man1/libnetcfg*
     1575%{_bindir}/perlivp
     1576## {_mandir}/man1/perlivp*
     1577%{archlib}/CORE/*.h
     1578## {_mandir}/man1/perlxs*
     1579#%attr(0644,root,root) %{_sysconfdir}/rpm/macros.perl
     1580#%{tapsetdir}/%{libperl_stp}
     1581#%doc perl-example.stp
     1582
     1583%files tests
     1584%defattr(-,root,root,-)
     1585%{perl5_testdir}/
     1586#%exclude %{perl5_testdir}/Test-Simple
     1587
     1588%files Archive-Extract
     1589%defattr(-,root,root,-)
     1590%{privlib}/Archive/Extract.pm
     1591## {_mandir}/man3/Archive::Extract.3*
     1592
     1593%files Archive-Tar
     1594%defattr(-,root,root,-)
     1595%{_bindir}/ptar
     1596%{_bindir}/ptardiff
     1597%{privlib}/Archive/Tar/
     1598%{privlib}/Archive/Tar.pm
     1599## {_mandir}/man1/ptar.1*
     1600## {_mandir}/man1/ptardiff.1*
     1601## {_mandir}/man3/Archive::Tar*
     1602
     1603%files Class-ISA
     1604%defattr(-,root,root,-)
     1605#%{privlib}/Class/ISA.pm
     1606## {_mandir}/man3/Class::ISA.3*
     1607
     1608%files CGI
     1609%defattr(-,root,root,-)
     1610%{privlib}/CGI/
     1611%{privlib}/CGI.pm
     1612## {_mandir}/man3/CGI.3*
     1613## {_mandir}/man3/CGI::*.3*
     1614
     1615%files Compress-Raw-Zlib
     1616%defattr(-,root,root,-)
     1617%dir %{archlib}/Compress
     1618%{archlib}/Compress/Raw/
     1619%dir %{archlib}/auto/Compress/
     1620%dir %{archlib}/auto/Compress/Raw/
     1621%{archlib}/auto/Compress/Raw/Zlib/
     1622## {_mandir}/man3/Compress::Raw::Zlib*
     1623
     1624%files CPAN
     1625%defattr(-,root,root,-)
     1626%{_bindir}/cpan
     1627%{privlib}/CPAN/
     1628%{privlib}/CPAN.pm
     1629## {_mandir}/man1/cpan.1*
     1630## {_mandir}/man3/CPAN.*
     1631## {_mandir}/man3/CPAN:*
     1632
     1633%files CPANPLUS
     1634%defattr(-,root,root,-)
     1635%{_bindir}/cpan2dist
     1636%{_bindir}/cpanp
     1637%{_bindir}/cpanp-run-perl
     1638%{privlib}/CPANPLUS/
     1639%{privlib}/CPANPLUS.pm
     1640## {_mandir}/man1/cpan2dist.1*
     1641## {_mandir}/man1/cpanp.1*
     1642## {_mandir}/man3/CPANPLUS*
     1643
     1644%files Digest-SHA
     1645%defattr(-,root,root,-)
     1646%{_bindir}/shasum
     1647%dir %{archlib}/Digest/
     1648%{archlib}/Digest/SHA.pm
     1649%{archlib}/auto/Digest/SHA/
     1650## {_mandir}/man1/shasum.1*
     1651## {_mandir}/man3/Digest::SHA.3*
     1652
     1653%files ExtUtils-CBuilder
     1654%defattr(-,root,root,-)
     1655%{privlib}/ExtUtils/CBuilder/
     1656%{privlib}/ExtUtils/CBuilder.pm
     1657## {_mandir}/man3/ExtUtils::CBuilder*
     1658
     1659%files ExtUtils-Embed
     1660%defattr(-,root,root,-)
     1661%{privlib}/ExtUtils/Embed.pm
     1662## {_mandir}/man3/ExtUtils::Embed*
     1663
     1664%files ExtUtils-MakeMaker
     1665%defattr(-,root,root,-)
     1666%{_bindir}/instmodsh
     1667%{privlib}/ExtUtils/Command/
     1668%{privlib}/ExtUtils/Install.pm
     1669%{privlib}/ExtUtils/Installed.pm
     1670%{privlib}/ExtUtils/Liblist/
     1671%{privlib}/ExtUtils/Liblist.pm
     1672%{privlib}/ExtUtils/MakeMaker/
     1673%{privlib}/ExtUtils/MakeMaker.pm
     1674%{privlib}/ExtUtils/MANIFEST.SKIP
     1675%{privlib}/ExtUtils/MM*.pm
     1676%{privlib}/ExtUtils/MY.pm
     1677%{privlib}/ExtUtils/Manifest.pm
     1678%{privlib}/ExtUtils/Mkbootstrap.pm
     1679%{privlib}/ExtUtils/Mksymlists.pm
     1680%{privlib}/ExtUtils/Packlist.pm
     1681%{privlib}/ExtUtils/testlib.pm
     1682## {_mandir}/man1/instmodsh.1*
     1683## {_mandir}/man3/ExtUtils::Command::MM*
     1684## {_mandir}/man3/ExtUtils::Install.3*
     1685## {_mandir}/man3/ExtUtils::Installed.3*
     1686## {_mandir}/man3/ExtUtils::Liblist.3*
     1687## {_mandir}/man3/ExtUtils::MM*
     1688## {_mandir}/man3/ExtUtils::MY.3*
     1689## {_mandir}/man3/ExtUtils::MakeMaker*
     1690## {_mandir}/man3/ExtUtils::Manifest.3*
     1691## {_mandir}/man3/ExtUtils::Mkbootstrap.3*
     1692## {_mandir}/man3/ExtUtils::Mksymlists.3*
     1693## {_mandir}/man3/ExtUtils::Packlist.3*
     1694## {_mandir}/man3/ExtUtils::testlib.3*
     1695
     1696%files ExtUtils-ParseXS
     1697%defattr(-,root,root,-)
     1698%{privlib}/ExtUtils/ParseXS.pm
     1699%{privlib}/ExtUtils/xsubpp
     1700%{_bindir}/xsubpp
     1701## {_mandir}/man1/xsubpp*
     1702## {_mandir}/man3/ExtUtils::ParseXS.3*
     1703
     1704%files File-Fetch
     1705%defattr(-,root,root,-)
     1706%{privlib}/File/Fetch.pm
     1707## {_mandir}/man3/File::Fetch.3*
     1708
     1709%files IO-Compress
     1710%defattr(-,root,root,-)
     1711# Compress-Zlib
     1712%{privlib}/Compress/Zlib.pm
     1713#%{archlib}/auto/Compress/Zlib/
     1714## {_mandir}/man3/Compress::Zlib*
     1715#IO-Compress-Base
     1716%{privlib}/File/GlobMapper.pm
     1717%{privlib}/IO/Compress/Base/
     1718%{privlib}/IO/Compress/Base.pm
     1719%{privlib}/IO/Uncompress/AnyUncompress.pm
     1720%{privlib}/IO/Uncompress/Base.pm
     1721## {_mandir}/man3/File::GlobMapper.*
     1722## {_mandir}/man3/IO::Compress::Base.*
     1723## {_mandir}/man3/IO::Uncompress::AnyUncompress.*
     1724## {_mandir}/man3/IO::Uncompress::Base.*
     1725
     1726# IO-Compress-Zlib
     1727%defattr(-,root,root,-)
     1728%{privlib}/IO/Compress/Adapter/
     1729%{privlib}/IO/Compress/Deflate.pm
     1730%{privlib}/IO/Compress/Gzip/
     1731%{privlib}/IO/Compress/Gzip.pm
     1732%{privlib}/IO/Compress/RawDeflate.pm
     1733%{privlib}/IO/Compress/Zip/
     1734%{privlib}/IO/Compress/Zip.pm
     1735%{privlib}/IO/Compress/Zlib/
     1736%{privlib}/IO/Uncompress/Adapter/
     1737%{privlib}/IO/Uncompress/AnyInflate.pm
     1738%{privlib}/IO/Uncompress/Gunzip.pm
     1739%{privlib}/IO/Uncompress/Inflate.pm
     1740%{privlib}/IO/Uncompress/RawInflate.pm
     1741%{privlib}/IO/Uncompress/Unzip.pm
     1742## {_mandir}/man3/IO::Compress::Deflate*
     1743## {_mandir}/man3/IO::Compress::Gzip*
     1744## {_mandir}/man3/IO::Compress::RawDeflate*
     1745## {_mandir}/man3/IO::Compress::Zip*
     1746## {_mandir}/man3/IO::Uncompress::AnyInflate*
     1747## {_mandir}/man3/IO::Uncompress::Gunzip*
     1748## {_mandir}/man3/IO::Uncompress::Inflate*
     1749## {_mandir}/man3/IO::Uncompress::RawInflate*
     1750## {_mandir}/man3/IO::Uncompress::Unzip*
     1751
     1752%files IO-Zlib
     1753%defattr(-,root,root,-)
     1754%{privlib}/IO/Zlib.pm
     1755## {_mandir}/man3/IO::Zlib.*
     1756
     1757%files IPC-Cmd
     1758%defattr(-,root,root,-)
     1759%{privlib}/IPC/Cmd.pm
     1760## {_mandir}/man3/IPC::Cmd.3*
     1761
     1762%files Locale-Maketext-Simple
     1763%defattr(-,root,root,-)
     1764%{privlib}/Locale/Maketext/Simple.pm
     1765## {_mandir}/man3/Locale::Maketext::Simple.*
     1766
     1767%files Log-Message
     1768%defattr(-,root,root,-)
     1769%{privlib}/Log/Message.pm
     1770%{privlib}/Log/Message/Config.pm
     1771%{privlib}/Log/Message/Handlers.pm
     1772%{privlib}/Log/Message/Item.pm
     1773## {_mandir}/man3/Log::Message.3*
     1774## {_mandir}/man3/Log::Message::Config.3*
     1775## {_mandir}/man3/Log::Message::Handlers.3*
     1776## {_mandir}/man3/Log::Message::Item.3*
     1777
     1778%files Log-Message-Simple
     1779%defattr(-,root,root,-)
     1780%{privlib}/Log/Message/Simple.pm
     1781## {_mandir}/man3/Log::Message::Simple.3*
     1782
     1783%files Module-Build
     1784%defattr(-,root,root,-)
     1785%{_bindir}/config_data
     1786%{privlib}/inc/
     1787%{privlib}/Module/Build/
     1788%{privlib}/Module/Build.pm
     1789## {_mandir}/man1/config_data.1*
     1790## {_mandir}/man3/Module::Build*
     1791## {_mandir}/man3/inc::latest.3*
     1792
     1793%files Module-CoreList
     1794%defattr(-,root,root,-)
     1795%{_bindir}/corelist
     1796%{privlib}/Module/CoreList.pm
     1797## {_mandir}/man1/corelist*
     1798## {_mandir}/man3/Module::CoreList*
     1799
     1800%files Module-Load
     1801%defattr(-,root,root,-)
     1802%{privlib}/Module/Load.pm
     1803## {_mandir}/man3/Module::Load.*
     1804
     1805%files Module-Load-Conditional
     1806%defattr(-,root,root,-)
     1807%{privlib}/Module/Load/
     1808## {_mandir}/man3/Module::Load::Conditional*
     1809
     1810%files Module-Loaded
     1811%defattr(-,root,root,-)
     1812%dir %{privlib}/Module/
     1813%{privlib}/Module/Loaded.pm
     1814## {_mandir}/man3/Module::Loaded*
     1815
     1816%files Module-Pluggable
     1817%defattr(-,root,root,-)
     1818%{privlib}/Devel/InnerPackage.pm
     1819%{privlib}/Module/Pluggable/
     1820%{privlib}/Module/Pluggable.pm
     1821## {_mandir}/man3/Devel::InnerPackage*
     1822## {_mandir}/man3/Module::Pluggable*
     1823
     1824%files Object-Accessor
     1825%defattr(-,root,root,-)
     1826%{privlib}/Object/
     1827## {_mandir}/man3/Object::Accessor*
     1828
     1829%files Package-Constants
     1830%defattr(-,root,root,-)
     1831%{privlib}/Package/
     1832## {_mandir}/man3/Package::Constants*
     1833
     1834%files PathTools
     1835%defattr(-,root,root,-)
     1836%{archlib}/Cwd.pm
     1837%{archlib}/File/Spec*
     1838%{archlib}/auto/Cwd/
     1839## {_mandir}/man3/Cwd*
     1840## {_mandir}/man3/File::Spec*
     1841
     1842%files Params-Check
     1843%defattr(-,root,root,-)
     1844%{privlib}/Params/
     1845## {_mandir}/man3/Params::Check*
     1846
     1847%files Parse-CPAN-Meta
     1848%defattr(-,root,root,-)
     1849%dir %{privlib}/Parse/
     1850%dir %{privlib}/Parse/CPAN/
     1851%{privlib}/Parse/CPAN/Meta.pm
     1852## {_mandir}/man3/Parse::CPAN::Meta.3*
     1853
     1854%files Pod-Escapes
     1855%defattr(-,root,root,-)
     1856%{privlib}/Pod/Escapes.pm
     1857## {_mandir}/man3/Pod::Escapes.*
     1858
     1859%files Pod-Simple
     1860%defattr(-,root,root,-)
     1861%{privlib}/Pod/Simple/
     1862%{privlib}/Pod/Simple.pm
     1863%{privlib}/Pod/Simple.pod
     1864## {_mandir}/man3/Pod::Simple*
     1865
     1866%files Scalar-List-Utils
     1867%defattr(-,root,root,-)
     1868%{archlib}/List/
     1869%{archlib}/Scalar/
     1870%{archlib}/auto/List/
     1871## {_mandir}/man3/List::Util*
     1872## {_mandir}/man3/Scalar::Util*
     1873
     1874%files Term-UI
     1875%defattr(-,root,root,-)
     1876%{privlib}/Term/UI/
     1877%{privlib}/Term/UI.pm
     1878## {_mandir}/man3/Term::UI*
     1879
     1880%files Test-Harness
     1881%defattr(-,root,root,-)
     1882%{_bindir}/prove
     1883%{privlib}/App*
     1884%{privlib}/TAP*
     1885%{privlib}/Test/Harness*
     1886## {_mandir}/man1/prove.1*
     1887## {_mandir}/man3/App*
     1888## {_mandir}/man3/TAP*
     1889## {_mandir}/man3/Test::Harness*
     1890
     1891%files Test-Simple
     1892%defattr(-,root,root,-)
     1893%{privlib}/Test/More*
     1894%{privlib}/Test/Builder*
     1895%{privlib}/Test/Simple*
     1896%{privlib}/Test/Tutorial*
     1897## {_mandir}/man3/Test::More*
     1898## {_mandir}/man3/Test::Builder*
     1899## {_mandir}/man3/Test::Simple*
     1900## {_mandir}/man3/Test::Tutorial*
     1901
     1902%files Test-Simple-tests
     1903%defattr(-,root,root,-)
     1904%dir %{perl5_testdir}
     1905#%{perl5_testdir}/Test-Simple
     1906
     1907%files Time-Piece
     1908%defattr(-,root,root,-)
     1909%{archlib}/Time/Piece.pm
     1910%{archlib}/Time/Seconds.pm
     1911%{archlib}/auto/Time/Piece/       
     1912## {_mandir}/man3/Time::Piece.3*
     1913## {_mandir}/man3/Time::Seconds.3*
     1914
     1915%files parent
     1916%defattr(-,root,root,-)
     1917%{privlib}/parent.pm
     1918## {_mandir}/man3/parent.3*
     1919
     1920%files threads
     1921%defattr(-,root,root,-)
     1922%dir %{archlib}/auto/threads
     1923#%{archlib}/auto/threads/threads*
     1924%{archlib}/threads.pm
     1925## {_mandir}/man3/threads.3*
     1926
     1927%files threads-shared
     1928%defattr(-,root,root,-)
     1929%{archlib}/auto/threads/shared*
     1930%dir %{archlib}/threads
     1931%{archlib}/threads/shared*
     1932## {_mandir}/man3/threads::shared*
     1933
     1934%files version
     1935%defattr(-,root,root,-)
     1936%{privlib}/version.pm
     1937%{privlib}/version.pod
     1938%{privlib}/version/
     1939## {_mandir}/man3/version.3*
     1940## {_mandir}/man3/version::Internals.3*
     1941
     1942%files core
     1943# Nothing. Nada. Zilch. Zarro. Uh uh. Nope. Sorry.
     1944
     1945%files debug
     1946%defattr(-,root,root)
     1947%{_libdir}/*.dbg
     1948
     1949%changelog
     1950* Wed Aug 13 2014 yd
     1951- first public release build.
     1952- added debug package with symbolic info for exceptq.
     1953- r745, Fix endless loop when calling shell script with invalid #! magic.
     1954- r744, Support symlinked shells in scripts in system() and similar calls.
     1955- r743, Fix building of minitperl on OS/2.
Note: See TracChangeset for help on using the changeset viewer.