[1341] | 1 | Name: perl-Test-Pod-Coverage
|
---|
| 2 | Version: 1.10
|
---|
| 3 | Release: 1%{?dist}
|
---|
| 4 | Summary: Check for pod coverage in your distribution
|
---|
| 5 | Group: Development/Libraries
|
---|
| 6 | License: Artistic 2.0
|
---|
| 7 | Vendor: bww bitwise works GmbH
|
---|
| 8 | URL: http://search.cpan.org/dist/Test-Pod-Coverage/
|
---|
| 9 | Source0: http://www.cpan.org/authors/id/N/NE/NEILB/Test-Pod-Coverage-%{version}.tar.gz
|
---|
| 10 | BuildArch: noarch
|
---|
| 11 | #BuildRequires: perl-interpreter
|
---|
| 12 | BuildRequires: perl-generators
|
---|
| 13 | BuildRequires: perl(ExtUtils::MakeMaker)
|
---|
| 14 | BuildRequires: perl(strict)
|
---|
| 15 | BuildRequires: perl(warnings)
|
---|
| 16 | # Run-time:
|
---|
| 17 | BuildRequires: perl(Pod::Coverage)
|
---|
| 18 | BuildRequires: perl(Test::Builder)
|
---|
| 19 | # Tests:
|
---|
| 20 | BuildRequires: perl(base)
|
---|
| 21 | BuildRequires: perl(lib)
|
---|
| 22 | BuildRequires: perl(Pod::Coverage::CountParents)
|
---|
| 23 | BuildRequires: perl(Test::Builder::Tester)
|
---|
| 24 | BuildRequires: perl(Test::More)
|
---|
| 25 | # Optional tests:
|
---|
| 26 | BuildRequires: perl(Test::Pod) >= 1.14
|
---|
| 27 | Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
---|
| 28 |
|
---|
| 29 | %description
|
---|
| 30 | Test::Pod::Coverage is used to create a test for your distribution, to
|
---|
| 31 | ensure that all relevant files in your distribution are appropriately
|
---|
| 32 | documented in pod.
|
---|
| 33 |
|
---|
| 34 | %prep
|
---|
| 35 | %setup -q -n Test-Pod-Coverage-%{version}
|
---|
| 36 |
|
---|
| 37 | %build
|
---|
| 38 | perl Makefile.PL INSTALLDIRS=vendor
|
---|
| 39 | make %{?_smp_mflags}
|
---|
| 40 | make manifypods
|
---|
| 41 |
|
---|
| 42 | %install
|
---|
| 43 | make pure_install DESTDIR=$RPM_BUILD_ROOT
|
---|
| 44 | find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
---|
| 45 | %{_fixperms} $RPM_BUILD_ROOT/*
|
---|
| 46 |
|
---|
| 47 | %check
|
---|
| 48 | #make test
|
---|
| 49 |
|
---|
| 50 | %files
|
---|
| 51 | %doc Changes README
|
---|
| 52 | %{perl_vendorlib}/Test/
|
---|
| 53 | %{_mandir}/man3/*.3pm*
|
---|
| 54 |
|
---|
| 55 | %changelog
|
---|
| 56 | * Wed Mar 07 2018 Elbert Pol <elbert.pol@gmail.com> - 1.10-1
|
---|
| 57 | - initial rpm for OS2
|
---|