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