From f89422b8f895e9d3888278706b2a21f961e6b141 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Oct 31 2019 07:12:27 +0000 Subject: import perl-Pod-Plainer-1.03-4.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..382d045 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Pod-Plainer-1.03.tar.gz diff --git a/.perl-Pod-Plainer.metadata b/.perl-Pod-Plainer.metadata new file mode 100644 index 0000000..04f1c34 --- /dev/null +++ b/.perl-Pod-Plainer.metadata @@ -0,0 +1 @@ +cc0aa22e0b01bfa78cbaa6c52011b625e91cc13d SOURCES/Pod-Plainer-1.03.tar.gz diff --git a/SPECS/perl-Pod-Plainer.spec b/SPECS/perl-Pod-Plainer.spec new file mode 100644 index 0000000..bc80b45 --- /dev/null +++ b/SPECS/perl-Pod-Plainer.spec @@ -0,0 +1,66 @@ +Name: perl-Pod-Plainer +Version: 1.03 +Release: 4%{?dist} +Summary: Perl extension for converting Pod to old-style Pod + +License: GPL+ or Artistic +URL: http://search.cpan.org/dist/Pod-Plainer/ + +Source0: http://search.cpan.org/CPAN/authors/id/R/RM/RMBARKER/Pod-Plainer-%{version}.tar.gz + +BuildArch: noarch +# Correct for lots of packages, other common choices include eg. Module::Build +BuildRequires: perl(ExtUtils::MakeMaker), perl(Pod::Parser), perl(Test::More), perl(Test::Pod::Coverage) >= 1.00 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Pod::Plainer uses Pod::Parser which takes Pod with the (new) 'C<< .. >>' +constructs and returns the old(er) style with just 'C<>'; '<' and '>' are +replaced by 'E' and 'E'. +This can be used to pre-process Pod before using tools which do not +recognize the new style Pods. + +%prep +%setup -q -n Pod-Plainer-%{version} + +%build +# Remove OPTIMIZE=... from noarch packages (unneeded) +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +#rm -rf $RPM_BUILD_ROOT +make pure_install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' +# Remove the next line from noarch packages (unneeded) +find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';' +ls -lZ $RPM_BUILD_ROOT/* +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc README Changes +# For noarch packages: vendorlib +%{perl_vendorlib}/Pod/Plainer.pm +%{_mandir}/man3/Pod::Plainer.3pm* + +%changelog +* Fri Dec 27 2013 Daniel Mach - 1.03-4 +- Mass rebuild 2013-12-27 + +* Wed Aug 15 2012 Daniel Mach - 1.03-3.1 +- Rebuild for perl 5.16 + +* Fri Jul 20 2012 Fedora Release Engineering - 1.03-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Jun 12 2012 Petr Pisar - 1.03-2 +- Perl 5.16 rebuild + +* Mon Mar 26 2012 xning - 1.03-1 +- modified as Petr Ĺ abata's advice +* Fri Mar 02 2012 xning - 1.03-1 +- create for support LSB 4.1