source: projects/specs/trunk/p/perl-Exception-Class/perl-Exception-Class-vl.spec @ 12120

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

perl-5.26 and friends

Line 
1Name:           perl-Exception-Class
2Version:        1.44
3Release:        1%{?_dist_release}
4Summary:        Module that allows you to declare real exception classes in Perl
5License:        Artistic 2.0
6Group:          Development/Libraries
7URL:            http://search.cpan.org/dist/Exception-Class/
8Source0:        http://www.cpan.org/authors/id/D/DR/DROLSKY/Exception-Class-%{version}.tar.gz
9
10BuildRoot:      %{_tmppath}/%{name}-%{version}-root
11BuildArch:      noarch
12BuildRequires:  perl(Class::Data::Inheritable)
13BuildRequires:  perl(Devel::StackTrace)
14BuildRequires:  perl(ExtUtils::MakeMaker)
15BuildRequires:  perl(Test::More)
16BuildRequires:  perl(Test::Pod)
17BuildRequires:  perl(Test::Pod::Coverage)
18Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
19
20Vendor:         Project Vine
21Distribution:   Vine Linux
22Packager:       shaolin
23
24%description
25Exception::Class allows you to declare exception hierarchies in your
26modules in a "Java-esque" manner.
27
28%prep
29%setup -q -n Exception-Class-%{version}
30
31chmod a-x lib/Exception/Class.pm
32
33%build
34%{__perl} Makefile.PL INSTALLDIRS=vendor
35make %{?_smp_mflags}
36
37%install
38rm -rf ${RPM_BUILD_ROOT}
39
40make pure_install PERL_INSTALL_ROOT=${RPM_BUILD_ROOT}
41
42find ${RPM_BUILD_ROOT} -type f -name .packlist -exec rm -f {} \;
43find ${RPM_BUILD_ROOT} -depth -type d -exec rmdir {} 2>/dev/null \;
44
45%{_fixperms} ${RPM_BUILD_ROOT}/*
46
47%check
48export IS_MAINTAINER=1
49make test
50
51%clean
52rm -rf ${RPM_BUILD_ROOT}
53
54%files
55%defattr(-,root,root,-)
56%license LICENSE
57%doc Changes README
58%dir %{perl_vendorlib}/Exception/Class
59%{perl_vendorlib}/Exception/Class/*
60%{perl_vendorlib}/Exception/Class.pm
61%{_mandir}/man3/*
62
63%changelog
64* Sat May 18 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.44-1
65- new upstream release.
66- rebuilt with perl-5.26.
67
68* Thu Nov 20 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.36-1
69- updated to 1.36
70- built with perl 5.16.3
71
72* Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.32-2
73- rebuild
74
75* Thu Feb 23 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.32-1
76- initial build for Vine Linux
77
78* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.32-4
79- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
80
81* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.32-3
82- Perl mass rebuild
83
84* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.32-2
85- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
86
87* Wed Dec 22 2010 Steven Pritchard <steve@kspei.com> 1.32-1
88- Update to 1.32.
89- License is now Artistic 2.0.
90- Switch back to building with ExtUtils::MakeMaker/Makefile.PL.  (Dave
91  Rolsky needs to make up his mind.)
92- Add README to docs.
93
94* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.29-5
95- 661697 rebuild for fixing problems with vendorach/lib
96
97* Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.29-4
98- Mass rebuild with perl-5.12.0
99
100* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.29-3
101- Mass rebuild with perl-5.12.0
102
103* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.29-2
104- rebuild against perl 5.10.1
105
106* Thu Jul 30 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.29-1
107- Upstream update (Required by other packages, fix mass rebuild breakdowns).
108
109* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.26-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> - 1.26-2
113- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
114
115* Fri Dec 12 2008 Steven Pritchard <steve@kspei.com> 1.26-1
116- Update to 1.26.
117- Bump Devel::StackTrace dependency to 1.20.
118
119* Sat May 31 2008 Steven Pritchard <steve@kspei.com> 1.24-1
120- Update to 1.24.
121- Bump Devel::StackTrace dependency to 1.17.
122- Clean up to match current cpanspec output.
123- Improve Summary and description.
124- Build with Module::Build.
125- BR Test::Pod and Test::Pod::Coverage and define IS_MAINTAINER.
126
127* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.23-6
128- Rebuild for perl 5.10 (again)
129
130* Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.23-5
131- rebuild against new perl
132
133* Sat Dec 29 2007 Ralf Corsépius 1.23-4
134- BR: perl(Test::More) (BZ 419631).
135- Adjust License-tag.
136
137* Tue Apr 17 2007 Steven Pritchard <steve@kspei.com> 1.23-3
138- Use fixperms macro instead of our own chmod incantation.
139- BR ExtUtils::MakeMaker.
140
141* Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 1.23-2
142- Canonicalize Source0 URL.
143- Fix find option order.
144- Drop executable bit from Exception/Class.pm to avoid a rpmlint warning.
145
146* Fri Feb 03 2006 Steven Pritchard <steve@kspei.com> 1.23-1
147- Update to 1.23
148
149* Tue Jan 10 2006 Steven Pritchard <steve@kspei.com> 1.22-1
150- Update to 1.22
151
152* Mon Sep 05 2005 Steven Pritchard <steve@kspei.com> 1.21-3
153- Remove explicit core module dependencies
154- Add COPYING and Artistic
155
156* Wed Aug 17 2005 Steven Pritchard <steve@kspei.com> 1.21-2
157- Minor spec cleanup
158
159* Tue Aug 16 2005 Steven Pritchard <steve@kspei.com> 1.21-1
160- Specfile autogenerated.
Note: See TracBrowser for help on using the repository browser.