source: projects/specs/trunk/p/perl-Class-Autouse/perl-Class-Autouse-vl.spec @ 9151

Revision 9151, 4.8 KB checked in by inagaki, 9 years ago (diff)

2014-12-13 Ryoichi INAGAKI <ryo1@…>

  • perl-Class-Autouse, perl-Image-Xbm, perl-Test-Harness-Straps: rebuilt
  • perl-Class-Autouse, perl-Image-{ExifTool?, Info, Xpm}, perl-Test-{EOL, Inline}: updated


Line 
1Name:           perl-Class-Autouse
2Version:        2.01
3Release:        2%{?_dist_release}
4Summary:        Run-time class loading on first method call
5License:        GPL+ or Artistic
6Group:          Development/Libraries
7URL:            http://search.cpan.org/dist/Class-Autouse/
8Source0:        http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Class-Autouse-%{version}.tar.gz
9
10# Upstream does its very best to prevent us from running them.
11%bcond_with     xt_tests
12
13Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
14BuildArch:      noarch
15
16BuildRequires:  perl(Carp)
17BuildRequires:  perl(File::Spec) >= 0.80
18BuildRequires:  perl(File::Temp) >= 0.17
19BuildRequires:  perl(prefork)
20BuildRequires:  perl(List::Util) >= 1.18
21BuildRequires:  perl(Test::More) >= 0.47
22
23# for xt tests
24%if %{with xt_tests}
25BuildRequires:  perl(Perl::MinimumVersion) >= 1.27
26BuildRequires:  perl(Pod::Simple) >= 3.14
27BuildRequires:  perl(Test::Pod) >= 1.44
28BuildRequires:  perl(Test::MinimumVersion) >= 0.101080
29BuildRequires:  perl(Test::CPAN::Meta) >= 0.17
30%endif
31
32%description
33Class::Autouse allows you to specify a class the will only load when a
34method of that class is called. For large classes that might not be used
35during the running of a program, such as Date::Manip, this can save you
36large amounts of memory, and decrease the script load time.
37
38%prep
39%setup -q -n Class-Autouse-%{version}
40
41%build
42AUTOMATED_TESTING=1 %{__perl} Makefile.PL INSTALLDIRS=vendor
43make %{?_smp_mflags}
44
45%install
46make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
47find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
48find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
49chmod -R u+w $RPM_BUILD_ROOT/*
50
51%check
52make test
53%if %{with xt_tests}
54# Manually invoke xt-tests
55AUTOMATED_TESTING=1 PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" xt/*.t
56%endif
57
58%files
59%defattr(-,root,root,-)
60%doc Changes LICENSE
61%{perl_vendorlib}/Class
62%{_mandir}/man3/*
63
64%changelog
65* Sat Dec 13 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 2.01-2
66- rebuilt with perl 5.16.3
67
68* Thu Mar 08 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.01-1
69- initial build for Vine Linux
70
71* Sun Feb 05 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 2.01-1
72- Upstream update.
73- Adjust BR:'s.
74- Modernize spec.
75
76* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.00-4
77- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
78
79* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 2.00-3
80- Perl mass rebuild
81
82* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.00-2
83- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
84
85* Fri Jan 21 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 2.00-1
86- Upstream update.
87- Adjust BR:'s.
88- Add %%bcond_with xt_tests.
89
90* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.29-10
91- 661697 rebuild for fixing problems with vendorach/lib
92
93* Tue Jul 20 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.29-9
94- Reenable pmv test.
95
96* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.29-8
97- Mass rebuild with perl-5.12.0
98
99* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.29-7
100- rebuild against perl 5.10.1
101
102* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.29-6
103- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
104
105* Fri Feb 27 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.29-5
106- Adjust minimum perl version in META.yml (Add Class-Autouse-1.29.diff).
107- BR: perl(List::Util) >= 1.19.
108
109* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.29-4
110- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
111
112* Tue Mar  4 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.29-3
113- rebuild for new perl
114
115* Sun Nov 25 2007 Ralf Corsépius <rc040203@freenet.de> - 1.29-2
116- Add BR: perl(Test-MinimumVersion).
117
118* Tue Nov 20 2007 Ralf Corsépius <rc040203@freenet.de> - 1.29-1
119- Upstream update.
120
121* Wed Sep 05 2007 Ralf Corsépius <rc040203@freenet.de> - 1.28-1
122- Upstream update.
123- Update license.
124
125* Tue Sep 05 2006 Ralf Corsépius <rc040203@freenet.de> - 1.27-1
126- Upstream update.
127
128* Tue Sep 05 2006 Ralf Corsépius <rc040203@freenet.de> - 1.26-2
129- Mass rebuild.
130
131* Thu Apr 20 2006 Ralf Corsépius <rc040203@freenet.de> - 1.26-1
132- Upstream update.
133
134* Wed Mar 01 2006 Ralf Corsépius <rc040203@freenet.de> - 1.21-3
135- Rebuild for perl-5.8.8.
136
137* Wed Feb 01 2006 Ralf Corsepius <rc040203@freenet.de> - 1.21-2
138- Revert to 1.21 (List::Util in Perl is too old).
139
140* Sat Jan 14 2006 Ralf Corsepius <rc040203@freenet.de> - 1.24-1
141- Upstream update.
142
143* Wed Sep 28 2005 Ralf Corsepius <rc040203@freenet.de> - 1.21-1
144- Upstream update.
145- Fix bogus dep on perl(Carp).
146
147* Thu Sep 15 2005 Ralf Corsepius <rc040203@freenet.de> - 1.20-2
148- Spec cleanup.
149
150* Tue Sep 13 2005 Ralf Corsepius <rc040203@freenet.de> - 1.20-1
151- Spec cleanup.
152- FE submission.
Note: See TracBrowser for help on using the repository browser.