%define module Class-Spiffy %define name perl-%{module} %define version 0.15 %define release %mkrel 4 Version: %{version} Name: %{name} Release: %{release} Summary: Spiffy Perl Interface Framework For You License: GPL or Artistic Group: Development/Perl Source0: http://search.cpan.org/CPAN/authors/id/I/IN/INGY/%{module}-%{version}.tar.bz2 URL: http://search.cpan.org/dist/%{module}/ %if %{mdkversion} < 1010 BuildRequires: perl-devel %endif BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version} %description "Class::Spiffy" is a framework and methodology for doing object oriented (OO) programming in Perl. Class::Spiffy combines the best parts of Exporter.pm, base.pm, mixin.pm and SUPER.pm into one magic foundation class. It attempts to fix all the nits and warts of traditional Perl OO, in a clean, straightforward and (perhaps someday) standard way. %prep %setup -q -n %{module}-%{version} %build %__perl Makefile.PL INSTALLDIRS=vendor %make %check %__make test %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc Changes README %{_mandir}/man*/* %{perl_vendorlib}/Class/Spiffy.pm %{perl_vendorlib}/Class/Spiffy/* %changelog * Tue Jun 17 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.15-4mdv2009.0 + Revision: 223574 - rebuild * Thu Mar 06 2008 Oden Eriksson <oeriksson@mandriva.com> 0.15-3mdv2008.1 + Revision: 180368 - rebuild + Olivier Blin <oblin@mandriva.com> - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Sun Apr 29 2007 Olivier Thauvin <nanardon@mandriva.org> 0.15-2mdv2008.0 + Revision: 19109 - rebuild * Fri Feb 10 2006 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.15-1mdk - 0.15 * Tue Jan 24 2006 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.12-1mdk - First MDV release