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

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