| 1 | Name: perl-Pod-Coverage
|
|---|
| 2 | Version: 0.23
|
|---|
| 3 | Release: 1%{?dist}
|
|---|
| 4 | Summary: Checks if the documentation of a module is comprehensive
|
|---|
| 5 | License: GPL+ or Artistic
|
|---|
| 6 | Group: Development/Libraries
|
|---|
| 7 | Vendor: bww bitwise works GmbH
|
|---|
| 8 | URL: http://search.cpan.org/dist/Pod-Coverage/
|
|---|
| 9 | Source0: http://www.cpan.org/authors/id/R/RC/RCLAMP/Pod-Coverage-%{version}.tar.gz
|
|---|
| 10 | # Make pod_cover more secure, CPAN RT#85540
|
|---|
| 11 | #Patch0: Pod-Coverage-0.23-Do-not-search-.-lib-by-pod_cover.patch
|
|---|
| 12 | BuildArch: noarch
|
|---|
| 13 | #BuildRequires: perl-interpreter
|
|---|
| 14 | BuildRequires: perl-generators
|
|---|
| 15 | BuildRequires: perl(B)
|
|---|
| 16 | BuildRequires: perl(base)
|
|---|
| 17 | BuildRequires: perl(constant)
|
|---|
| 18 | BuildRequires: perl(Data::Dumper)
|
|---|
| 19 | BuildRequires: perl(Devel::Symdump) >= 2.01
|
|---|
| 20 | BuildRequires: perl(Exporter)
|
|---|
| 21 | BuildRequires: perl(ExtUtils::MakeMaker)
|
|---|
| 22 | BuildRequires: perl(lib)
|
|---|
| 23 | BuildRequires: perl(Pod::Find) >= 0.21
|
|---|
| 24 | BuildRequires: perl(Pod::Parser) >= 1.13
|
|---|
| 25 | BuildRequires: perl(strict)
|
|---|
| 26 | BuildRequires: perl(Test::More)
|
|---|
| 27 | BuildRequires: perl(Test::Pod)
|
|---|
| 28 | BuildRequires: perl(vars)
|
|---|
| 29 | BuildRequires: perl(warnings)
|
|---|
| 30 | Requires: perl(Devel::Symdump) >= 2.01
|
|---|
| 31 | Requires: perl(Pod::Find) >= 0.21
|
|---|
| 32 | Requires: perl(Pod::Parser) >= 1.13
|
|---|
| 33 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|---|
| 34 |
|
|---|
| 35 | %{?perl_default_filter}
|
|---|
| 36 | %global __requires_exclude %{?__requires_exclude:__requires_exclude|}^perl\\(Devel::Symdump\\)$
|
|---|
| 37 | %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Pod::Find\\)$
|
|---|
| 38 | %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Pod::Parser\\)$
|
|---|
| 39 |
|
|---|
| 40 | %description
|
|---|
| 41 | Developers hate writing documentation. They'd hate it even more if their
|
|---|
| 42 | computer tattled on them, but maybe they'll be even more thankful in the
|
|---|
| 43 | long run. Even if not, perlmodstyle tells you to, so you must obey.
|
|---|
| 44 |
|
|---|
| 45 | This module provides a mechanism for determining if the pod for a given
|
|---|
| 46 | module is comprehensive.
|
|---|
| 47 |
|
|---|
| 48 | %prep
|
|---|
| 49 | %setup -q -n Pod-Coverage-%{version}
|
|---|
| 50 | #%patch0 -p1
|
|---|
| 51 |
|
|---|
| 52 | %build
|
|---|
| 53 | perl Makefile.PL INSTALLDIRS=vendor
|
|---|
| 54 | make %{?_smp_mflags}
|
|---|
| 55 | make manifypods
|
|---|
| 56 |
|
|---|
| 57 | %install
|
|---|
| 58 | make pure_install DESTDIR=%{buildroot}
|
|---|
| 59 | find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
|---|
| 60 | %{_fixperms} %{buildroot}/*
|
|---|
| 61 |
|
|---|
| 62 | %check
|
|---|
| 63 | #make test
|
|---|
| 64 |
|
|---|
| 65 | %files
|
|---|
| 66 | %doc Changes examples
|
|---|
| 67 | %{_bindir}/pod_cover
|
|---|
| 68 | %{perl_vendorlib}/Pod/
|
|---|
| 69 | #%{_mandir}/man3/Pod::Coverage.3pm*
|
|---|
| 70 | #%{_mandir}/man3/Pod::Coverage::CountParents.3pm*
|
|---|
| 71 | #%{_mandir}/man3/Pod::Coverage::ExportOnly.3pm*
|
|---|
| 72 | #%{_mandir}/man3/Pod::Coverage::Overloader.3pm*
|
|---|
| 73 | %{_mandir}/man3/*.3pm*
|
|---|
| 74 |
|
|---|
| 75 | %changelog
|
|---|
| 76 | * Wed Mar 07 2018 Elbert Pol <elbert.pol@gmail.com> - 0.23-1
|
|---|
| 77 | - initial rpm for OS2
|
|---|