source: projects/specs/trunk/p/perl-Spiffy/perl-Spiffy-vl.spec @ 9064

Revision 9064, 4.1 KB checked in by inagaki, 9 years ago (diff)

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

  • perl-File-BaseDir?: rebuilt
  • perl-File-Find-Rule[-Perl], perl-File-HomeDir?, perl-File-MMagic, perl-Spiffy: updated


Line 
1Name:           perl-Spiffy
2Version:        0.46
3Release:        1%{?_dist_release}
4Summary:        Framework for doing object oriented (OO) programming in Perl
5License:        GPL+ or Artistic
6Group:          Development/Libraries
7URL:            http://search.cpan.org/dist/Spiffy/
8Source0:        http://www.cpan.org/authors/id/I/IN/INGY/Spiffy-%{version}.tar.gz
9
10BuildArch:      noarch
11BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
12BuildRequires:  perl(ExtUtils::MakeMaker)
13BuildRequires:  perl(Test::More)
14Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
15
16%if "%{_dist_release}" <= "vl6"
17# Filter bogus provide of perl(DB) (rpm < 4.9)
18%global provfilt /bin/sh -c "%{__perl_provides} | sed -e '/^perl(DB)$/d'"
19%define __perl_provides %{provfilt}
20%else
21# Equivalent filter for rpm 4.9 onwards
22%global __provides_exclude ^perl\\(DB\\)
23%endif
24
25%description
26"Spiffy" is a framework and methodology for doing object oriented (OO)
27programming in Perl. Spiffy combines the best parts of Exporter.pm,
28base.pm, mixin.pm and SUPER.pm into one magic foundation class. It attempts
29to fix all the nits and warts of traditional Perl OO, in a clean,
30straightforward and (perhaps someday) standard way.
31
32%prep
33%setup -q -n Spiffy-%{version}
34
35%build
36%{__perl} Makefile.PL INSTALLDIRS=vendor
37make %{?_smp_mflags}
38
39%install
40rm -rf %{buildroot}
41
42make pure_install PERL_INSTALL_ROOT=%{buildroot}
43
44find %{buildroot} -type f -name .packlist -exec rm -f {} \;
45find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
46
47%{_fixperms} %{buildroot}/*
48
49%check
50make test
51
52%clean
53rm -rf %{buildroot}
54
55%files
56%defattr(-,root,root,-)
57%doc Changes README
58%{perl_vendorlib}/*
59%{_mandir}/man3/*
60
61%changelog
62* Thu Nov 06 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.46-1
63- update to 0.46
64- built with perl 5.16.3
65
66* Fri Mar 09 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.30-1
67- initial build for Vine Linux
68
69* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.30-18
70- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
71
72* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.30-17
73- Perl mass rebuild
74
75* Tue Apr 19 2011 Paul Howarth <paul@city-fan.org> - 0.30-16
76- Make the provides filter work with rpm 4.9 too
77
78* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.30-15
79- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
80
81* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.30-14
82- Rebuild to fix problems with vendorarch/lib (#661697)
83
84* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.30-13
85- Mass rebuild with perl-5.12.0
86
87* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.30-12
88- rebuild against perl 5.10.1
89
90* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.30-11
91- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
92
93* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.30-10
94- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
95
96* Sat Feb 02 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.30-9
97- rebuild for new perl
98
99* Wed Jan 02 2008 Ralf Corsépius <rc040203@freenet.de> 0.30-8
100- Adjust License-tag.
101- BR: perl(Test::More) (BZ 419631).
102
103* Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 0.30-7
104- Use fixperms macro instead of our own chmod incantation.
105- BR ExtUtils::MakeMaker.
106
107* Mon Sep 04 2006 Steven Pritchard <steve@kspei.com> 0.30-6
108- Rework spec to look more like current cpanspec output.
109
110* Tue Feb 28 2006 Steven Pritchard <steve@kspei.com> 0.30-5
111- Improve filter.
112
113* Mon Feb 27 2006 Steven Pritchard <steve@kspei.com> 0.30-4
114- Drop dummy mixin.pm.
115
116* Mon Feb 27 2006 Steven Pritchard <steve@kspei.com> 0.30-3
117- Filter out Provides: perl(DB).
118
119* Mon Feb 27 2006 Steven Pritchard <steve@kspei.com> 0.30-2
120- Drop explicit Provides: mixin.
121- Add dummy mixin.pm.
122- Improve Summary.
123- Fix Source0.
124
125* Sat Feb 25 2006 Steven Pritchard <steve@kspei.com> 0.30-1
126- Update to 0.30.
127- Drop explicit perl BR.
128
129* Wed Dec 28 2005 Steven Pritchard <steve@kspei.com> 0.24-1
130- Specfile autogenerated.
Note: See TracBrowser for help on using the repository browser.