commit 031ffc148b21f2b825e5b4b9733e536568aa8c5f Author: Iain Arnell <iarnell@xxxxxxxxx> Date: Thu Jan 6 16:42:27 2011 +0100 initial import perl-Package-Pkg.spec | 51 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 51 insertions(+), 0 deletions(-) --- diff --git a/perl-Package-Pkg.spec b/perl-Package-Pkg.spec new file mode 100644 index 0000000..3e2dd4f --- /dev/null +++ b/perl-Package-Pkg.spec @@ -0,0 +1,51 @@ +Name: perl-Package-Pkg +Version: 0.0019 +Release: 1%{?dist} +Summary: Handy package munging utilities +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Package-Pkg/ +Source0: http://www.cpan.org/authors/id/R/RO/ROKR/Package-Pkg-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(Clone) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Mouse) +BuildRequires: perl(Sub::Install) +BuildRequires: perl(Test::Most) +BuildRequires: perl(Try::Tiny) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +Package::Pkg is a collection of useful, miscellaneous package-munging +utilities. Functionality is accessed via the imported pkg keyword, although +you can also invoke functions directly from the package (Package::Pkg). + +%prep +%setup -q -n Package-Pkg-%{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 README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Mon Jan 03 2011 Iain Arnell <iarnell@xxxxxxxxx> 0.0019-1 +- Specfile autogenerated by cpanspec 1.78. -- 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