Name: perl-MetaCPAN-API Version: 0.50 Release: 1%{?dist} Summary: Comprehensive, DWIM-featured API to MetaCPAN License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/MetaCPAN-API/ Source0: http://www.cpan.org/authors/id/X/XS/XSAWYERX/MetaCPAN-API-%{version}.tar.gz BuildArch: noarch # Build BuildRequires: perl BuildRequires: perl(ExtUtils::MakeMaker) # Module BuildRequires: perl(Carp) BuildRequires: perl(HTTP::Tiny) BuildRequires: perl(JSON) BuildRequires: perl(Moo) >= 1.000001 BuildRequires: perl(Moo::Role) BuildRequires: perl(namespace::autoclean) BuildRequires: perl(Try::Tiny) BuildRequires: perl(Types::Standard) BuildRequires: perl(URI::Escape) # Test suite BuildRequires: perl(File::Spec) BuildRequires: perl(IO::Handle) BuildRequires: perl(IPC::Open3) BuildRequires: perl(Test::Fatal) BuildRequires: perl(Test::More) BuildRequires: perl(Test::RequiresInternet) BuildRequires: perl(Test::TinyMocker) # Author/Release tests BuildRequires: perl(Pod::Coverage::TrustPod) BuildRequires: perl(Test::Perl::Critic) BuildRequires: perl(Test::Pod) >= 1.41 BuildRequires: perl(Test::Pod::Coverage) >= 1.08 # Runtime Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %{?perl_default_filter} %description This is a hopefully-complete API-compliant interface to MetaCPAN (https://metacpan.org) with DWIM capabilities, to make your life easier. However, it has been completely rewritten to address a multitude of problems, and is now available under the new official name: MetaCPAN::Client. Please do not use this module. %prep %setup -q -n MetaCPAN-API-%{version} %build perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} \; %{_fixperms} %{buildroot} %check make test AUTHOR_TESTING=1 RELEASE_TESTING=1 %files %if 0%{?_licensedir:1} %license LICENSE %else %doc LICENSE %endif %doc Changes README %{perl_vendorlib}/MetaCPAN/ %{_mandir}/man3/* %changelog * Mon Jan 26 2015 Paul Howarth - 0.50-1 - Update to 0.50 - Convert to Moo - Use Types::Standard - Remove Module::Build - Deprecate using x_deprecate meta-data - Classify buildreqs by usage - Use %%license where possible - No longer need to avoid network tests as they're skipped automatically in koji - Switch to ExtUtils::MakeMaker flow * Mon Sep 01 2014 Jitka Plesnikova - 0.44-3 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.44-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Mon Apr 28 2014 Paul Howarth - 0.44-1 - Update to 0.44 - This module is deprecated; please use MetaCPAN::Client instead - Account for new tests that require network access * Sun Aug 04 2013 Petr Pisar - 0.43-6 - Perl 5.18 rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.43-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.43-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 0.43-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jun 22 2012 Petr Pisar - 0.43-2 - Perl 5.16 rebuild * Thu Apr 19 2012 Iain Arnell 0.43-1 - update to latest upstream version - enable author/release tests * Sun Apr 01 2012 Iain Arnell 0.42-1 - Specfile autogenerated by cpanspec 1.79. - skip tests that require network access in koji