Name: perl-Module-Install-ReadmeFromPod Version: 0.20 Release: 1%{?dist} Summary: A Module::Install extension to auto-convert POD to a README Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Module-Install-ReadmeFromPod/ Source0: http://search.cpan.org/CPAN/authors/id/B/BI/BINGOS/Module-Install-ReadmeFromPod-%{version}.tar.gz BuildArch: noarch BuildRequires: perl(Capture::Tiny) >= 0.05 BuildRequires: perl(ExtUtils::MakeMaker) >= 6.59 BuildRequires: perl(File::Temp) BuildRequires: perl(Test::More) >= 0.47 BuildRequires: perl(Module::Install::GithubMeta) BuildRequires: perl(Module::Install::AutoLicense) BuildRequires: perl(Module::Install) BuildRequires: perl(ExtUtils::Manifest) BuildRequires: perl(App::pod2pdf) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) # Don't "provide" private Perl libs %{?perl_default_filter} %description Module::Install::ReadmeFromPod is a Module::Install extension that generates a "README" file automatically from an indicated file containing POD, whenever the author runs "Makefile.PL". Several output formats are supported: plain-text, HTML, PDF or man page. %prep %setup -q -n Module-Install-ReadmeFromPod-%{version} rm -rf inc/* %build perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} ';' find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';' %{_fixperms} %{buildroot} %check make test # The test regenerates the README. iconv -f iso-8859-1 -t utf-8 README > README.utf8 touch -r README README.utf8 mv README.utf8 README %files %doc Changes README %{perl_vendorlib}/Module/Install/ %{_mandir}/man3/Module::Install::ReadmeFromPod.* %changelog * Tue Dec 11 2012 Tom Callaway - 0.20-1 - initial package