%define upstream_name Dist-Zilla-Plugin-Clean %define upstream_version 0.07 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: Clean after release 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::Role::AfterRelease) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.300.0 BuildRequires: perl(File::Find) BuildRequires: perl(File::Temp) BuildRequires: perl(Moose) BuildRequires: perl(Test::More) BuildRequires: perl(strict) BuildRequires: perl(warnings) BuildArch: noarch %description Damn simple the Dist::Zilla manpage plugin that cleans the working directory after the release. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %make test %install %makeinstall_std %files %doc Changes LICENSE META.json META.yml MYMETA.yml README %{_mandir}/man3/* %perl_vendorlib/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.70.0-2.mga3 + Revision: 366110 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Fri Aug 31 2012 kharec <kharec> 0.70.0-1.mga3 + Revision: 286078 - update to 0.07 * Thu Jul 12 2012 jquelin <jquelin> 0.40.0-1.mga3 + Revision: 270266 - update to 0.04 * Thu Feb 23 2012 jquelin <jquelin> 0.30.0-1.mga2 + Revision: 212762 - update to 0.03 - imported package perl-Dist-Zilla-Plugin-Clean