81fe11
Name:           perl-Pod-Parser
81fe11
Version:        1.61
ea95f0
Release:        2%{?dist}
81fe11
Summary:        Basic perl modules for handling Plain Old Documentation (POD)
81fe11
License:        GPL+ or Artistic
81fe11
Group:          Development/Libraries
81fe11
URL:            http://search.cpan.org/dist/Pod-Parser/
81fe11
Source0:        http://www.cpan.org/authors/id/M/MA/MAREKR/Pod-Parser-%{version}.tar.gz
81fe11
BuildArch:      noarch
81fe11
BuildRequires:  perl
81fe11
BuildRequires:  perl(ExtUtils::MakeMaker)
81fe11
BuildRequires:  perl(File::Spec) >= 0.82
81fe11
# Run-time:
81fe11
BuildRequires:  perl(Carp)
81fe11
BuildRequires:  perl(Config)
81fe11
BuildRequires:  perl(Cwd)
81fe11
BuildRequires:  perl(Exporter)
81fe11
BuildRequires:  perl(File::Find)
81fe11
BuildRequires:  perl(strict)
81fe11
# Symbol not used with recent perl
81fe11
BuildRequires:  perl(vars)
81fe11
# Tests:
81fe11
BuildRequires:  perl(File::Basename)
81fe11
BuildRequires:  perl(Test::More) >= 0.6
81fe11
# Circular dependency Pod::Checker <-> Pod::Parser
81fe11
BuildRequires:  perl(Pod::Checker) >= 1.40
81fe11
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
81fe11
Requires:       perl(Config)
81fe11
# Circular dependency Pod::Usage <-> Pod::Select
81fe11
81fe11
%description
81fe11
This software distribution contains the packages for using Perl5 POD (Plain
81fe11
Old Documentation). See the "perlpod" and "perlsyn" manual pages from your
81fe11
Perl5 distribution for more information about POD.
81fe11
81fe11
%prep
81fe11
%setup -q -n Pod-Parser-%{version}
81fe11
find -type f -exec chmod -x {} +
81fe11
chmod +x scripts/*
81fe11
for F in ANNOUNCE CHANGES README TODO; do
81fe11
    tr -d '\r' < "$F" > "${F}.unix"
81fe11
    touch -r "$F" "${F}.unix"
81fe11
    mv "${F}.unix" "$F"
81fe11
done
81fe11
81fe11
%build
81fe11
perl Makefile.PL INSTALLDIRS=vendor
81fe11
make %{?_smp_mflags}
81fe11
81fe11
%install
81fe11
make pure_install DESTDIR=$RPM_BUILD_ROOT
81fe11
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
81fe11
%{_fixperms} $RPM_BUILD_ROOT/*
81fe11
81fe11
%check
81fe11
make test
81fe11
81fe11
%files
81fe11
%doc ANNOUNCE CHANGES README TODO
81fe11
%{_bindir}/podselect
81fe11
%{perl_vendorlib}/*
81fe11
%{_mandir}/man1/*
81fe11
%{_mandir}/man3/*
81fe11
81fe11
%changelog
ea95f0
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.61-2
ea95f0
- Mass rebuild 2013-12-27
ea95f0
81fe11
* Tue Jun 04 2013 Petr Pisar <ppisar@redhat.com> - 1.61-1
81fe11
- 1.61 bump
81fe11
81fe11
* Mon Feb 11 2013 Petr Pisar <ppisar@redhat.com> - 1.60-3
81fe11
- Correct dependencies
81fe11
81fe11
* Fri Feb 08 2013 Petr Pisar <ppisar@redhat.com> - 1.60-2
81fe11
- Remove bootstrap conditions
81fe11
81fe11
* Tue Feb 05 2013 Petr Pisar <ppisar@redhat.com> - 1.60-1
81fe11
- 1.60 bump
81fe11
81fe11
* Mon Feb 04 2013 Petr Pisar <ppisar@redhat.com> - 1.51-248
81fe11
- Sub-package Pod-Usage
81fe11
- Sub-package Pod-Checker
81fe11
81fe11
* Wed Jan 16 2013 Petr Pisar <ppisar@redhat.com> - 1.51-247
81fe11
- Increase release to supersede perl sub-package
81fe11
81fe11
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.51-3
81fe11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
81fe11
81fe11
* Mon Jul 02 2012 Petr Pisar <ppisar@redhat.com> - 1.51-2
81fe11
- Perl 5.16 rebuild
81fe11
81fe11
* Mon Jun 25 2012 Petr Pisar <ppisar@redhat.com> 1.51-1
81fe11
- Specfile autogenerated by cpanspec 1.78.