From 71e3fe0eb870907d9da5e07127f6c8d79f3290cc Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Thu, 2 May 2013 17:46:37 +0100 Subject: [PATCH] Initial import (perl-CPAN-Meta-Check-0.005-2) This module verifies if requirements described in a CPAN::Meta object are present. --- .gitignore | 1 + perl-CPAN-Meta-Check.spec | 57 +++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 59 insertions(+) create mode 100644 perl-CPAN-Meta-Check.spec diff --git a/.gitignore b/.gitignore index e69de29..78e57e2 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/CPAN-Meta-Check-[0-9.]*.tar.gz diff --git a/perl-CPAN-Meta-Check.spec b/perl-CPAN-Meta-Check.spec new file mode 100644 index 0000000..36b64f8 --- /dev/null +++ b/perl-CPAN-Meta-Check.spec @@ -0,0 +1,57 @@ +Name: perl-CPAN-Meta-Check +Summary: Verify requirements in a CPAN::Meta object +Version: 0.005 +Release: 2%{?dist} +License: GPL+ or Artistic +Group: Development/Libraries +URL: https://metacpan.org/release/CPAN-Meta-Check +Source0: http://cpan.metacpan.org/authors/id/L/LE/LEONT/CPAN-Meta-Check-%{version}.tar.gz +BuildArch: noarch +# Build +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 +# Module +BuildRequires: perl(CPAN::Meta) >= 2.120920 +BuildRequires: perl(CPAN::Meta::Requirements) >= 2.120920 +BuildRequires: perl(Exporter) >= 5.57 +BuildRequires: perl(Module::Metadata) +# Test +BuildRequires: perl(File::Temp) +BuildRequires: perl(Test::Deep) +BuildRequires: perl(Test::More) >= 0.88 +# Release tests +BuildRequires: perl(Pod::Coverage::TrustPod) +BuildRequires: perl(Test::Pod) >= 1.41 +BuildRequires: perl(Test::Pod::Coverage) >= 1.08 +# Runtime +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) + +%description +This module verifies if requirements described in a CPAN::Meta object are +present. + +%prep +%setup -q -n CPAN-Meta-Check-%{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 RELEASE_TESTING=1 + +%files +%doc Changes LICENSE README +%{perl_vendorlib}/CPAN/ +%{_mandir}/man3/CPAN::Meta::Check.3pm* + +%changelog +* Wed May 1 2013 Paul Howarth - 0.005-2 +- Sanitize for Fedora submission + +* Sat Apr 27 2013 Paul Howarth - 0.005-1 +- Initial RPM version diff --git a/sources b/sources index e69de29..25efaf7 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +d6c84386c77298468d35a4e03eda6719 CPAN-Meta-Check-0.005.tar.gz