diff --git a/Pod-Checker-1.74.tar.gz b/Pod-Checker-1.74.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..f425fc39301e8969d7fde63a5bce179573a55310 Binary files /dev/null and b/Pod-Checker-1.74.tar.gz differ diff --git a/perl-Pod-Checker.spec b/perl-Pod-Checker.spec new file mode 100644 index 0000000000000000000000000000000000000000..fbbeda0b077d1f1965666aa5cd5f6ec32ec07207 --- /dev/null +++ b/perl-Pod-Checker.spec @@ -0,0 +1,71 @@ +%define anolis_release 1 + +Name: perl-Pod-Checker +Epoch: 5 +Version: 1.74 +Release: %{anolis_release}%{?dist} +Summary: Check POD documents for syntax errors +License: GPL+ or Artistic +URL: https://metacpan.org/release/Pod-Checker +Source0: https://cpan.metacpan.org/authors/id/M/MA/MAREKR/Pod-Checker-%{version}.tar.gz +BuildArch: noarch +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: make +BuildRequires: perl-generators +BuildRequires: perl-interpreter +BuildRequires: perl(Config) +BuildRequires: perl(Cwd) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Basename) +BuildRequires: perl(File::Spec) +BuildRequires: sed +# Run-time: +BuildRequires: perl(base) +BuildRequires: perl(Carp) +BuildRequires: perl(Exporter) +# Getopt::Long not used at tests +BuildRequires: perl(Pod::Simple) >= 3.4 +BuildRequires: perl(Pod::Simple::Methody) +# Pod::Usage not used at tests +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Tests: +BuildRequires: perl(FileHandle) +BuildRequires: perl(Test::More) +BuildRequires: perl(vars) +# VMS::Filespec not used +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Pod::Simple) >= 3.28 + +%description +Module and tools to verify POD documentation contents for compliance with the +Plain Old Documentation format specifications. + +%prep +%autosetup -n Pod-Checker-%{version} +for F in CHANGES README; do + sed -i -e 's/\r//' "$F" +done + +%build +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 +%{make_build} + +%install +%{make_install} +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc CHANGES README +%{_bindir}/* +%{perl_vendorlib}/* +%{_mandir}/man1/* +%{_mandir}/man3/* + +%changelog +* Thu Apr 21 2022 happy_orange - 5:1.74-1 +- Init package from upstream