Name: perl-Test-CPAN-Meta-JSON Version: 0.16 Release: 1%{?dist} Summary: Validate a META.json file within a CPAN distribution Group: Development/Libraries License: Artistic 2.0 URL: http://search.cpan.org/dist/Test-CPAN-Meta-YAML/ Vendor: bww bitwise works GmbH Source0: http://search.cpan.org/CPAN/authors/id/B/BA/BARBIE/Test-CPAN-Meta-JSON-%{version}.tar.gz #Patch0: Test-CPAN-Meta-JSON-0.16-utf8.patch BuildArch: noarch # Module Build #BuildRequires: perl-interpreter BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker) # Module Runtime BuildRequires: perl(IO::File) BuildRequires: perl(JSON) >= 2.15 BuildRequires: perl(strict) BuildRequires: perl(Test::Builder) BuildRequires: perl(vars) BuildRequires: perl(warnings) # Test Suite BuildRequires: perl(Test::Builder::Tester) BuildRequires: perl(Test::More) # Optional Tests #BuildRequires: perl(Test::CPAN::Meta) BuildRequires: perl(Test::Pod) >= 1.00 BuildRequires: perl(Test::Pod::Coverage) >= 0.08 # Runtime 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 ExtUtils::MakeMaker, Module::Build and Module::Install. See CPAN::Meta for further details of the CPAN Meta Specification. %prep %setup -q -n Test-CPAN-Meta-JSON-%{version} # Recode LICENSE as UTF-8 #%patch0 %build perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} make manifypods %install rm -rf %{buildroot} make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} \; %{_fixperms} %{buildroot} %check #make test AUTOMATED_TESTING=1 %files %if 0%{?_licensedir:1} %license LICENSE %else %doc LICENSE %endif %doc Changes README examples/ %{perl_vendorlib}/Test/ %{_mandir}/man3/*.3* #%{_mandir}/man3/Test::CPAN::Meta::JSON::Version.3* %changelog * Sun Mar 11 2018 Elbert Pol - 0.16-1 - initial rpm for OS2