source: projects/specs/trunk/p/perl-UNIVERSAL-can/perl-UNIVERSAL-can-vl.spec @ 5798

Revision 5798, 3.4 KB checked in by shaolin, 12 years ago (diff)
  • rebuild
Line 
1%define pkgname UNIVERSAL-can
2
3Name:           perl-%{pkgname}
4Version:        1.15
5Release:        7%{?_dist_release}
6Summary:        Hack around people calling UNIVERSAL::can() as a function
7
8Group:          Development/Libraries
9License:        Artistic or GPL+
10URL:            http://search.cpan.org/dist/UNIVERSAL-can/
11Source0:        http://www.cpan.org/authors/id/C/CH/CHROMATIC/UNIVERSAL-can-%{version}.tar.gz
12BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
13
14BuildArch:      noarch
15BuildRequires:  perl(Module::Build)
16BuildRequires:  perl(Test::Simple) >= 0.60
17BuildRequires:  perl(Test::Pod) >= 1.14
18BuildRequires:  perl(Test::Pod::Coverage) >= 1.04
19Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
20
21Vendor:         Project Vine
22Distribution:   Vine Linux
23Packager:       shaolin
24
25%description
26The UNIVERSAL class provides a few default methods so that all objects
27can use them. Object orientation allows programmers to override these
28methods in subclasses to provide more specific and appropriate behavior.
29
30Some authors call methods in the UNIVERSAL class on potential invocants
31as functions, bypassing any possible overriding. This is wrong and you
32should not do it. Unfortunately, not everyone heeds this warning and
33their bad code can break your good code.
34
35
36%prep
37%setup -q -n UNIVERSAL-can-%{version}
38
39
40%build
41%{__perl} Build.PL installdirs=vendor
42./Build
43
44
45%install
46rm -rf %{buildroot}
47./Build install destdir=%{buildroot} create_packlist=0
48chmod -R u+w %{buildroot}/*
49
50
51%check
52PERL_RUN_ALL_TESTS=1 ./Build test
53
54
55%clean
56rm -rf %{buildroot}
57
58
59%files
60%defattr(-,root,root,-)
61%doc Changes README
62%{perl_vendorlib}/UNIVERSAL/
63%{_mandir}/man3/*.3*
64
65
66%changelog
67* Thu Mar 02 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.15-7
68- rebuild
69
70* Mon Feb 20 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.15-6
71- initial build for Vine Linux
72
73* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.15-6
74- Perl mass rebuild
75
76* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.15-5
77- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
78
79* Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.15-4
80- 661697 rebuild for fixing problems with vendorach/lib
81
82* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.15-3
83- Mass rebuild with perl-5.12.0
84
85* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 1.15-2
86- rebuild against perl 5.10.1
87
88* Wed Oct  7 2009 Marcela Mašláňová <mmaslano@redhat.com> - 1.15-1
89- update to new upstream release
90
91* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-4
92- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
93
94* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-3
95- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
96
97* Wed Mar  5 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.12-2
98- rebuild for new perl
99
100* Wed Apr  5 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.12-1
101- Update to 1.12.
102
103* Fri Feb 10 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.11-1
104- Update to 1.11.
105- No longer build requires perl(Test::Exception).
106
107* Thu Feb  9 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.03-2
108- Missing build requirement: perl(Test::Exception).
109
110* Wed Feb  8 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.03-1
111- Update to 1.03.
112
113* Tue Dec 27 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.01-1
114- First build.
Note: See TracBrowser for help on using the repository browser.