commit 4bd0870ceeebf79ca29808c370c7b07e5fc648e2 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Tue May 6 07:12:37 2014 +0200 Import .gitignore | 1 + perl-Devel-FindPerl.spec | 55 ++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 57 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..cb4bb84 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Devel-FindPerl-0.012.tar.gz diff --git a/perl-Devel-FindPerl.spec b/perl-Devel-FindPerl.spec new file mode 100644 index 0000000..e0dcb38 --- /dev/null +++ b/perl-Devel-FindPerl.spec @@ -0,0 +1,55 @@ +Name: perl-Devel-FindPerl +Version: 0.012 +Release: 1%{?dist} +Summary: Find the path to the current Perl interpreter +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Devel-FindPerl/ +Source0: http://www.cpan.org/authors/id/L/LE/LEONT/Devel-FindPerl-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time: +BuildRequires: perl(Carp) +BuildRequires: perl(Config) +BuildRequires: perl(Cwd) +BuildRequires: perl(Exporter) >= 5.57 +BuildRequires: perl(File::Basename) +BuildRequires: perl(File::Spec::Functions) +BuildRequires: perl(IPC::Open2) +BuildRequires: perl(Scalar::Util) +# Tests: +BuildRequires: perl(File::Spec) +BuildRequires: perl(IO::Handle) +BuildRequires: perl(IPC::Open3) +BuildRequires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) + +%description +This module tries to find the path to the currently running perl. + +%prep +%setup -q -n Devel-FindPerl-%{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 README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Mon May 05 2014 Petr Pisar <ppisar@xxxxxxxxxx> 0.012-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..ae28052 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +d1184cf3a5b3b3d06f75f40944934714 Devel-FindPerl-0.012.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel