%define module Class-AutoClass %define name perl-%{module} %define version 0.092 %define release %mkrel 6 Name: %{name} Version: %{version} Release: %{release} Summary: Yet another OO helper License: GPL or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{module} Source: http://www.cpan.org/modules/by-module/Class/%{module}-%{version}.tar.bz2 %if %{mdkversion} < 1010 Buildrequires: perl-devel %endif Buildrequires: perl(IO::Stringy) BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version} %description This perl module brings the following advantages: - get and set methods for simple attributes can be automatically generated - argument lists are handled as described below - the protocol for object creation and initialization is close to the 'textbook' approach generally suggested for object-oriented Perl (see below) - object initialization is handled correctly in the presence of multiple inheritance %prep %setup -n %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %install rm -rf %{buildroot} %makeinstall_std %check %make test %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc Changes INSTALL %{perl_vendorlib}/Class %{_mandir}/*/* %changelog * Wed Jul 30 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.092-6mdv2009.0 + Revision: 255845 - rebuild * Fri Dec 21 2007 Olivier Blin <oblin@mandriva.com> 0.092-4mdv2008.1 + Revision: 136682 - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Sat Sep 15 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.092-4mdv2008.0 + Revision: 86073 - rebuild * Mon Aug 28 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.092-3mdv2007.0 - Rebuild * Thu Sep 29 2005 Nicolas Lécureuil <neoclust@mandriva.org> 0.092-2mdk - fix buildrequires * Mon Jun 20 2005 Guillaume Rousse <guillomovitch@mandriva.org> 0.092-1mdk - New release 0.092 - make test in %%check * Mon Apr 25 2005 Guillaume Rousse <guillomovitch@mandriva.org> 0.091-1mdk - new release - spec cleanup - better url * Mon Jan 17 2005 Guillaume Rousse <guillomovitch@mandrake.org> 0.09-1mdk - first mdk release