%define upstream_name Dist-Zilla-Plugin-MakeMaker-Awesome %define upstream_version 0.12 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 1 Summary: A more awesome MakeMaker plugin 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::File::InMemory) BuildRequires: perl(Dist::Zilla::Plugin::MakeMaker) >= 4.101.830 BuildRequires: perl(Dist::Zilla::Role::BuildRunner) BuildRequires: perl(Dist::Zilla::Role::InstallTool) BuildRequires: perl(Dist::Zilla::Role::PrereqSource) BuildRequires: perl(Dist::Zilla::Role::TestRunner) BuildRequires: perl(Dist::Zilla::Role::TextTemplate) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.310.0 BuildRequires: perl(File::Find) BuildRequires: perl(File::Temp) BuildRequires: perl(List::MoreUtils) BuildRequires: perl(Moose) BuildRequires: perl(Moose::Autobox) BuildRequires: perl(MooseX::Types::Moose) BuildRequires: perl(Test::More) BuildRequires: perl(namespace::autoclean) BuildArch: noarch Obsoletes: perl-Dist-Zilla-Plugin-OverridableMakeMaker %description the Dist::Zilla manpage's Dist::Zilla::Plugin::MakeMaker plugin is limited, if you want to stray from the marked path and do something that would normally be done in a 'package MY' section or otherwise run custom code in your _Makefile.PL_ you're out of luck. This plugin is 100% compatable with the Dist::Zilla::Plugin::MakeMaker manpage, but if you need something more complex you can just subclass it: Then, in your _dist.ini_: %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 Changes LICENSE META.json META.yml README %{_mandir}/man3/* %perl_vendorlib/* %changelog * Thu Feb 24 2011 jquelin <jquelin> 0.120.0-1.mga1 + Revision: 58896 - update to 0.12 * Wed Jan 26 2011 jquelin <jquelin> 0.110.0-1.mga1 + Revision: 40461 - mageia rebuild - imported package perl-Dist-Zilla-Plugin-MakeMaker-Awesome