commit 8c543a4745fc9aecb4b34b5ff60db0afcd35cd37 Author: Iain Arnell <iarnell@xxxxxxxxx> Date: Sun May 1 08:27:17 2011 +0200 initial import (rhbz#700141) .gitignore | 1 + perl-Devel-PatchPerl.spec | 55 +++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 57 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..3d7807a 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Devel-PatchPerl-0.30.tar.gz diff --git a/perl-Devel-PatchPerl.spec b/perl-Devel-PatchPerl.spec new file mode 100644 index 0000000..ce76381 --- /dev/null +++ b/perl-Devel-PatchPerl.spec @@ -0,0 +1,55 @@ +Name: perl-Devel-PatchPerl +Version: 0.30 +Release: 1%{?dist} +Summary: Patch perl source à la Devel::PPPort's buildperl.pl +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Devel-PatchPerl/ +Source0: http://www.cpan.org/authors/id/B/BI/BINGOS/Devel-PatchPerl-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl >= 1:v5.6.0 +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::pushd) >= 1.00 +BuildRequires: perl(IO::File) +BuildRequires: perl(IPC::Cmd) >= 0.40 +BuildRequires: perl(MIME::Base64) +BuildRequires: perl(Test::More) +Requires: perl(File::pushd) >= 1.00 +Requires: perl(IPC::Cmd) >= 0.40 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +Devel::PatchPerl is a modularisation of the patching code contained in +Devel::PPPort's buildperl.pl. + +%prep +%setup -q -n Devel-PatchPerl-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=%{buildroot} + +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} %{buildroot}/* + +%check +make test + +%files +%defattr(-,root,root,-) +%doc Changes LICENSE README +%{perl_vendorlib}/* +%{_bindir}/* +%{_mandir}/man1/* +%{_mandir}/man3/* + +%changelog +* Wed Apr 27 2011 Iain Arnell <iarnell@xxxxxxxxx> 0.30-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..508a4cf 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +457314e44f589775b6e5ba3b92a0a9ba Devel-PatchPerl-0.30.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