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

Revision 5700, 3.3 KB checked in by shaolin, 12 years ago (diff)
  • perl-Test-MockDBI: new package
  • perl-Test-MockObject?: new package
  • perl-UNIVERSAL-isa: new package
  • perl-UNIVERSAL-can: new package
Line 
1%define pkgname UNIVERSAL-can
2
3Name:           perl-%{pkgname}
4Version:        1.15
5Release:        6%{?_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
42./Build
43
44
45%install
46rm -rf $RPM_BUILD_ROOT
47./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
48chmod -R u+w $RPM_BUILD_ROOT/*
49
50
51%check
52PERL_RUN_ALL_TESTS=1 ./Build test
53
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58
59%files
60%defattr(-,root,root,-)
61%doc Changes README
62%{perl_sitelib}/UNIVERSAL/
63%{_mandir}/man3/*.3*
64
65
66%changelog
67* Mon Feb 20 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.15-1
68- initial build for Vine Linux
69
70* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.15-6
71- Perl mass rebuild
72
73* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.15-5
74- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
75
76* Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.15-4
77- 661697 rebuild for fixing problems with vendorach/lib
78
79* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.15-3
80- Mass rebuild with perl-5.12.0
81
82* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 1.15-2
83- rebuild against perl 5.10.1
84
85* Wed Oct  7 2009 Marcela Mašláňová <mmaslano@redhat.com> - 1.15-1
86- update to new upstream release
87
88* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-4
89- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
90
91* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-3
92- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
93
94* Wed Mar  5 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.12-2
95- rebuild for new perl
96
97* Wed Apr  5 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.12-1
98- Update to 1.12.
99
100* Fri Feb 10 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.11-1
101- Update to 1.11.
102- No longer build requires perl(Test::Exception).
103
104* Thu Feb  9 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.03-2
105- Missing build requirement: perl(Test::Exception).
106
107* Wed Feb  8 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.03-1
108- Update to 1.03.
109
110* Tue Dec 27 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.01-1
111- First build.
Note: See TracBrowser for help on using the repository browser.