ppisar pushed to perl-CPAN-Releases-Latest (master). "Import"

notifications at fedoraproject.org notifications at fedoraproject.org
Tue Aug 25 13:55:58 UTC 2015


From d95b0d7b60b8bc7211523de9484f9354339ba464 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
Date: Tue, 25 Aug 2015 15:55:36 +0200
Subject: Import


diff --git a/.gitignore b/.gitignore
index e69de29..8e3aebc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/CPAN-Releases-Latest-0.06.tar.gz
diff --git a/perl-CPAN-Releases-Latest.spec b/perl-CPAN-Releases-Latest.spec
new file mode 100644
index 0000000..2aa9015
--- /dev/null
+++ b/perl-CPAN-Releases-Latest.spec
@@ -0,0 +1,62 @@
+Name:           perl-CPAN-Releases-Latest
+Version:        0.06
+Release:        1%{?dist}
+Summary:        Find latest release of all distributions on CPAN
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/CPAN-Releases-Latest/
+Source0:        http://www.cpan.org/authors/id/N/NE/NEILB/CPAN-Releases-Latest-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  coreutils
+BuildRequires:  findutils
+BuildRequires:  make
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.30
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+# Run-time:
+BuildRequires:  perl(autodie)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(CPAN::DistnameInfo)
+BuildRequires:  perl(File::HomeDir)
+BuildRequires:  perl(File::Spec::Functions)
+BuildRequires:  perl(MetaCPAN::Client) >= 1.001001
+BuildRequires:  perl(Module::Runtime)
+BuildRequires:  perl(Moo)
+# Time::Duration::Parse not used at tests
+# Tests:
+# File::Copy not used
+BuildRequires:  perl(Test::More) >= 0.88
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:       perl(Time::Duration::Parse)
+
+%description
+This Perl module constructs a list of all distributions on CPAN, by default
+using the MetaCPAN API. The generated index is cached locally. It will let you
+iterate over the index, either release by release, or distribution by
+distribution.
+
+%prep
+%setup -q -n CPAN-Releases-Latest-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%license LICENSE
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Thu Aug 06 2015 Petr Pisar <ppisar at redhat.com> 0.06-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..3d6e018 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+f3cc3333c30b3a95d0cfb25ad949fe43  CPAN-Releases-Latest-0.06.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-CPAN-Releases-Latest.git/commit/?h=master&id=d95b0d7b60b8bc7211523de9484f9354339ba464


More information about the perl-devel mailing list