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

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

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

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