| 1 | Name: perl-Devel-Symdump
|
|---|
| 2 | Epoch: 1
|
|---|
| 3 | Version: 2.18
|
|---|
| 4 | Release: 1%{?dist}
|
|---|
| 5 | Summary: A Perl module for inspecting Perl's symbol table
|
|---|
| 6 | Group: Development/Libraries
|
|---|
| 7 | License: GPL+ or Artistic
|
|---|
| 8 | Vendor: bww bitwise works GmbH
|
|---|
| 9 | Url: http://search.cpan.org/dist/Devel-Symdump/
|
|---|
| 10 | Source0: http://www.cpan.org/authors/id/A/AN/ANDK/Devel-Symdump-%{version}.tar.gz
|
|---|
| 11 | BuildArch: noarch
|
|---|
| 12 | # Module Build
|
|---|
| 13 | BuildRequires: coreutils
|
|---|
| 14 | BuildRequires: findutils
|
|---|
| 15 | BuildRequires: make
|
|---|
| 16 | #BuildRequires: perl-interpreter
|
|---|
| 17 | BuildRequires: perl-generators
|
|---|
| 18 | BuildRequires: perl(ExtUtils::MakeMaker)
|
|---|
| 19 | # Module Runtime
|
|---|
| 20 | BuildRequires: perl(B)
|
|---|
| 21 | BuildRequires: perl(Carp)
|
|---|
| 22 | BuildRequires: perl(Config)
|
|---|
| 23 | BuildRequires: perl(constant)
|
|---|
| 24 | BuildRequires: perl(Exporter)
|
|---|
| 25 | BuildRequires: perl(strict)
|
|---|
| 26 | BuildRequires: perl(vars)
|
|---|
| 27 | # Test Suite
|
|---|
| 28 | BuildRequires: perl(English)
|
|---|
| 29 | BuildRequires: perl(lib)
|
|---|
| 30 | BuildRequires: perl(Test::Harness) >= 3.04
|
|---|
| 31 | BuildRequires: perl(Test::More)
|
|---|
| 32 | BuildRequires: perl(warnings)
|
|---|
| 33 | # Author Tests
|
|---|
| 34 | #%if 0%{!?perl_bootstrap:1}
|
|---|
| 35 | # Compress::Zlib (IO-Compress) â Test::NoWarnings â Devel::StackTrace â
|
|---|
| 36 | # Test::NoTabs â Test::Pod::Coverage â Pod::Coverage â Devel::Symdump
|
|---|
| 37 | #BuildRequires: perl(Compress::Zlib)
|
|---|
| 38 | #BuildRequires: perl(Test::Pod) >= 1.00
|
|---|
| 39 | # Test::Pod::Coverage â Pod::Coverage â Devel::Symdump
|
|---|
| 40 | #BuildRequires: perl(Test::Pod::Coverage)
|
|---|
| 41 | #%endif
|
|---|
| 42 | # Runtime
|
|---|
| 43 | Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|---|
| 44 | Requires: perl(B)
|
|---|
| 45 |
|
|---|
| 46 | %description
|
|---|
| 47 | The perl module Devel::Symdump provides a convenient way to inspect
|
|---|
| 48 | perl's symbol table and the class hierarchy within a running program.
|
|---|
| 49 |
|
|---|
| 50 | %prep
|
|---|
| 51 | %setup -q -n Devel-Symdump-%{version}
|
|---|
| 52 |
|
|---|
| 53 | %build
|
|---|
| 54 | perl Makefile.PL INSTALLDIRS=vendor
|
|---|
| 55 | make %{?_smp_mflags}
|
|---|
| 56 | make manifypods
|
|---|
| 57 |
|
|---|
| 58 | %install
|
|---|
| 59 | make pure_install DESTDIR=%{buildroot}
|
|---|
| 60 | find %{buildroot} -type f -name .packlist -delete
|
|---|
| 61 | %{_fixperms} -c %{buildroot}
|
|---|
| 62 |
|
|---|
| 63 | %check
|
|---|
| 64 | #make test %{!?perl_bootstrap:AUTHOR_TEST=1}
|
|---|
| 65 |
|
|---|
| 66 | %files
|
|---|
| 67 | %doc Changes README
|
|---|
| 68 | %{perl_vendorlib}/Devel/
|
|---|
| 69 | %{_mandir}/man3/*.3*
|
|---|
| 70 |
|
|---|
| 71 | %changelog
|
|---|
| 72 | * Wed Mar 07 2018 Elbert Pol <elbert.pol@gmail.com> - 2.18-1
|
|---|
| 73 | - initial rpm for OS2
|
|---|