Blame SPECS/perl-Pod-Plainer.spec

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