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