source: spec/trunk/SPECS/perl-Pod-Checker.spec@ 1666

Last change on this file since 1666 was 1666, checked in by tellie, 6 years ago

spec: perl-Pod-Checker: Release version 1.73-1.

File size: 2.1 KB
Line 
1Name: perl-Pod-Checker
2# Compete with perl.spec
3Epoch: 1
4Version: 1.73
5Release: 1%{?dist}
6Summary: Check POD documents for syntax errors
7License: GPL+ or Artistic
8URL: https://metacpan.org/release/Pod-Checker
9Source0: https://cpan.metacpan.org/authors/id/M/MA/MAREKR/Pod-Checker-%{version}.tar.gz
10
11BuildArch: noarch
12BuildRequires: findutils
13BuildRequires: make
14Requires: /usr/bin/prove
15#BuildRequires: perl-interpreter
16BuildRequires: perl-generators
17BuildRequires: perl(Config)
18BuildRequires: perl(Cwd)
19BuildRequires: perl(ExtUtils::MakeMaker)
20BuildRequires: perl(File::Basename)
21BuildRequires: perl(File::Spec)
22BuildRequires: sed
23# Run-time:
24BuildRequires: perl(base)
25BuildRequires: perl(Carp)
26BuildRequires: perl(Exporter)
27# Getopt::Long not used at tests
28BuildRequires: perl(Pod::Simple) >= 3.20
29BuildRequires: perl(Pod::Simple::Methody)
30# Pod::Usage not used at tests
31BuildRequires: perl(strict)
32BuildRequires: perl(warnings)
33# Tests:
34#BuildRequires: perl(FileHandle)
35#BuildRequires: perl(Test::More)
36#BuildRequires: perl(vars)
37# VMS::Filespec not used
38Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
39Requires: perl(Pod::Simple) >= 3.28
40
41%description
42Module and tools to verify POD documentation contents for compliance with the
43Plain Old Documentation format specifications.
44
45%prep
46%setup -q -n Pod-Checker-%{version}
47for F in CHANGES README; do
48 sed -i -e 's/\r//' "$F"
49done
50
51%build
52perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
53make %{?_smp_mflags}
54make manifypods
55
56%install
57make pure_install DESTDIR=$RPM_BUILD_ROOT
58find $RPM_BUILD_ROOT -type f -name .packlist -delete
59%{_fixperms} $RPM_BUILD_ROOT/*
60
61%check
62#make test
63
64%files
65%doc CHANGES README
66%{_bindir}/*
67%{perl_vendorlib}/*
68%{_mandir}/man1/*
69%{_mandir}/man3/*
70
71%changelog
72* Thu Sep 26 2019 Elbert Pol <elbert.pol@gmail.com> - 1.73-1
73- First rpm for OS/2
74
75* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4:1.73-439
76- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
77
Note: See TracBrowser for help on using the repository browser.