[perl-ExtUtils-MakeMaker-CPANfile] Import
Petr Pisar
ppisar at fedoraproject.org
Thu Jul 17 13:06:21 UTC 2014
commit 87063b1a5f0ddc5593b5fb0176c0aaaf00710526
Author: Petr Písař <ppisar at redhat.com>
Date: Thu Jul 17 15:01:22 2014 +0200
Import
.gitignore | 1 +
perl-ExtUtils-MakeMaker-CPANfile.spec | 57 +++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 59 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..529a660 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/ExtUtils-MakeMaker-CPANfile-0.06.tar.gz
diff --git a/perl-ExtUtils-MakeMaker-CPANfile.spec b/perl-ExtUtils-MakeMaker-CPANfile.spec
new file mode 100644
index 0000000..b7e172a
--- /dev/null
+++ b/perl-ExtUtils-MakeMaker-CPANfile.spec
@@ -0,0 +1,57 @@
+Name: perl-ExtUtils-MakeMaker-CPANfile
+Version: 0.06
+Release: 1%{?dist}
+Summary: CPANfile support for ExtUtils::MakeMaker
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/ExtUtils-MakeMaker-CPANfile/
+Source0: http://www.cpan.org/authors/id/I/IS/ISHIGAKI/ExtUtils-MakeMaker-CPANfile-%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: perl
+BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17
+BuildRequires: perl(strict)
+BuildRequires: perl(warnings)
+# Run-time:
+BuildRequires: perl(File::Spec::Functions)
+BuildRequires: perl(Module::CPANfile)
+BuildRequires: perl(version) >= 0.76
+# Tests:
+BuildRequires: perl(Cwd)
+BuildRequires: perl(File::Path)
+BuildRequires: perl(FindBin)
+BuildRequires: perl(Test::More) >= 0.88
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires: perl(ExtUtils::MakeMaker) >= 6.17
+
+# Remove under-specified dependencies
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(ExtUtils::MakeMaker\\)$
+
+%description
+ExtUtils::MakeMaker::CPANfile loads cpanfile in your distribution and
+modifies parameters for WriteMakefile in your Makefile.PL. Just use it
+instead of ExtUtils::MakeMaker (which should be loaded internally), and
+prepare cpanfile.
+
+%prep
+%setup -q -n ExtUtils-MakeMaker-CPANfile-%{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
+%doc Changes LICENSE
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Wed Jul 16 2014 Petr Pisar <ppisar at redhat.com> 0.06-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..d28924c 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+8e1a42d67b57ed15e08e25872dd84cac ExtUtils-MakeMaker-CPANfile-0.06.tar.gz
More information about the scm-commits
mailing list