source: projects/specs/trunk/p/perl-Sub-Exporter/perl-Sub-Exporter-vl.spec @ 12120

Revision 12120, 4.5 KB checked in by tomop, 5 years ago (diff)

perl-5.26 and friends

Line 
1Name:           perl-Sub-Exporter
2Version:        0.987
3Release:        2%{?_dist_release}
4Summary:        Sophisticated exporter for custom-built routines
5License:        GPL+ or Artistic
6Group:          Development/Libraries
7URL:            http://search.cpan.org/dist/Sub-Exporter/
8Source0:        http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Sub-Exporter-%{version}.tar.gz
9BuildRoot:      %{_tmppath}/%{name}-%{version}-root
10BuildArch:      noarch
11# Build
12BuildRequires:  perl(ExtUtils::MakeMaker)
13# Module
14BuildRequires:  perl(Carp)
15BuildRequires:  perl(Data::OptList)
16BuildRequires:  perl(Package::Generator)
17BuildRequires:  perl(Params::Util)
18BuildRequires:  perl(Sub::Install)
19# Test suite
20BuildRequires:  perl(Test::More)
21# Runtime
22Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
23Requires:       perl(Package::Generator)
24
25Vendor:         Project Vine
26Distribution:   Vine Linux
27
28%description
29Sub::Exporter provides a sophisticated alternative to Exporter.pm. It allows
30for renaming, currying/sub-generation, and other cool stuff.
31
32ACHTUNG! If you're not familiar with Exporter or exporting, read
33Sub::Exporter::Tutorial first!
34
35%prep
36%setup -q -n Sub-Exporter-%{version}
37
38# Fix shellbangs
39find t/ -type f -exec sed -i -e 's|^#!perl|#!/usr/bin/perl|' {} \;
40
41%build
42perl Makefile.PL INSTALLDIRS=vendor
43make %{?_smp_mflags}
44
45%install
46rm -rf %{buildroot}
47make pure_install DESTDIR=%{buildroot}
48find %{buildroot} -type f -name .packlist -exec rm -f {} \;
49%{_fixperms} %{buildroot}
50
51%check
52make test
53
54%clean
55rm -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
Note: See TracBrowser for help on using the repository browser.