%define upstream_name Dist-Zilla-Plugin-ReadmeMarkdownFromPod %define upstream_version 0.120120 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 3 Summary: Automatically convert POD to a README.mkdn for Dist::Zilla License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Dist/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(Carp) BuildRequires: perl(Dist::Zilla::Plugin::ReadmeAnyFromPod) >= 0.120.120 BuildRequires: perl(English) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.300.0 BuildRequires: perl(File::Find) BuildRequires: perl(File::Temp) BuildRequires: perl(Moose) BuildRequires: perl(Scalar::Util) BuildRequires: perl(Test::DZil) BuildRequires: perl(Test::More) >= 0.940.0 BuildRequires: perl(Test::Most) BuildRequires: perl(autodie) BuildRequires: perl(strict) BuildRequires: perl(warnings) BuildArch: noarch %description Generate a README.mkdn from 'main_module' by the Pod::Markdown manpage The code is mostly a copy-paste of the Dist::Zilla::Plugin::ReadmeFromPod manpage %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %make test %install %makeinstall_std %files %doc Changes INSTALL LICENSE META.yml MYMETA.yml README %{_mandir}/man3/* %perl_vendorlib/*