source: spec/trunk/SPECS/perl-Pod-Coverage.spec

Last change on this file was 1340, checked in by tellie, 8 years ago

spec: perl-Pod-Coverage: Release version 0.23-1.

File size: 2.6 KB
Line 
1Name: perl-Pod-Coverage
2Version: 0.23
3Release: 1%{?dist}
4Summary: Checks if the documentation of a module is comprehensive
5License: GPL+ or Artistic
6Group: Development/Libraries
7Vendor: bww bitwise works GmbH
8URL: http://search.cpan.org/dist/Pod-Coverage/
9Source0: 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
12BuildArch: noarch
13#BuildRequires: perl-interpreter
14BuildRequires: perl-generators
15BuildRequires: perl(B)
16BuildRequires: perl(base)
17BuildRequires: perl(constant)
18BuildRequires: perl(Data::Dumper)
19BuildRequires: perl(Devel::Symdump) >= 2.01
20BuildRequires: perl(Exporter)
21BuildRequires: perl(ExtUtils::MakeMaker)
22BuildRequires: perl(lib)
23BuildRequires: perl(Pod::Find) >= 0.21
24BuildRequires: perl(Pod::Parser) >= 1.13
25BuildRequires: perl(strict)
26BuildRequires: perl(Test::More)
27BuildRequires: perl(Test::Pod)
28BuildRequires: perl(vars)
29BuildRequires: perl(warnings)
30Requires: perl(Devel::Symdump) >= 2.01
31Requires: perl(Pod::Find) >= 0.21
32Requires: perl(Pod::Parser) >= 1.13
33Requires: 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
41Developers hate writing documentation. They'd hate it even more if their
42computer tattled on them, but maybe they'll be even more thankful in the
43long run. Even if not, perlmodstyle tells you to, so you must obey.
44
45This module provides a mechanism for determining if the pod for a given
46module is comprehensive.
47
48%prep
49%setup -q -n Pod-Coverage-%{version}
50#%patch0 -p1
51
52%build
53perl Makefile.PL INSTALLDIRS=vendor
54make %{?_smp_mflags}
55make manifypods
56
57%install
58make pure_install DESTDIR=%{buildroot}
59find %{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
Note: See TracBrowser for help on using the repository browser.