| 1 | Name: perl-Pod-Checker
|
|---|
| 2 | # Compete with perl.spec
|
|---|
| 3 | Epoch: 1
|
|---|
| 4 | Version: 1.73
|
|---|
| 5 | Release: 2%{?dist}
|
|---|
| 6 | Summary: Check POD documents for syntax errors
|
|---|
| 7 | License: GPL+ or Artistic
|
|---|
| 8 | URL: https://metacpan.org/release/Pod-Checker
|
|---|
| 9 | Source0: https://cpan.metacpan.org/authors/id/M/MA/MAREKR/Pod-Checker-%{version}.tar.gz
|
|---|
| 10 |
|
|---|
| 11 | BuildArch: noarch
|
|---|
| 12 | BuildRequires: findutils
|
|---|
| 13 | BuildRequires: make
|
|---|
| 14 | #BuildRequires: perl-interpreter
|
|---|
| 15 | BuildRequires: perl-generators
|
|---|
| 16 | BuildRequires: perl(Config)
|
|---|
| 17 | BuildRequires: perl(Cwd)
|
|---|
| 18 | BuildRequires: perl(ExtUtils::MakeMaker)
|
|---|
| 19 | BuildRequires: perl(File::Basename)
|
|---|
| 20 | BuildRequires: perl(File::Spec)
|
|---|
| 21 | BuildRequires: sed
|
|---|
| 22 | # Run-time:
|
|---|
| 23 | BuildRequires: perl(base)
|
|---|
| 24 | BuildRequires: perl(Carp)
|
|---|
| 25 | BuildRequires: perl(Exporter)
|
|---|
| 26 | # Getopt::Long not used at tests
|
|---|
| 27 | BuildRequires: perl(Pod::Simple) >= 3.05
|
|---|
| 28 | BuildRequires: perl(Pod::Simple::Methody)
|
|---|
| 29 | # Pod::Usage not used at tests
|
|---|
| 30 | BuildRequires: perl(strict)
|
|---|
| 31 | BuildRequires: perl(warnings)
|
|---|
| 32 | # Tests:
|
|---|
| 33 | #BuildRequires: perl(FileHandle)
|
|---|
| 34 | #BuildRequires: perl(Test::More)
|
|---|
| 35 | #BuildRequires: perl(vars)
|
|---|
| 36 | # VMS::Filespec not used
|
|---|
| 37 | Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|---|
| 38 | Requires: perl(Pod::Simple) >= 3.05
|
|---|
| 39 |
|
|---|
| 40 | %description
|
|---|
| 41 | Module and tools to verify POD documentation contents for compliance with the
|
|---|
| 42 | Plain Old Documentation format specifications.
|
|---|
| 43 |
|
|---|
| 44 | %prep
|
|---|
| 45 | %setup -q -n Pod-Checker-%{version}
|
|---|
| 46 | for F in CHANGES README; do
|
|---|
| 47 | sed -i -e 's/\r//' "$F"
|
|---|
| 48 | done
|
|---|
| 49 |
|
|---|
| 50 | %build
|
|---|
| 51 | perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
|---|
| 52 | make %{?_smp_mflags}
|
|---|
| 53 | make manifypods
|
|---|
| 54 |
|
|---|
| 55 | %install
|
|---|
| 56 | make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|---|
| 57 | find $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 |
|
|---|