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

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