[perl-Module-Install-CheckLib] Import

Petr Pisar ppisar at fedoraproject.org
Fri Nov 7 13:07:39 UTC 2014


commit 0cda8767b0898bf084ae4c266afe737da3f8e666
Author: Petr Písař <ppisar at redhat.com>
Date:   Fri Nov 7 14:07:04 2014 +0100

    Import

 .gitignore                        |    1 +
 perl-Module-Install-CheckLib.spec |   79 +++++++++++++++++++++++++++++++++++++
 sources                           |    1 +
 3 files changed, 81 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..9a05e4a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Module-Install-CheckLib-0.08.tar.gz
diff --git a/perl-Module-Install-CheckLib.spec b/perl-Module-Install-CheckLib.spec
new file mode 100644
index 0000000..ca77ef4
--- /dev/null
+++ b/perl-Module-Install-CheckLib.spec
@@ -0,0 +1,79 @@
+Name:           perl-Module-Install-CheckLib
+Version:        0.08
+Release:        1%{?dist}
+Summary:        Module::Install extension to check that a library is available
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Module-Install-CheckLib/
+Source0:        http://www.cpan.org/authors/id/B/BI/BINGOS/Module-Install-CheckLib-%{version}.tar.gz
+BuildArch:      noarch
+# glibc-common for iconv
+BuildRequires:  glibc-common
+BuildRequires:  perl
+BuildRequires:  perl(inc::Module::Install)
+BuildRequires:  perl(Module::Install::AutoLicense)
+BuildRequires:  perl(Module::Install::GithubMeta)
+BuildRequires:  perl(Module::Install::Makefile)
+BuildRequires:  perl(Module::Install::Metadata)
+BuildRequires:  perl(Module::Install::ReadmeFromPod)
+BuildRequires:  perl(Module::Install::WriteAll)
+BuildRequires:  perl(strict)
+# Run-time:
+BuildRequires:  perl(base)
+BuildRequires:  perl(Devel::CheckLib) >= 0.7
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(Module::Install::Base) >= 0.99
+BuildRequires:  perl(vars)
+BuildRequires:  perl(warnings)
+# Tests:
+BuildRequires:  perl(Capture::Tiny) >= 0.05
+BuildRequires:  perl(File::Path)
+BuildRequires:  perl(File::Temp)
+BuildRequires:  perl(Test::More) >= 0.47
+# Optional tests:
+BuildRequires:  perl(Test::Pod) >= 1.00
+BuildRequires:  perl(Test::Pod::Coverage) >= 1.00
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:       perl(Devel::CheckLib) >= 0.7
+Requires:       perl(Module::Install::Base) >= 0.99
+
+# Remove under-specified dependencies
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Module::Install::Base\\)$
+
+%description
+Module::Install::CheckLib is a Module::Install extension that integrates
+Devel::CheckLib so that CPAN authors may stipulate which particular C
+library and its headers they want available and to exit the Makefile.PL
+gracefully if they aren't.
+
+%prep
+%setup -q -n Module-Install-CheckLib-%{version}
+# Remove bundled modules
+rm -r ./inc
+sed -i -e '/^inc\//d' MANIFEST
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+# Normalize encoding. The README is regenerated by
+# Module::Install::ReadmeFromPod,
+iconv -f ISO-8859-1 -t UTF-8 < README > README.utf8
+touch -r README README.utf8
+mv README.utf8 README
+
+%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
+* Wed Nov 05 2014 Petr Pisar <ppisar at redhat.com> 0.08-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..0e41e82 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+1445d6d8df38f6085f79fb1a519fcab4  Module-Install-CheckLib-0.08.tar.gz


More information about the scm-commits mailing list