diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c35c811 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Pod-Checker-1.60.tar.gz diff --git a/.perl-Pod-Checker.metadata b/.perl-Pod-Checker.metadata new file mode 100644 index 0000000..4f38b71 --- /dev/null +++ b/.perl-Pod-Checker.metadata @@ -0,0 +1 @@ +0667cb3db0e6381b5955c3d6107c80667cfa3a83 SOURCES/Pod-Checker-1.60.tar.gz diff --git a/SPECS/perl-Pod-Checker.spec b/SPECS/perl-Pod-Checker.spec new file mode 100644 index 0000000..10a7585 --- /dev/null +++ b/SPECS/perl-Pod-Checker.spec @@ -0,0 +1,64 @@ +Name: perl-Pod-Checker +Version: 1.60 +Release: 2%{?dist} +Summary: Check POD documents for syntax errors +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Pod-Checker/ +Source0: http://www.cpan.org/authors/id/M/MA/MAREKR/Pod-Checker-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Spec) +# Run-time: +BuildRequires: perl(Carp) +BuildRequires: perl(Exporter) +BuildRequires: perl(Pod::Parser) >= 1.60 +BuildRequires: perl(Pod::ParseUtils) +BuildRequires: perl(strict) +BuildRequires: perl(vars) +# Tests: +BuildRequires: perl(File::Basename) +BuildRequires: perl(FileHandle) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Pod::Parser) >= 1.60 + +# Filter under-specified dependencies +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Pod::Parser\\)$ + +%description +Module and tools to verify POD documentation contents for compliance with the +Plain Old Documentation format specifications. + +%prep +%setup -q -n Pod-Checker-%{version} +find -type f -exec chmod a-x {} + +for F in CHANGES README; do + sed -i -e 's/\r//' "$F" +done + +%build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc CHANGES README +%{_bindir}/* +%{perl_vendorlib}/* +%{_mandir}/man1/* +%{_mandir}/man3/* + +%changelog +* Fri Dec 27 2013 Daniel Mach - 1.60-2 +- Mass rebuild 2013-12-27 + +* Mon Feb 04 2013 Petr Pisar 1.60-1 +- Specfile autogenerated by cpanspec 1.78.