commit 11245fac32d9d469f01fb299decc6f4b47d7a3d7 Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Thu Sep 4 18:11:51 2014 +0200 Initial commit (#1138292) .gitignore | 1 + perl-Dist-Zilla-Plugin-ReadmeFromPod.spec | 51 +++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 53 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..ecd8b8b 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Dist-Zilla-Plugin-ReadmeFromPod-0.21.tar.gz diff --git a/perl-Dist-Zilla-Plugin-ReadmeFromPod.spec b/perl-Dist-Zilla-Plugin-ReadmeFromPod.spec new file mode 100644 index 0000000..bf0d321 --- /dev/null +++ b/perl-Dist-Zilla-Plugin-ReadmeFromPod.spec @@ -0,0 +1,51 @@ +Name: perl-Dist-Zilla-Plugin-ReadmeFromPod +Version: 0.21 +Release: 1%{?dist} +Summary: Automatically convert POD to a README for Dist::Zilla +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Dist-Zilla-Plugin-ReadmeFromPod/ +Source0: http://www.cpan.org/authors/id/F/FA/FAYLAND/Dist-Zilla-Plugin-ReadmeFromPod-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(Dist::Zilla::Role::InstallTool) >= 5 +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(File::Spec) +BuildRequires: perl(IO::Handle) +BuildRequires: perl(IPC::Open3) +BuildRequires: perl(Moose) +BuildRequires: perl(Moose::Autobox) +BuildRequires: perl(strict) +BuildRequires: perl(Test::More) +BuildRequires: perl(warnings) +Requires: perl(Dist::Zilla::Role::InstallTool) >= 5 +Requires: perl(Pod::Simple) >= 3.23 +Requires: perl(Pod::Text) +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) + +%description +Generate the README file from main_module (or other if specified) +with Pod::Text. + +%prep +%setup -q -n Dist-Zilla-Plugin-ReadmeFromPod-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=%{buildroot} +%{_fixperms} %{buildroot}/* + +%check +make test + +%files +%doc Changes LICENSE README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Thu Sep 04 2014 Petr Šabata <contyk@xxxxxxxxxx> 0.21-1 +- Initial packaging diff --git a/sources b/sources index e69de29..afd9ab2 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +80b5bdb647ff529d6d66f373658ac0bb Dist-Zilla-Plugin-ReadmeFromPod-0.21.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel