[perl-Parse-CPAN-Distributions] Import

Petr Pisar ppisar at fedoraproject.org
Tue Nov 11 06:42:29 UTC 2014


commit 7726abc9a409bf09faec99d998373fc7690041a5
Author: Petr Písař <ppisar at redhat.com>
Date:   Tue Nov 11 07:41:43 2014 +0100

    Import

 .gitignore                         |    1 +
 perl-Parse-CPAN-Distributions.spec |   64 ++++++++++++++++++++++++++++++++++++
 sources                            |    1 +
 3 files changed, 66 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..77e97ab 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Parse-CPAN-Distributions-0.14.tar.gz
diff --git a/perl-Parse-CPAN-Distributions.spec b/perl-Parse-CPAN-Distributions.spec
new file mode 100644
index 0000000..292d19f
--- /dev/null
+++ b/perl-Parse-CPAN-Distributions.spec
@@ -0,0 +1,64 @@
+Name:           perl-Parse-CPAN-Distributions
+Version:        0.14
+Release:        1%{?dist}
+Summary:        Provides an index for current CPAN distributions
+License:        Artistic 2.0
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Parse-CPAN-Distributions/
+Source0:        http://www.cpan.org/authors/id/B/BA/BARBIE/Parse-CPAN-Distributions-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  glibc-common
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+# Run-time:
+BuildRequires:  perl(CPAN::DistnameInfo)
+BuildRequires:  perl(File::Basename)
+BuildRequires:  perl(File::Path)
+BuildRequires:  perl(File::Slurp)
+BuildRequires:  perl(File::Temp)
+BuildRequires:  perl(IO::File)
+BuildRequires:  perl(IO::Zlib)
+BuildRequires:  perl(LWP::UserAgent)
+BuildRequires:  perl(vars)
+BuildRequires:  perl(version)
+# Tests:
+# Test::CPAN::Meta not used
+# Test::CPAN::Meta::JSON not used
+BuildRequires:  perl(Test::More) >= 0.70
+# Test::Pod 1.0 not used
+# Test::Pod::Coverage 0.08 not used
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+
+%description
+This Perl module provides the ability to index the distributions that are
+currently listed on CPAN. This is done by parsing the index file find-ls.
+
+%prep
+%setup -q -n Parse-CPAN-Distributions-%{version}
+# Normalize encoding
+iconv -f ISO-8859-1 -t UTF-8 <LICENSE >LICENSE.utf8
+touch -r LICENSE LICENSE.utf8
+mv LICENSE.utf8 LICENSE
+
+%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
+%doc Changes LICENSE README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Mon Nov 10 2014 Petr Pisar <ppisar at redhat.com> 0.14-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..4006f74 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+c0605b365e9c2bd241eca04e944e6bbe  Parse-CPAN-Distributions-0.14.tar.gz



More information about the perl-devel mailing list