%define upstream_name Dist-Zilla-Plugin-Test-CPAN-Meta-JSON %define upstream_version 0.003 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 1 Summary: Release tests for your META.json 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::FilePruner) BuildRequires: perl(File::Find) BuildRequires: perl(File::Temp) BuildRequires: perl(Moose) BuildRequires: perl(Moose::Autobox) BuildRequires: perl(Test::DZil) BuildRequires: perl(Test::More) BuildRequires: perl(autodie) BuildArch: noarch %description This is an extension of the Dist::Zilla::Plugin::InlineFiles manpage, providing the following file if _META.json_ is in your dist: xt/release/meta-json.t - a standard Test::CPAN::Meta::JSON test See the Test::CPAN::Meta::JSON manpage for what this test does. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %make test %install rm -rf %buildroot %makeinstall_std %files %doc README Changes LICENSE META.yml META.json %{_mandir}/man3/* %perl_vendorlib/* %changelog * Fri Aug 26 2011 jquelin <jquelin> 0.3.0-1.mga2 + Revision: 135455 - imported package perl-Dist-Zilla-Plugin-Test-CPAN-Meta-JSON * Fri Aug 26 2011 cpan2dist 0.003-1mga - initial mageia release, generated with cpan2dist