Name: perl-Test-CPAN-Meta-JSON Version: 0.10 Release: 1%{?dist} Summary: Validate a META.json file within a CPAN distribution License: Artistic 2.0 Group: Development/Libraries URL: http://search.cpan.org/dist/Test-CPAN-Meta-JSON/ Source0: http://www.cpan.org/authors/id/B/BA/BARBIE/Test-CPAN-Meta-JSON-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(JSON) >= 2.15 BuildRequires: perl(Test::Builder) BuildRequires: perl(Test::Builder::Tester) BuildRequires: perl(Test::CPAN::Meta) >= 0.13 BuildRequires: perl(Test::More) >= 0.70 BuildRequires: perl(Test::Pod) >= 1.00 BuildRequires: perl(Test::Pod::Coverage) >= 0.08 Requires: perl(JSON) >= 2.15 Requires: perl(Test::Builder) Requires: perl(Test::CPAN::Meta) >= 0.13 Requires: perl(Test::More) >= 0.62 Requires: perl(Test::Pod) >= 1.00 Requires: perl(Test::Pod::Coverage) >= 0.08 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module was written to ensure that a META.json file, provided with a standard distribution uploaded to CPAN, meets the specifications that are slowly being introduced to module uploads, via the use of package makers and installers such as ExtUtils::MakeMaker, Module::Build and Module::Install. %prep %setup -q -n Test-CPAN-Meta-JSON-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes LICENSE META.json README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sat Jun 25 2011 Dave Cross 0.10-1 - Specfile autogenerated by cpanspec 1.78.