[5844] | 1 | Name: perl-Package-Generator |
---|
| 2 | Version: 0.103 |
---|
| 3 | Release: 1%{?_dist_release} |
---|
| 4 | Summary: Generate new packages quickly and easily |
---|
| 5 | License: GPL+ or Artistic |
---|
| 6 | Group: Development/Libraries |
---|
| 7 | URL: http://search.cpan.org/dist/Package-Generator/ |
---|
| 8 | Source0: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Package-Generator-%{version}.tar.gz |
---|
| 9 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) |
---|
| 10 | BuildArch: noarch |
---|
| 11 | BuildRequires: perl(Carp) |
---|
| 12 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
| 13 | BuildRequires: perl(Params::Util) |
---|
| 14 | BuildRequires: perl(Scalar::Util) |
---|
| 15 | BuildRequires: perl(Symbol) |
---|
| 16 | BuildRequires: perl(Test::More) |
---|
| 17 | # Test::Perl::Critic -> Perl::Critic -> Exception::Class -> Test::EOL -> |
---|
| 18 | # Pod::Coverage::TrustPod -> Pod::Eventual -> Mixin::Linewise -> |
---|
| 19 | # Sub::Exporter -> Package::Generator |
---|
| 20 | # Test::Perl::Critic not available in EPEL-4 |
---|
| 21 | %if "%{rhel}" != "4" && 0%{!?perl_bootstrap:1} |
---|
| 22 | BuildRequires: perl(Test::Perl::Critic) |
---|
| 23 | %endif |
---|
| 24 | BuildRequires: perl(Test::Pod) |
---|
| 25 | BuildRequires: perl(Test::Pod::Coverage) |
---|
| 26 | Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
---|
| 27 | |
---|
| 28 | %description |
---|
| 29 | This module lets you quickly and easily construct new packages. It gives |
---|
| 30 | them unused names and sets up their package data, if provided. |
---|
| 31 | |
---|
| 32 | %prep |
---|
| 33 | %setup -q -n Package-Generator-%{version} |
---|
| 34 | |
---|
| 35 | %build |
---|
| 36 | perl Makefile.PL INSTALLDIRS=vendor |
---|
| 37 | make %{?_smp_mflags} |
---|
| 38 | |
---|
| 39 | %install |
---|
| 40 | rm -rf %{buildroot} |
---|
| 41 | make pure_install DESTDIR=%{buildroot} |
---|
| 42 | find %{buildroot} -type f -name .packlist -exec rm -f {} \; |
---|
| 43 | find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null |
---|
| 44 | %{_fixperms} %{buildroot} |
---|
| 45 | |
---|
| 46 | %check |
---|
| 47 | make test %{!?perl_bootstrap:PERL_TEST_CRITIC=1} |
---|
| 48 | |
---|
| 49 | %clean |
---|
| 50 | rm -rf %{buildroot} |
---|
| 51 | |
---|
| 52 | %files |
---|
| 53 | %defattr(-,root,root,-) |
---|
| 54 | %doc Changes README |
---|
| 55 | %{perl_vendorlib}/Package/ |
---|
| 56 | %{_mandir}/man3/Package::Generator.3pm* |
---|
| 57 | %{_mandir}/man3/Package::Reaper.3pm* |
---|
| 58 | |
---|
| 59 | %changelog |
---|
| 60 | * Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.103-1 |
---|
| 61 | - initial build for Vine Linux |
---|
| 62 | |
---|
| 63 | * Tue Feb 7 2012 Paul Howarth <paul@city-fan.org> - 0.103-9 |
---|
| 64 | - Don't BR: perl(Test::Perl::Critic) if we're bootstrapping |
---|
| 65 | |
---|
| 66 | * Wed Feb 1 2012 Paul Howarth <paul@city-fan.org> - 0.103-8 |
---|
| 67 | - Run Perl::Critic test in %%check too |
---|
| 68 | - BR: perl(Test::Perl::Critic) |
---|
| 69 | - BR: perl(Carp) and perl(Symbol), which might be dual-lived |
---|
| 70 | - Use DESTDIR rather than PERL_INSTALL_ROOT |
---|
| 71 | - Drop version requirement for perl(ExtUtils::MakeMaker); older versions work |
---|
| 72 | without problems, e.g. version 6.17 on EL-4 |
---|
| 73 | - Make %%files list more explicit |
---|
| 74 | - Don't use macros for commands |
---|
| 75 | - Use tabs |
---|
| 76 | |
---|
| 77 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.103-7 |
---|
| 78 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
| 79 | |
---|
| 80 | * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.103-6 |
---|
| 81 | - Perl mass rebuild |
---|
| 82 | |
---|
| 83 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.103-5 |
---|
| 84 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 85 | |
---|
| 86 | * Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.103-4 |
---|
| 87 | - Rebuild to fix problems with vendorarch/lib (#661697) |
---|
| 88 | |
---|
| 89 | * Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.103-3 |
---|
| 90 | - Mass rebuild with perl-5.12.0 |
---|
| 91 | |
---|
| 92 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.103-2 |
---|
| 93 | - Rebuild against perl 5.10.1 |
---|
| 94 | |
---|
| 95 | * Tue Aug 11 2009 Chris Weyl <cweyl@alumni.drew.edu> - 0.103-1 |
---|
| 96 | - Auto-update to 0.103 (by cpan-spec-update 0.01) |
---|
| 97 | - Added a new br on perl(ExtUtils::MakeMaker) (version 6.42) |
---|
| 98 | |
---|
| 99 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.102-4 |
---|
| 100 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 101 | |
---|
| 102 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.102-3 |
---|
| 103 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 104 | |
---|
| 105 | * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.102-2 |
---|
| 106 | - Rebuild for perl 5.10 (again) |
---|
| 107 | |
---|
| 108 | * Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.102-1 |
---|
| 109 | - Rebuild for new perl |
---|
| 110 | - Update to 0.102 |
---|
| 111 | - Fix license tag |
---|
| 112 | |
---|
| 113 | * Wed Sep 06 2006 Chris Weyl <cweyl@alumni.drew.edu> - 0.100-2 |
---|
| 114 | - Bump |
---|
| 115 | |
---|
| 116 | * Tue Sep 05 2006 Chris Weyl <cweyl@alumni.drew.edu> - 0.100-1 |
---|
| 117 | - Specfile autogenerated by cpanspec 1.69.1 |
---|