commit 4f127c5f562ee25d3849c92555416ab11f6fe2a4 Author: Petr Písař <ppi...@redhat.com> Date: Fri Oct 24 15:15:47 2014 +0200
Import .gitignore | 1 + perl-ExtUtils-Install.spec | 78 ++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 80 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..39eec19 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/ExtUtils-Install-2.04.tar.gz diff --git a/perl-ExtUtils-Install.spec b/perl-ExtUtils-Install.spec new file mode 100644 index 0000000..05c6986 --- /dev/null +++ b/perl-ExtUtils-Install.spec @@ -0,0 +1,78 @@ +Name: perl-ExtUtils-Install +Version: 2.04 +Release: 1%{?dist} +Summary: Install Perl files from here to there +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/ExtUtils-Install/ +Source0: http://www.cpan.org/authors/id/B/BI/BINGOS/ExtUtils-Install-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(lib) +BuildRequires: perl(strict) +# Run-time: +BuildRequires: perl(AutoSplit) +BuildRequires: perl(Carp) +BuildRequires: perl(Config) +BuildRequires: perl(Cwd) +# Data::Dumper not used at tests +BuildRequires: perl(Exporter) +BuildRequires: perl(File::Basename) +BuildRequires: perl(File::Compare) +BuildRequires: perl(File::Copy) +BuildRequires: perl(File::Find) +BuildRequires: perl(File::Path) +BuildRequires: perl(File::Spec) +BuildRequires: perl(vars) +# Win32API::File not used +# Tests: +BuildRequires: perl(diagnostics) +# ExtUtils::CBuilder not used +BuildRequires: perl(ExtUtils::MM) +BuildRequires: perl(File::Temp) +BuildRequires: perl(Test::More) +# VMS::DCLsymnot used +# Unbundled tests: +# Test::Builder not used +# Optional testes: +%if !%{defined perl_bootstrap} +BuildRequires: perl(Test::Pod) >= 1.14 +# Test::Pod::Coverage 1.08 not used +# Pod::Coverage 0.17 not used +%endif +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Data::Dumper) + +%{?perl_default_filter} + +%description +Handles the installing and uninstalling of Perl modules, scripts, man +pages, etc. + +%prep +%setup -q -n ExtUtils-Install-%{version} +# Remove bundled modules +rm -rf t/lib/Test +sed -i -e '/^t\/lib\/Test\//d' MANIFEST + +%build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +%{_fixperms} %{buildroot} + +%check +make test + +%files +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Thu Sep 18 2014 Petr Pisar <ppi...@redhat.com> 2.04-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..c296104 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +5784c74271dcb5f85dd9564e3d3cb726 ExtUtils-Install-2.04.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/perl-devel