324f5b
Name: perl-Pod-Plainer
324f5b
Version: 1.04
324f5b
Release: 7%{?dist}
324f5b
Summary: Perl extension for converting Pod to old-style Pod
324f5b
324f5b
License: GPL+ or Artistic
324f5b
URL: http://search.cpan.org/dist/Pod-Plainer/
324f5b
324f5b
Source0: http://search.cpan.org/CPAN/authors/id/R/RM/RMBARKER/Pod-Plainer-%{version}.tar.gz
324f5b
324f5b
BuildArch: noarch
324f5b
BuildRequires: coreutils
324f5b
BuildRequires: findutils
324f5b
BuildRequires: make
324f5b
BuildRequires: perl-interpreter
324f5b
BuildRequires: perl-generators
324f5b
BuildRequires: perl(ExtUtils::MakeMaker)
324f5b
BuildRequires: perl(strict)
324f5b
# Run-time:
324f5b
BuildRequires: perl(Pod::Parser)
324f5b
BuildRequires: perl(warnings)
324f5b
# Tests:
324f5b
BuildRequires: perl(Test::More)
324f5b
# Optional tests:
324f5b
BuildRequires: perl(Test::Pod) >= 1.00
324f5b
BuildRequires: perl(Test::Pod::Coverage) >= 1.00
324f5b
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
324f5b
324f5b
%description
324f5b
Pod::Plainer uses Pod::Parser which takes Pod with the (new) 'C<< .. >>'
324f5b
constructs and returns the old(er) style with just 'C<>'; '<' and '>' are
324f5b
replaced by 'E<lt>' and 'E<gt>'.
324f5b
This can be used to pre-process Pod before using tools which do not
324f5b
recognize the new style Pods.
324f5b
324f5b
%prep
324f5b
%setup -q -n Pod-Plainer-%{version}
324f5b
324f5b
%build
324f5b
# Remove OPTIMIZE=... from noarch packages (unneeded)
324f5b
%{__perl} Makefile.PL INSTALLDIRS=vendor
324f5b
make %{?_smp_mflags}
324f5b
324f5b
%install
324f5b
#rm -rf $RPM_BUILD_ROOT
324f5b
make pure_install DESTDIR=$RPM_BUILD_ROOT
324f5b
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
324f5b
# Remove the next line from noarch packages (unneeded)
324f5b
find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
324f5b
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
324f5b
ls -lZ $RPM_BUILD_ROOT/*
324f5b
%{_fixperms} $RPM_BUILD_ROOT/*
324f5b
324f5b
%check
324f5b
make test
324f5b
324f5b
%files
324f5b
%doc README Changes
324f5b
# For noarch packages: vendorlib
324f5b
%{perl_vendorlib}/Pod/Plainer.pm
324f5b
%{_mandir}/man3/Pod::Plainer.3pm*
324f5b
324f5b
%changelog
324f5b
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.04-7
324f5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
324f5b
324f5b
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.04-6
324f5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
324f5b
324f5b
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.04-5
324f5b
- Perl 5.26 rebuild
324f5b
324f5b
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.04-4
324f5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
324f5b
324f5b
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.04-3
324f5b
- Perl 5.24 rebuild
324f5b
324f5b
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.04-2
324f5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
324f5b
324f5b
* Tue Nov 10 2015 Petr Pisar <ppisar@redhat.com> - 1.04-1
324f5b
- 1.04 bump
324f5b
324f5b
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-10
324f5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
324f5b
324f5b
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.03-9
324f5b
- Perl 5.22 rebuild
324f5b
324f5b
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.03-8
324f5b
- Perl 5.20 rebuild
324f5b
324f5b
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-7
324f5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
324f5b
324f5b
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-6
324f5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
324f5b
324f5b
* Sat Jul 20 2013 Petr Pisar <ppisar@redhat.com> - 1.03-5
324f5b
- Perl 5.18 rebuild
324f5b
324f5b
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-4
324f5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
324f5b
324f5b
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-3
324f5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
324f5b
324f5b
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 1.03-2
324f5b
- Perl 5.16 rebuild
324f5b
324f5b
* Mon Mar 26 2012 xning <xning AT redhat DOT com> - 1.03-1
324f5b
- modified as Petr Ĺ abata's advice
324f5b
* Fri Mar 02 2012 xning <xning AT redhat DOT com> - 1.03-1
324f5b
- create for support LSB 4.1