From 5b0c3aa8ac16a473a4c8a0dfdcc79e6151cf6124 Mon Sep 17 00:00:00 2001 From: Petr Písař Date: May 24 2013 10:46:52 +0000 Subject: Import --- diff --git a/.gitignore b/.gitignore index e69de29..48d6019 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Alien-ROOT-v5.34.3.1.tar.gz diff --git a/perl-Alien-ROOT.spec b/perl-Alien-ROOT.spec new file mode 100644 index 0000000..47cb0b3 --- /dev/null +++ b/perl-Alien-ROOT.spec @@ -0,0 +1,72 @@ +Name: perl-Alien-ROOT +Version: 5.34.3.1 +Release: 1%{?dist} +Summary: Utility package to install and locate CERN's ROOT library +License: GPLv2+ +Group: Development/Libraries +URL: http://search.cpan.org/dist/Alien-ROOT/ +Source0: http://www.cpan.org/authors/id/S/SM/SMUELLER/Alien-ROOT-v%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(Archive::Extract) +BuildRequires: perl(base) +BuildRequires: perl(Carp) +BuildRequires: perl(Config) +BuildRequires: perl(Cwd) +BuildRequires: perl(Env) +BuildRequires: perl(Exporter) +# ExtUtils::Command not used +BuildRequires: perl(Fatal) +BuildRequires: perl(File::Fetch) +BuildRequires: perl(Getopt::Long) +# inc::latest not used +BuildRequires: perl(lib) +BuildRequires: perl(Module::Build) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time: +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Spec) +BuildRequires: perl(IPC::Open3) +BuildRequires: root-core +# Tests: +BuildRequires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Config) +Requires: perl(ExtUtils::MakeMaker) +Requires: perl(File::Spec) +Requires: perl(IPC::Open3) +Requires: root-core + +%description +The original intention is to install and detect CERN's ROOT library. This +package always requires the ROOT library provided with your distribution. + +%prep +%setup -q -n Alien-ROOT-v%{version} +# Remove bundled modules +find inc -depth -mindepth 1 -maxdepth 1 \! -name Alien -exec rm -rf -- {} + +sed -i -e '/^inc\//d' MANIFEST +find inc -type f >> MANIFEST +# Bypass inc::latest as it requires packlists +sed -i -e "s/use inc::latest '\([^']*\)'/use \1/" Build.PL + +%build +perl Build.PL installdirs=vendor +./Build + +%install +./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +./Build test + +%files +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Tue May 14 2013 Petr Pisar 5.34.3.1-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..8eb4f5e 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +c45d28c62d32d4f2ff04640b025e2bce Alien-ROOT-v5.34.3.1.tar.gz