1 | Name: perl-Sub-Exporter |
---|
2 | Version: 0.987 |
---|
3 | Release: 2%{?_dist_release} |
---|
4 | Summary: Sophisticated exporter for custom-built routines |
---|
5 | License: GPL+ or Artistic |
---|
6 | Group: Development/Libraries |
---|
7 | URL: http://search.cpan.org/dist/Sub-Exporter/ |
---|
8 | Source0: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Sub-Exporter-%{version}.tar.gz |
---|
9 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
10 | BuildArch: noarch |
---|
11 | # Build |
---|
12 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
13 | # Module |
---|
14 | BuildRequires: perl(Carp) |
---|
15 | BuildRequires: perl(Data::OptList) |
---|
16 | BuildRequires: perl(Package::Generator) |
---|
17 | BuildRequires: perl(Params::Util) |
---|
18 | BuildRequires: perl(Sub::Install) |
---|
19 | # Test suite |
---|
20 | BuildRequires: perl(Test::More) |
---|
21 | # Runtime |
---|
22 | Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
---|
23 | Requires: perl(Package::Generator) |
---|
24 | |
---|
25 | Vendor: Project Vine |
---|
26 | Distribution: Vine Linux |
---|
27 | |
---|
28 | %description |
---|
29 | Sub::Exporter provides a sophisticated alternative to Exporter.pm. It allows |
---|
30 | for renaming, currying/sub-generation, and other cool stuff. |
---|
31 | |
---|
32 | ACHTUNG! If you're not familiar with Exporter or exporting, read |
---|
33 | Sub::Exporter::Tutorial first! |
---|
34 | |
---|
35 | %prep |
---|
36 | %setup -q -n Sub-Exporter-%{version} |
---|
37 | |
---|
38 | # Fix shellbangs |
---|
39 | find t/ -type f -exec sed -i -e 's|^#!perl|#!/usr/bin/perl|' {} \; |
---|
40 | |
---|
41 | %build |
---|
42 | perl Makefile.PL INSTALLDIRS=vendor |
---|
43 | make %{?_smp_mflags} |
---|
44 | |
---|
45 | %install |
---|
46 | rm -rf %{buildroot} |
---|
47 | make pure_install DESTDIR=%{buildroot} |
---|
48 | find %{buildroot} -type f -name .packlist -exec rm -f {} \; |
---|
49 | %{_fixperms} %{buildroot} |
---|
50 | |
---|
51 | %check |
---|
52 | make test |
---|
53 | |
---|
54 | %clean |
---|
55 | rm -rf %{buildroot} |
---|
56 | |
---|
57 | %files |
---|
58 | %defattr(-,root,root,-) |
---|
59 | %doc Changes README t/ |
---|
60 | %dir %{perl_vendorlib}/Sub/ |
---|
61 | %dir %{perl_vendorlib}/Sub/Exporter/ |
---|
62 | %{perl_vendorlib}/Sub/Exporter.pm |
---|
63 | %{perl_vendorlib}/Sub/Exporter/Util.pm |
---|
64 | %doc %{perl_vendorlib}/Sub/Exporter/Cookbook.pod |
---|
65 | %doc %{perl_vendorlib}/Sub/Exporter/Tutorial.pod |
---|
66 | %{_mandir}/man3/Sub::Exporter.3pm* |
---|
67 | %{_mandir}/man3/Sub::Exporter::Cookbook.3pm* |
---|
68 | %{_mandir}/man3/Sub::Exporter::Tutorial.3pm* |
---|
69 | %{_mandir}/man3/Sub::Exporter::Util.3pm* |
---|
70 | |
---|
71 | %changelog |
---|
72 | * Fri May 17 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.987-2 |
---|
73 | - rebuilt with perl-5.26. |
---|
74 | |
---|
75 | * Sat Nov 22 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.987-1 |
---|
76 | - updated to 0.987 |
---|
77 | - built with perl 5.16.3 |
---|
78 | |
---|
79 | * Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.982-1 |
---|
80 | - initial build for Vine Linux |
---|
81 | |
---|
82 | * Sat Mar 3 2012 Paul Howarth <paul@city-fan.org> - 0.982-10 |
---|
83 | - Explicitly require perl(Package::Generator) |
---|
84 | - Make %%files list more explicit |
---|
85 | - Mark POD files as %%doc |
---|
86 | - Use DESTDIR rather than PERL_INSTALL_ROOT |
---|
87 | - Don't need to remove empty directories from buildroot |
---|
88 | - Don't use macros for commands |
---|
89 | - Use tabs |
---|
90 | |
---|
91 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.982-9 |
---|
92 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
93 | |
---|
94 | * Wed Jun 29 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.982-8 |
---|
95 | - Perl mass rebuild |
---|
96 | |
---|
97 | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.982-7 |
---|
98 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
99 | |
---|
100 | * Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.982-6 |
---|
101 | - Rebuild to fix problems with vendorarch/lib (#661697) |
---|
102 | |
---|
103 | * Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.982-5 |
---|
104 | - Mass rebuild with perl-5.12.0 |
---|
105 | |
---|
106 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.982-4 |
---|
107 | - Rebuild against perl 5.10.1 |
---|
108 | |
---|
109 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.982-3 |
---|
110 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
111 | |
---|
112 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.982-2 |
---|
113 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
114 | |
---|
115 | * Wed Feb 11 2009 Chris Weyl <cweyl@alumni.drew.edu> - 0.982-1 |
---|
116 | - Update to 0.982 |
---|
117 | |
---|
118 | * Sun Oct 26 2008 Chris Weyl <cweyl@alumni.drew.edu> - 0.981-1 |
---|
119 | - Update to 0.981 |
---|
120 | |
---|
121 | * Thu Oct 23 2008 Chris Weyl <cweyl@alumni.drew.edu> - 0.980-1 |
---|
122 | - Update to 0.980 |
---|
123 | |
---|
124 | * Mon Jun 30 2008 Chris Weyl <cweyl@alumni.drew.edu> - 0.979-1 |
---|
125 | - Update to 0.979 |
---|
126 | - Drop BR's on: perl(Test::Pod::Coverage), perl(Test::Pod) |
---|
127 | |
---|
128 | * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.978-2 |
---|
129 | - Rebuild for perl 5.10 (again) |
---|
130 | |
---|
131 | * Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.978-1 |
---|
132 | - Update to 0.978 |
---|
133 | - Fix license tag |
---|
134 | - Rebuild for new perl |
---|
135 | |
---|
136 | * Thu Aug 09 2007 Chris Weyl <cweyl@alumni.drew.edu> - 0.975-1 |
---|
137 | - Update to 0.975 |
---|
138 | |
---|
139 | * Fri Jun 01 2007 Chris Weyl <cweyl@alumni.drew.edu> - 0.974-1 |
---|
140 | - Update to 0.974 |
---|
141 | |
---|
142 | * Sat Dec 09 2006 Chris Weyl <cweyl@alumni.drew.edu> - 0.972-1 |
---|
143 | - Update to 0.972 |
---|
144 | |
---|
145 | * Thu Sep 07 2006 Chris Weyl <cweyl@alumni.drew.edu> - 0.970-2 |
---|
146 | - Bump |
---|
147 | |
---|
148 | * Sat Sep 02 2006 Chris Weyl <cweyl@alumni.drew.edu> - 0.970-1 |
---|
149 | - Specfile autogenerated by cpanspec 1.69.1 |
---|