bd46cb
Name:           perl-Pod-Checker
bd46cb
Version:        1.60
a6545d
Release:        2%{?dist}
bd46cb
Summary:        Check POD documents for syntax errors
bd46cb
License:        GPL+ or Artistic
bd46cb
Group:          Development/Libraries
bd46cb
URL:            http://search.cpan.org/dist/Pod-Checker/
bd46cb
Source0:        http://www.cpan.org/authors/id/M/MA/MAREKR/Pod-Checker-%{version}.tar.gz
bd46cb
BuildArch:      noarch
bd46cb
BuildRequires:  perl
bd46cb
BuildRequires:  perl(ExtUtils::MakeMaker)
bd46cb
BuildRequires:  perl(File::Spec)
bd46cb
# Run-time:
bd46cb
BuildRequires:  perl(Carp)
bd46cb
BuildRequires:  perl(Exporter)
bd46cb
BuildRequires:  perl(Pod::Parser) >= 1.60
bd46cb
BuildRequires:  perl(Pod::ParseUtils)
bd46cb
BuildRequires:  perl(strict)
bd46cb
BuildRequires:  perl(vars)
bd46cb
# Tests:
bd46cb
BuildRequires:  perl(File::Basename)
bd46cb
BuildRequires:  perl(FileHandle)
bd46cb
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
bd46cb
Requires:       perl(Pod::Parser) >= 1.60
bd46cb
bd46cb
# Filter under-specified dependencies
bd46cb
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Pod::Parser\\)$
bd46cb
bd46cb
%description
bd46cb
Module and tools to verify POD documentation contents for compliance with the
bd46cb
Plain Old Documentation format specifications.
bd46cb
bd46cb
%prep
bd46cb
%setup -q -n Pod-Checker-%{version}
bd46cb
find -type f -exec chmod a-x {} +
bd46cb
for F in CHANGES README; do
bd46cb
    sed -i -e 's/\r//' "$F"
bd46cb
done
bd46cb
bd46cb
%build
bd46cb
perl Makefile.PL INSTALLDIRS=vendor
bd46cb
make %{?_smp_mflags}
bd46cb
bd46cb
%install
bd46cb
make pure_install DESTDIR=$RPM_BUILD_ROOT
bd46cb
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
bd46cb
%{_fixperms} $RPM_BUILD_ROOT/*
bd46cb
bd46cb
%check
bd46cb
make test
bd46cb
bd46cb
%files
bd46cb
%doc CHANGES README
bd46cb
%{_bindir}/*
bd46cb
%{perl_vendorlib}/*
bd46cb
%{_mandir}/man1/*
bd46cb
%{_mandir}/man3/*
bd46cb
bd46cb
%changelog
a6545d
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.60-2
a6545d
- Mass rebuild 2013-12-27
a6545d
bd46cb
* Mon Feb 04 2013 Petr Pisar <ppisar@redhat.com> 1.60-1
bd46cb
- Specfile autogenerated by cpanspec 1.78.