Changeset 435 for spec/trunk/SPECS/perl.spec
- Timestamp:
- Aug 14, 2014, 2:21:50 PM (11 years ago)
- 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 4 19 5 20 Name: perl 6 21 Version: %{perl_version} 7 Release: 3%{?dist} 22 # release number must be even higher, becase dual-lived modules will be broken otherwise 23 Release: 1%{?dist} 8 24 Epoch: %{perl_epoch} 9 Summary: The Perl programming language25 Summary: Practical Extraction and Report Language 10 26 Group: Development/Languages 11 27 # Modules Tie::File and Getopt::Long are licenced under "GPLv2+ or Artistic," 12 28 # 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 33 License: (GPL+ or Artistic) and (GPLv2+ or Artistic) and Copyright Only and MIT and Public Domain and UCD 16 34 Url: 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 35 Source0: http://www.cpan.org/src/5.0/perl-%{perl_version}.tar.gz 36 37 Patch1: perl-os2.patch 38 39 # Update some of the bundled modules 40 # see http://fedoraproject.org/wiki/Perl/perl.spec for instructions 41 42 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) 43 BuildRequires: 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 51 Provides: perl(VMS::Filespec) 52 Provides: perl(VMS::Stdio) 53 54 # Compat provides 55 Provides: perl(:MODULE_COMPAT_5.12.4) 56 Provides: perl(:MODULE_COMPAT_5.12.3) 57 Provides: perl(:MODULE_COMPAT_5.12.2) 58 Provides: perl(:MODULE_COMPAT_5.12.1) 59 Provides: perl(:MODULE_COMPAT_5.12.0) 60 61 # Threading provides 62 Provides: perl(:WITH_ITHREADS) 63 Provides: perl(:WITH_THREADS) 64 # Largefile provides 65 Provides: perl(:WITH_LARGEFILES) 66 # PerlIO provides 67 Provides: perl(:WITH_PERLIO) 68 # File provides 69 Provides: perl(abbrev.pl) 70 Provides: perl(assert.pl) 71 Provides: perl(bigfloat.pl) 72 Provides: perl(bigint.pl) 73 Provides: perl(bigrat.pl) 74 Provides: perl(bytes_heavy.pl) 75 Provides: perl(cacheout.pl) 76 Provides: perl(complete.pl) 77 Provides: perl(ctime.pl) 78 Provides: perl(dotsh.pl) 79 Provides: perl(dumpvar.pl) 80 Provides: perl(exceptions.pl) 81 Provides: perl(fastcwd.pl) 82 Provides: perl(find.pl) 83 Provides: perl(finddepth.pl) 84 Provides: perl(flush.pl) 85 Provides: perl(ftp.pl) 86 Provides: perl(getcwd.pl) 87 Provides: perl(getopt.pl) 88 Provides: perl(getopts.pl) 89 Provides: perl(hostname.pl) 90 Provides: perl(importenv.pl) 91 Provides: perl(look.pl) 92 Provides: perl(newgetopt.pl) 93 Provides: perl(open2.pl) 94 Provides: perl(open3.pl) 95 Provides: perl(perl5db.pl) 96 Provides: perl(pwd.pl) 97 Provides: perl(shellwords.pl) 98 Provides: perl(stat.pl) 99 Provides: perl(syslog.pl) 100 Provides: perl(tainted.pl) 101 Provides: perl(termcap.pl) 102 Provides: perl(timelocal.pl) 103 Provides: perl(utf8_heavy.pl) 104 Provides: perl(validate.pl) 105 Provides: perl(Carp::Heavy) 106 107 # Long history in 3rd-party repositories: 108 Provides: perl-File-Temp = 0.22 109 Obsoletes: perl-File-Temp < 0.20 110 111 # suidperl isn't created by upstream since 5.12.0 112 Obsoletes: perl-suidperl <= 4:5.12.2 113 114 Requires: 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. 118 Requires(post): perl-libs 119 22 120 23 121 %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 122 Perl is a high-level programming language with roots in C, sed, awk and shell 123 scripting. Perl is good at handling processes and files, and is especially 124 good at handling text. Perl's hallmarks are practicality and efficiency. 125 While it is used to do a lot of different things, Perl's most common 126 applications are system administration utilities and web programming. A large 127 proportion of the CGI scripts on the web are written in Perl. You need the 128 perl package installed on your system so that your system can handle Perl 32 129 scripts. 33 130 34 Install this package if you want to program in Perl or enable your 35 system to handle Perl scripts. 36 131 Install this package if you want to program in Perl or enable your system to 132 handle Perl scripts. 133 134 %package libs 135 Summary: The libraries for the perl runtime 136 Group: Development/Languages 137 License: GPL+ or Artistic 138 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} 139 140 %description libs 141 The libraries for the perl runtime 142 143 144 %package devel 145 Summary: Header #files for use in perl development 146 Group: Development/Languages 147 License: GPL+ or Artistic 148 #Requires: systemtap-sdt-devel 149 Requires: perl(ExtUtils::ParseXS) 150 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} 151 152 %description devel 153 This package contains header files and development modules. 154 Most perl packages will need to install perl-devel to build. 155 156 %package tests 157 Summary: The Perl test suite 158 Group: Development/Languages 159 License: GPL+ or Artistic 160 # right? 161 AutoReqProv: 0 162 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} 163 # FIXME - note this will need to change when doing the core/minimal swizzle 164 Requires: perl-core 165 166 %description tests 167 This package contains the test suite included with Perl %{perl_version}. 168 169 Install this if you want to test your Perl installation (binary and core 170 modules). 171 172 173 %package Archive-Extract 174 Summary: Generic archive extracting mechanism 175 Group: Development/Libraries 176 License: GPL+ or Artistic 177 # Epoch bump for clean upgrade over old standalone package 178 Epoch: 1 179 Version: 0.38 180 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} 181 BuildArch: noarch 182 # fix buggy rpm autodetection, remove once rpm is fixed. 183 Provides: perl(Archive::Extract) 184 185 %description Archive-Extract 186 Archive::Extract is a generic archive extraction mechanism. 187 188 189 %package Archive-Tar 190 Summary: A module for Perl manipulation of .tar files 191 Group: Development/Libraries 192 License: GPL+ or Artistic 193 Epoch: 0 194 Version: 1.54 195 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} 196 Requires: perl(Compress::Zlib) 197 Requires: perl(IO::Zlib) 198 BuildArch: noarch 199 # fix buggy rpm autodetection, remove once rpm is fixed. 200 Provides: perl(Archive::Tar) 201 202 %description Archive-Tar 203 Archive::Tar provides an object oriented mechanism for handling tar files. It 204 provides class methods for quick and easy files handling while also allowing 205 for the creation of tar file objects for custom manipulation. If you have the 206 IO::Zlib module installed, Archive::Tar will also support compressed or 207 gzipped tar files. 208 209 210 %package Class-ISA 211 Summary: Report the search path for a class's ISA tree 212 Group: Development/Libraries 213 License: GPL+ or Artistic 214 Epoch: 0 215 Version: 0.36 216 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} 217 BuildArch: noarch 218 # fix buggy rpm autodetection, remove once rpm is fixed. 219 Provides: perl(Class::ISA) 220 221 %description Class-ISA 222 Suppose you have a class (like Food::Fish::Fishstick) that is derived, via 223 its @ISA, from one or more superclasses (as Food::Fish::Fishstick is from 224 Food::Fish, Life::Fungus, and Chemicals), and some of those superclasses 225 may themselves each be derived, via its @ISA, from one or more superclasses 226 (as above). 227 228 229 %package CGI 230 Summary: Handle Common Gateway Interface requests and responses 231 Group: Development/Libraries 232 License: GPL+ or Artistic 233 Epoch: 0 234 Version: 3.49 235 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} 236 BuildArch: noarch 237 # fix buggy rpm autodetection, remove once rpm is fixed. 238 Provides: perl(CGI) 239 240 %description CGI 241 CGI.pm is a stable, complete and mature solution for processing and preparing 242 HTTP requests and responses. Major features including processing form 243 submissions, file uploads, reading and writing cookies, query string generation 244 and manipulation, and processing and preparing HTTP headers. Some HTML 245 generation utilities are included as well. 246 247 CGI.pm performs very well in in a vanilla CGI.pm environment and also comes 248 with built-in support for mod_perl and mod_perl2 as well as FastCGI. 249 250 251 %package Compress-Raw-Zlib 252 Summary: Low-Level Interface to the zlib compression library 253 Group: Development/Libraries 254 License: GPL+ or Artistic 255 Epoch: 0 256 Version: 2.024 257 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} 258 # fix buggy rpm autodetection, remove once rpm is fixed. 259 Provides: perl(Compress::Raw::Zlib) 260 261 %description Compress-Raw-Zlib 262 This module provides a Perl interface to the zlib compression library. 263 It is used by IO::Compress::Zlib. 264 265 266 %package CPAN 267 Summary: Query, download and build perl modules from CPAN sites 268 Group: Development/Languages 269 License: GPL+ or Artistic 270 Epoch: 0 271 Version: 1.9402 272 # CPAN encourages Digest::SHA strongly because of integrity checks 273 Requires: perl(Digest::SHA) 274 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} 275 Provides: cpan = %{version} 276 BuildArch: noarch 277 # fix buggy rpm autodetection, remove once rpm is fixed. 278 Provides: perl(CPAN) 279 Requires: perl(PathTools), perl(ExtUtils::MakeMaker), perl(Scalar::List::Utils) 280 281 %description CPAN 282 Query, download and build perl modules from CPAN sites. 283 284 285 %package CPANPLUS 286 Summary: API & CLI access to the CPAN mirrors 287 Group: Development/Libraries 288 License: GPL+ or Artistic 289 Epoch: 0 290 Version: 0.90 291 # CPANPLUS encourages Digest::SHA strongly because of integrity checks 292 Requires: perl(Digest::SHA) 293 Requires: perl(Module::Pluggable) >= 2.4 294 Requires: perl(Module::CoreList) 295 #Requires: perl(DBIx::Simple) 296 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} 297 Provides: perl-CPANPLUS-Dist-Build = 0.06 298 Obsoletes: perl-CPANPLUS-Dist-Build <= 0.05 299 BuildArch: noarch 300 # fix buggy rpm autodetection, remove once rpm is fixed. 301 Provides: perl(CPANPLUS) 302 303 %description CPANPLUS 304 The CPANPLUS library is an API to the CPAN mirrors and a collection of 305 interactive shells, commandline programs, etc, that use this API. 306 307 308 %package Digest-SHA 309 Summary: Perl extension for SHA-1/224/256/384/512 310 Group: Development/Libraries 311 License: GPL+ or Artistic 312 # Epoch bump for clean upgrade over old standalone package 313 Epoch: 1 314 Version: 5.47 315 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} 316 # fix buggy rpm autodetection, remove once rpm is fixed. 317 Provides: perl(Digest::SHA) 318 319 %description Digest-SHA 320 Digest::SHA is a complete implementation of the NIST Secure Hash 321 Standard. It gives Perl programmers a convenient way to calculate 322 SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512 message digests. The 323 module can handle all types of input, including partial-byte data. 324 325 326 %package ExtUtils-CBuilder 327 Summary: Compile and link C code for Perl modules 328 Group: Development/Libraries 329 License: GPL+ or Artistic 330 # Epoch bump for clean upgrade over old standalone package 331 Epoch: 1 332 Version: 0.27 333 Requires: perl-devel 334 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} 335 BuildArch: noarch 336 # fix buggy rpm autodetection, remove once rpm is fixed. 337 Provides: perl(ExtUtils::CBuilder) 338 339 %description ExtUtils-CBuilder 340 This module can build the C portions of Perl modules by invoking the 341 appropriate compilers and linkers in a cross-platform manner. It was motivated 342 by the Module::Build project, but may be useful for other purposes as well. 343 344 345 %package ExtUtils-Embed 346 Summary: Utilities for embedding Perl in C/C++ applications 347 Group: Development/Languages 348 License: GPL+ or Artistic 349 Epoch: 0 350 Version: 1.28 351 Requires: perl-devel 352 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} 353 BuildArch: noarch 354 # fix buggy rpm autodetection, remove once rpm is fixed. 355 Provides: perl(ExtUtils::Embed) 356 357 %description ExtUtils-Embed 358 Utilities for embedding Perl in C/C++ applications. 359 360 361 %package ExtUtils-MakeMaker 362 Summary: Create a module Makefile 363 Group: Development/Languages 364 License: GPL+ or Artistic 365 Epoch: 0 366 Version: 6.56 367 Requires: perl-devel 368 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} 369 Requires: perl(Test::Harness) 370 BuildArch: noarch 371 # fix buggy rpm autodetection, remove once rpm is fixed. 372 Provides: perl(ExtUtils::MakeMaker) 373 374 %description ExtUtils-MakeMaker 375 Create a module Makefile. 376 377 378 %package ExtUtils-ParseXS 379 Summary: Module and a script for converting Perl XS code into C code 380 Group: Development/Libraries 381 License: GPL+ or Artistic 382 # Epoch bump for clean upgrade over old standalone package 383 Epoch: 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 387 Version: %{ExtUtils_ParseXS_version} 388 Requires: perl-devel 389 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} 390 BuildArch: noarch 391 Provides: perl(ExtUtils::ParseXS) = %{ExtUtils_ParseXS_version} 392 393 %description ExtUtils-ParseXS 394 ExtUtils::ParseXS will compile XS code into C code by embedding the constructs 395 necessary to let C functions manipulate Perl values and creates the glue 396 necessary to let Perl access those functions. 397 398 399 %package File-Fetch 400 Summary: Generic file fetching mechanism 401 Group: Development/Libraries 402 License: GPL+ or Artistic 403 Epoch: 0 404 Version: 0.24 405 Requires: perl(IPC::Cmd) >= 0.36 406 Requires: perl(Module::Load::Conditional) >= 0.04 407 Requires: perl(Params::Check) >= 0.07 408 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} 409 BuildArch: noarch 410 # fix buggy rpm autodetection, remove once rpm is fixed. 411 Provides: perl(File::Fetch) 412 413 %description File-Fetch 414 File::Fetch is a generic file fetching mechanism. 415 416 417 %package IO-Compress 418 Summary: IO::Compress wrapper for modules 419 Group: Development/Libraries 420 License: GPL+ or Artistic 421 Epoch: 0 422 Version: 2.026 423 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} 424 Obsoletes: perl-Compress-Zlib <= 2.020 425 Provides: perl(IO::Uncompress::Bunzip2) 426 Provides: perl(Compress::Zlib) 427 # fix buggy rpm autodetection, remove once rpm is fixed. 428 Provides: perl(IO::Compress) 429 430 %description IO-Compress 431 This module is the base class for all IO::Compress and IO::Uncompress modules. 432 This module is not intended for direct use in application code. Its sole 433 purpose is to to be sub-classed by IO::Compress modules. 434 435 436 %package IO-Zlib 437 Summary: Perl IO:: style interface to Compress::Zlib 438 Group: Development/Libraries 439 License: GPL+ or Artistic 440 # Epoch bump for clean upgrade over old standalone package 441 Epoch: 1 442 Version: 1.10 443 Requires: perl(Compress::Zlib) 444 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} 445 BuildArch: noarch 446 # fix buggy rpm autodetection, remove once rpm is fixed. 447 Provides: perl(IO::Zlib) 448 449 %description IO-Zlib 450 This modules provides an IO:: style interface to the Compress::Zlib package. 451 The main advantage is that you can use an IO::Zlib object in much the same way 452 as an IO::File object so you can have common code that doesn't know which sort 453 of file it is using. 454 455 456 %package IPC-Cmd 457 Summary: Finding and running system commands made easy 458 Group: Development/Libraries 459 License: GPL+ or Artistic 460 # Epoch bump for clean upgrade over old standalone package 461 Epoch: 1 462 Version: 0.54 463 Requires: perl(ExtUtils::MakeMaker) 464 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} 465 BuildArch: noarch 466 # fix buggy rpm autodetection, remove once rpm is fixed. 467 Provides: perl(IPC::Cmd) 468 469 %description IPC-Cmd 470 IPC::Cmd allows you to run commands, interactively if desired, in a platform 471 independent way, but have them still work. 472 473 474 %package Locale-Maketext-Simple 475 Summary: Simple interface to Locale::Maketext::Lexicon 476 Group: Development/Libraries 477 License: MIT 478 # Epoch bump for clean upgrade over old standalone package 479 Epoch: 1 480 Version: 0.21 481 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} 482 BuildArch: noarch 483 # fix buggy rpm autodetection, remove once rpm is fixed. 484 Provides: perl(Locale::Maketext::Simple) 485 486 %description Locale-Maketext-Simple 487 This module is a simple wrapper around Locale::Maketext::Lexicon, designed 488 to alleviate the need of creating Language Classes for module authors. 489 490 491 %package Log-Message 492 Summary: Generic message storage mechanism 493 Group: Development/Libraries 494 License: GPL+ or Artistic 495 # Epoch bump for clean upgrade over old standalone package 496 Epoch: 1 497 Version: 0.02 498 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} 499 # Add a versioned provides, since we pull the unversioned one out. 500 Provides: perl(Log::Message::Handlers) = %{version} 501 BuildArch: noarch 502 # fix buggy rpm autodetection, remove once rpm is fixed. 503 Provides: perl(Log::Message) 504 505 %description Log-Message 506 Log::Message is a generic message storage mechanism. It allows you to store 507 messages on a stack -- either shared or private -- and assign meta-data to it. 508 Some meta-data will automatically be added for you, like a timestamp and a 509 stack trace, but some can be filled in by the user, like a tag by which to 510 identify it or group it, and a level at which to handle the message (for 511 example, log it, or die with it). 512 513 514 %package Log-Message-Simple 515 Summary: Simplified frontend to Log::Message 516 Group: Development/Libraries 517 License: GPL+ or Artistic 518 Epoch: 0 519 Version: 0.06 520 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} 521 BuildArch: noarch 522 # fix buggy rpm autodetection, remove once rpm is fixed. 523 Provides: perl(Log::Message::Simple) 524 525 %description Log-Message-Simple 526 This module provides standardized logging facilities using the 527 Log::Message module. 528 529 530 %package Module-Build 531 Summary: Perl module for building and installing Perl modules 532 Group: Development/Libraries 533 License: GPL+ or Artistic 534 # Epoch bump for clean upgrade over old standalone package 535 Epoch: 1 536 Version: 0.3603 537 Requires: perl(Archive::Tar) >= 1.08 538 Requires: perl(ExtUtils::CBuilder) >= 0.15 539 Requires: perl(ExtUtils::ParseXS) >= 1.02 540 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} 541 BuildArch: noarch 542 # fix buggy rpm autodetection, remove once rpm is fixed. 543 Provides: perl(Module::Build) 544 545 %description Module-Build 546 Module::Build is a system for building, testing, and installing Perl modules. 547 It is meant to be an alternative to ExtUtils::MakeMaker. Developers may alter 548 the behavior of the module through subclassing in a much more straightforward 549 way than with MakeMaker. It also does not require a make on your system - most 550 of the Module::Build code is pure-perl and written in a very cross-platform 551 way. 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 553 are included with perl 5.6.0, and it works fine on perl 5.005 if you can 554 install a few additional modules. 555 556 557 %package Module-CoreList 558 Summary: Perl core modules indexed by perl versions 559 Group: Development/Languages 560 License: GPL+ or Artistic 561 Epoch: 0 562 Version: 2.50 563 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} 564 #Requires: perl(version) 565 BuildArch: noarch 566 # fix buggy rpm autodetection, remove once rpm is fixed. 567 Provides: perl(Module::CoreList) 568 569 %description Module-CoreList 570 Module::CoreList contains the hash of hashes %%Module::CoreList::version, this 571 is keyed on perl version as indicated in $]. The second level hash is module 572 => version pairs. 573 574 575 %package Module-Load 576 Summary: Runtime require of both modules and files 577 Group: Development/Libraries 578 License: GPL+ or Artistic 579 # Epoch bump for clean upgrade over old standalone package 580 Epoch: 1 581 Version: 0.16 582 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} 583 BuildArch: noarch 584 # fix buggy rpm autodetection, remove once rpm is fixed. 585 Provides: perl(Module::Load) 586 587 %description Module-Load 588 Module::Load eliminates the need to know whether you are trying to require 589 either a file or a module. 590 591 592 %package Module-Load-Conditional 593 Summary: Looking up module information / loading at runtime 594 Group: Development/Libraries 595 License: GPL+ or Artistic 596 Epoch: 0 597 Version: 0.34 598 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} 599 BuildArch: noarch 600 # fix buggy rpm autodetection, remove once rpm is fixed. 601 Provides: perl(Module::Load::Conditional) 602 603 %description Module-Load-Conditional 604 Module::Load::Conditional provides simple ways to query and possibly load any 605 of the modules you have installed on your system during runtime. 606 607 608 %package Module-Loaded 609 Summary: Mark modules as loaded or unloaded 610 Group: Development/Libraries 611 License: GPL+ or Artistic 612 # Epoch bump for clean upgrade over old standalone package 613 Epoch: 1 614 Version: 0.06 615 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} 616 BuildArch: noarch 617 # fix buggy rpm autodetection, remove once rpm is fixed. 618 Provides: perl(Module::Loaded) 619 620 %description Module-Loaded 621 When testing applications, often you find yourself needing to provide 622 functionality in your test environment that would usually be provided by 623 external modules. Rather than munging the %INC by hand to mark these external 624 modules as loaded, so they are not attempted to be loaded by perl, this module 625 offers you a very simple way to mark modules as loaded and/or unloaded. 626 627 628 %package Module-Pluggable 629 Summary: Automatically give your module the ability to have plugins 630 Group: Development/Libraries 631 License: GPL+ or Artistic 632 # Epoch bump for clean upgrade over old standalone package 633 Epoch: 1 634 Version: 3.90 635 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} 636 BuildArch: noarch 637 # fix buggy rpm autodetection, remove once rpm is fixed. 638 Provides: perl(Module::Pluggable) 639 640 %description Module-Pluggable 641 Provides a simple but, hopefully, extensible way of having 'plugins' for your 642 module. 643 644 645 %package Object-Accessor 646 Summary: Perl module that allows per object accessors 647 Group: Development/Libraries 648 License: GPL+ or Artistic 649 # Epoch bump for clean upgrade over old standalone package 650 Epoch: 1 651 Version: 0.36 652 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} 653 BuildArch: noarch 654 # fix buggy rpm autodetection, remove once rpm is fixed. 655 Provides: perl(Object::Accessor) 656 657 %description Object-Accessor 658 Object::Accessor provides an interface to create per object accessors (as 659 opposed to per Class accessors, as, for example, Class::Accessor provides). 660 661 662 %package Package-Constants 663 Summary: List all constants declared in a package 664 Group: Development/Libraries 665 License: GPL+ or Artistic 666 # Epoch bump for clean upgrade over old standalone package 667 Epoch: 1 668 Version: 0.02 669 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} 670 BuildArch: noarch 671 # fix buggy rpm autodetection, remove once rpm is fixed. 672 Provides: perl(Package::Constants) 673 674 %description Package-Constants 675 Package::Constants lists all the constants defined in a certain package. This 676 can be useful for, among others, setting up an autogenerated @EXPORT/@EXPORT_OK 677 for a Constants.pm file. 678 679 680 %package PathTools 681 Summary: PathTools Perl module (Cwd, File::Spec) 682 Group: Development/Libraries 683 License: (GPL+ or Artistic) and BSD 684 Epoch: 0 685 Version: 3.31 686 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} 687 # fix buggy rpm autodetection, remove once rpm is fixed. 688 Provides: perl(PathTools) 689 690 %description PathTools 691 PathTools Perl module (Cwd, File::Spec). 692 693 694 %package Params-Check 695 Summary: Generic input parsing/checking mechanism 696 Group: Development/Libraries 697 License: GPL+ or Artistic 698 # Epoch bump for clean upgrade over old standalone package 699 Epoch: 1 700 Version: 0.26 701 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} 702 BuildArch: noarch 703 # fix buggy rpm autodetection, remove once rpm is fixed. 704 Provides: perl(Params::Check) 705 706 %description Params-Check 707 Params::Check is a generic input parsing/checking mechanism. 708 709 710 %package Parse-CPAN-Meta 711 Summary: Parse META.yml and other similar CPAN metadata files 712 Group: Development/Libraries 713 License: GPL+ or Artistic 714 # Epoch bump for clean upgrade over old standalone package 715 Epoch: 1 716 Version: 1.40 717 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} 718 BuildArch: noarch 719 # FIXME it could be removed now? 720 Obsoletes: perl-Parse-CPAN-Meta < 1.40 721 # fix buggy rpm autodetection, remove once rpm is fixed. 722 Provides: perl(Parse::CPAN::Meta) 723 724 %description Parse-CPAN-Meta 725 Parse::CPAN::Meta is a parser for META.yml files, based on the parser half of 726 YAML::Tiny. 727 728 729 %package Pod-Escapes 730 Summary: Perl module for resolving POD escape sequences 731 Group: Development/Libraries 732 License: GPL+ or Artistic 733 # Epoch bump for clean upgrade over old standalone package 734 Epoch: 1 735 Version: 1.04 736 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} 737 BuildArch: noarch 738 # fix buggy rpm autodetection, remove once rpm is fixed. 739 Provides: perl(Pod::Escapes) 740 741 %description Pod-Escapes 742 This module provides things that are useful in decoding Pod E<...> sequences. 743 Presumably, it should be used only by Pod parsers and/or formatters. 744 745 746 %package Pod-Simple 747 Summary: Framework for parsing POD documentation 748 Group: Development/Libraries 749 License: GPL+ or Artistic 750 # Epoch bump for clean upgrade over old standalone package 751 Epoch: 1 752 Version: 3.13 753 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} 754 BuildArch: noarch 755 # fix buggy rpm autodetection, remove once rpm is fixed. 756 Provides: perl(Pod::Simple) 757 758 %description Pod-Simple 759 Pod::Simple is a Perl library for parsing text in the Pod ("plain old 760 documentation") markup language that is typically used for writing 761 documentation for Perl and for Perl modules. 762 763 %package Scalar-List-Utils 764 Summary: A selection of general-utility scalar and list subroutines 765 Group: Development/Libraries 766 License: GPL+ or Artistic 767 Epoch: 0 768 Version: 1.22 769 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} 770 # fix buggy rpm autodetection, remove once rpm is fixed. 771 Provides: perl(Scalar::List::Utils) 772 773 %description Scalar-List-Utils 774 Scalar::Util and List::Util contain a selection of subroutines that people have 775 expressed would be nice to have in the perl core, but the usage would not 776 really be high enough to warrant the use of a keyword, and the size so small 777 such that being individual extensions would be wasteful. 778 779 780 %package Term-UI 781 Summary: Term::ReadLine UI made easy 782 Group: Development/Libraries 783 License: GPL+ or Artistic 784 Epoch: 0 785 Version: 0.20 786 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} 787 Requires: perl(Log::Message::Simple) 788 BuildArch: noarch 789 # fix buggy rpm autodetection, remove once rpm is fixed. 790 Provides: perl(Term::UI) 791 792 %description Term-UI 793 Term::UI is a transparent way of eliminating the overhead of having to format 794 a question and then validate the reply, informing the user if the answer was not 795 proper and re-issuing the question. 796 797 798 %package Test-Harness 799 Summary: Run Perl standard test scripts with statistics 800 Group: Development/Languages 801 License: GPL+ or Artistic 802 Epoch: 0 803 Version: 3.17 804 Requires: perl-devel 805 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} 806 BuildArch: noarch 807 # Use rewritten module perl-Test-Harness 808 Provides: perl-TAP-Harness = 3.17 809 Obsoletes: perl-TAP-Harness < 3.10 810 # fix buggy rpm autodetection, remove once rpm is fixed. 811 Provides: perl(Test::Harness) 812 813 %description Test-Harness 814 Run Perl standard test scripts with statistics. 815 Use TAP::Parser, Test::Harness package was whole rewritten. 816 817 %package Test-Simple 818 Summary: Basic utilities for writing tests 819 Group: Development/Languages 820 License: GPL+ or Artistic 821 Epoch: 0 822 Version: 0.94 823 Requires: perl-devel 824 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} 825 BuildArch: noarch 826 # fix buggy rpm autodetection, remove once rpm is fixed. 827 Provides: perl(Test::Simple) 828 829 %description Test-Simple 830 Basic utilities for writing tests. 831 832 833 %package Test-Simple-tests 834 Summary: Test suite for package perl-Test-Simple 835 Group: Development/Debug 836 License: GPL+ or Artistic 837 Epoch: 0 838 Version: 0.94 839 Requires: perl-Test-Simple = 0:0.94-%{release} 840 Requires: /usr/bin/prove 841 AutoReqProv: 0 842 BuildArch: noarch 843 # fix buggy rpm autodetection, remove once rpm is fixed. 844 Provides: perl(Test::Simple::tests) 845 846 %description Test-Simple-tests 847 This package provides the test suite for package perl-Test-Simple. 848 849 850 %package Time-Piece 851 Summary: Time objects from localtime and gmtime 852 Group: Development/Libraries 853 License: GPL+ or Artistic 854 Epoch: 0 855 Version: 1.15 856 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} 857 # fix buggy rpm autodetection, remove once rpm is fixed. 858 Provides: perl(Time::Piece) 859 860 %description Time-Piece 861 The Time::Piece module replaces the standard localtime and gmtime functions 862 with implementations that return objects. It does so in a backwards compatible 863 manner, so that using localtime or gmtime as documented in perlfunc still 864 behave as expected. 865 866 867 %package parent 868 Summary: Establish an ISA relationship with base classes at compile time 869 Group: Development/Libraries 870 License: GPL+ or Artistic 871 # Epoch bump for clean upgrade over old standalone package 872 Epoch: 1 873 Version: 0.223 874 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} 875 BuildArch: noarch 876 877 %description parent 878 parent allows you to both load one or more modules, while setting up 879 inheritance 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 892 Summary: Perl interpreter-based threads 893 Group: Development/Libraries 894 License: GPL+ or Artistic 895 Epoch: 0 896 Version: 1.75 897 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} 898 899 %description threads 900 Since Perl 5.8, thread programming has been available using a model called 901 interpreter threads which provides a new Perl interpreter for each thread, 902 and, by default, results in no data or state information being shared between 903 threads. 904 905 (Prior to Perl 5.8, 5005threads was available through the Thread.pm API. This 906 threading model has been deprecated, and was removed as of Perl 5.10.0.) 907 908 As just mentioned, all variables are, by default, thread local. To use shared 909 variables, you need to also load threads::shared. 910 911 912 %package threads-shared 913 Summary: Perl extension for sharing data structures between threads 914 Group: Development/Libraries 915 License: GPL+ or Artistic 916 Epoch: 0 917 Version: 1.32 918 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} 919 920 %description threads-shared 921 By default, variables are private to each thread, and each newly created thread 922 gets a private copy of each existing variable. This module allows you to share 923 variables across different threads (and pseudo-forks on Win32). It is used 924 together with the threads module. This module supports the sharing of the 925 following data types only: scalars and scalar refs, arrays and array refs, and 926 hashes and hash refs. 927 928 929 %package version 930 Summary: Perl extension for Version Objects 931 Group: Development/Libraries 932 License: GPL+ or Artistic 933 # Epoch bump for clean upgrade over old standalone package 934 Epoch: 3 935 Version: 0.82 936 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} 937 BuildArch: noarch 938 939 %description version 940 Perl extension for Version Objects 941 942 943 %package core 944 Summary: Base perl metapackage 945 Group: 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. 949 License: GPL+ or Artistic 950 Epoch: 0 951 Version: %{perl_version} 952 Requires: perl = %{perl_epoch}:%{perl_version}-%{release} 953 Requires: perl-libs = %{perl_epoch}:%{perl_version}-%{release} 954 Requires: perl-devel = %{perl_epoch}:%{perl_version}-%{release} 955 956 Requires: perl-Archive-Extract, perl-Archive-Tar, perl-Class-ISA, 957 Requires: perl-Compress-Raw-Zlib, perl-CGI, perl-CPAN, 958 Requires: perl-CPANPLUS, perl-Digest-SHA, perl-ExtUtils-CBuilder, 959 Requires: perl-ExtUtils-Embed, perl-ExtUtils-MakeMaker, perl-ExtUtils-ParseXS, 960 Requires: perl-File-Fetch, perl-IO-Compress, perl-IO-Zlib, 961 Requires: perl-IPC-Cmd, perl-Locale-Maketext-Simple, perl-Log-Message, perl-Log-Message-Simple, 962 Requires: perl-Module-Build, perl-Module-CoreList, perl-Module-Load, 963 Requires: perl-Module-Load-Conditional, perl-Module-Loaded, 964 Requires: perl-Module-Pluggable, perl-Object-Accessor, perl-Package-Constants, perl-PathTools 965 Requires: perl-Params-Check, perl-Pod-Escapes, perl-Pod-Simple, perl-Scalar-List-Utils, perl-Term-UI 966 Requires: perl-Test-Harness, perl-Test-Simple, perl-Time-Piece, perl-version 967 Requires: perl-threads, perl-threads-shared, perl-parent, perl-Parse-CPAN-Meta 968 969 %description core 970 A metapackage which requires all of the perl bits and modules in the upstream 971 tarball from perl.org. 972 973 974 %package debug 975 Summary: HLL debug data for exception handling support. 976 977 %description debug 978 HLL debug data for exception handling support. 979 980 981 %{?perl_default_filter} 37 982 %prep 38 %setup -q -n %{name}-%{perl_version} 983 %setup -q -n perl-%{perl_version} 984 %patch1 -p1 985 986 attrib -s -h -r "*" /s 987 988 find . -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 1019 sed -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 39 1023 40 1024 %build 1025 echo "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 1045 perl regen.pl -v 1046 1047 export CONFIG_SHELL="/@unixroot/usr/bin/sh.exe" 1048 export LANG="" 1049 1050 sh 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 1102 sed -i 's#.:/usr#/@unixroot/usr#gi' config.sh 1103 sed -i 's#.:/mptn#/@bootroot/mptn#gi' config.sh 1104 1105 make os2.o 1106 perl make_patchnum.pl 1107 # SMP build not working 1108 make 41 1109 42 1110 %install 43 rm -rf %{buildroot} 44 mkdir -p %{buildroot}%{_bindir} 45 46 cp -p usr/bin/perl %{buildroot}%{_bindir} 1111 rm -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 1117 ln -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 1129 for i in asm/termios.h syscall.h syslimits.h syslog.h \ 1130 sys/ioctl.h sys/socket.h sys/time.h wait.h 1131 do 1132 %{new_perl} %{build_bindir}/h2ph -a -d %{build_archlib} $i || true 1133 done 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 1139 mkdir -p $RPM_BUILD_ROOT%{perl_vendorarch}/auto 1140 mkdir -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 # 1156 find $RPM_BUILD_ROOT -type f -name '*.bs' -empty | xargs rm -f 1157 1158 chmod -R u+w $RPM_BUILD_ROOT/* 1159 1160 # miniperl? As an interpreter? How odd. Anyway, a symlink does it: 1161 rm %{build_privlib}/ExtUtils/xsubpp 1162 ln -s ../../../bin/xsubpp %{build_privlib}/ExtUtils/ 1163 1164 # Don't need the .packlist 1165 rm %{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: 1178 find $RPM_BUILD_ROOT -name Bzip2 | xargs rm -r 1179 find $RPM_BUILD_ROOT -name '*B*zip2*'| xargs rm 1180 1181 # tests -- FIXME need to validate that this all works as expected 1182 mkdir -p %{buildroot}%{perl5_testdir}/perl-tests 1183 1184 # "core" 1185 tar -cf - t/ | ( cd %{buildroot}%{perl5_testdir}/perl-tests && tar -xf - ) 1186 1187 # "dual-lifed" 1188 for 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 - ) 1191 done 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 1203 mkdir -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} 47 1223 48 1224 %clean 49 rm -rf %{buildroot}1225 rm -rf $RPM_BUILD_ROOT 50 1226 51 1227 %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 52 1560 %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.