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

Revision 9004, 3.6 KB checked in by inagaki, 10 years ago (diff)

2014-10-11 Ryoichi INAGAKI <ryo1@…>

  • perl-Net-SMTP-SSL, perl-Thread-Tie, perl-Test-MockDBI: rebuild
  • perl-Thread-Serialize, perl-Test-MockObject?, perl-UNIERSAL-can, perl-UNIVERSAL-isa, perl-load: update


Line 
1%define pkgname UNIVERSAL-can
2
3Name:           perl-%{pkgname}
4Version:        1.20140328
5Release:        1%{?_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}-root
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%build
40%{__perl} Makefile.PL INSTALLDIRS=vendor
41make %{?_smp_mflags}
42
43
44%install
45rm -rf %{buildroot}
46
47make pure_install DESTDIR=%{buildroot}
48
49find %{buildroot} -type f -name .packlist -exec rm -f {} \;
50find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
51
52chmod -R u+w %{buildroot}/*
53
54
55%check
56make test
57
58%clean
59rm -rf %{buildroot}
60
61
62%files
63%defattr(-,root,root,-)
64%doc Changes README
65%{perl_vendorlib}/UNIVERSAL/
66%{_mandir}/man3/*.3*
67
68
69%changelog
70* Sat Oct 11 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.20140328-1
71- updated to 1.20140328
72- build with perl 5.16.3
73
74* Thu Mar 02 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.15-7
75- rebuild
76
77* Mon Feb 20 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.15-6
78- initial build for Vine Linux
79
80* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.15-6
81- Perl mass rebuild
82
83* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.15-5
84- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
85
86* Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.15-4
87- 661697 rebuild for fixing problems with vendorach/lib
88
89* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.15-3
90- Mass rebuild with perl-5.12.0
91
92* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 1.15-2
93- rebuild against perl 5.10.1
94
95* Wed Oct  7 2009 Marcela Mašláňová <mmaslano@redhat.com> - 1.15-1
96- update to new upstream release
97
98* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-4
99- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
100
101* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-3
102- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
103
104* Wed Mar  5 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.12-2
105- rebuild for new perl
106
107* Wed Apr  5 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.12-1
108- Update to 1.12.
109
110* Fri Feb 10 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.11-1
111- Update to 1.11.
112- No longer build requires perl(Test::Exception).
113
114* Thu Feb  9 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.03-2
115- Missing build requirement: perl(Test::Exception).
116
117* Wed Feb  8 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.03-1
118- Update to 1.03.
119
120* Tue Dec 27 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.01-1
121- First build.
Note: See TracBrowser for help on using the repository browser.