%define upstream_name Dist-Zilla-Plugin-ApocalypseTests %define upstream_version 1.001 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 1 Summary: Creates the Test::Apocalypse testfile 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(Dist::Zilla::Plugin::InlineFiles) BuildRequires: perl(Dist::Zilla::Role::FileMunger) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Find) BuildRequires: perl(File::Temp) BuildRequires: perl(Moose) BuildRequires: perl(Test::More) BuildArch: noarch %description This is an extension of the Dist::Zilla::Plugin::InlineFiles manpage, providing the following files: * * t/apocalypse.t - Runs the dist through Test::Apocalypse For more information on what the test does, please look at the Test::Apocalypse manpage. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %make test %install rm -rf %buildroot %makeinstall_std %clean rm -rf %buildroot %files %defattr(-,root,root) %doc README Changes LICENSE META.yml META.json %{_mandir}/man3/* %perl_vendorlib/* %changelog * Mon Mar 14 2011 jquelin <jquelin> 1.1.0-1.mga1 + Revision: 71015 - imported package perl-Dist-Zilla-Plugin-ApocalypseTests * Mon Mar 14 2011 cpan2dist 1.001-1mga - initial mageia release, generated with cpan2dist