%define module Module-Pluggable-Fast %define name perl-%{module} %define version 0.18 %define release %mkrel 2 Name: %{name} Version: %{version} Release: %{release} Summary: Fast plugins with instantiation License: Artistic/GPL Group: Development/Perl Source: http://search.cpan.org/CPAN/authors/id/M/MR/MRAMBERG/%{module}-%{version}.tar.bz2 URL: http://search.cpan.org/dist/%{module}/ %if %{mdkversion} < 1010 Buildrequires: perl-devel %endif Buildrequires: perl-UNIVERSAL-exports Buildrequires: perl-UNIVERSAL-require BuildArch: noarch Buildroot: %{_tmppath}/%{name}-%{version} %description This module is similar to Module::Pluggable but instantiates plugins as soon as they're found, useful for code generators like Class::DBI::Loader. %prep %setup -q -n %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %{__make} test %install rm -rf %{buildroot} %makeinstall_std %files %defattr(-,root,root) %doc README Changes %{perl_vendorlib}/Module %{_mandir}/*/* %clean rm -rf %{buildroot} %changelog * Thu Dec 22 2005 Michael Scherer <misc@mandriva.org> 0.18-2mdk - Add perl-UNIVERSAL-require BuildRequires * Mon Dec 19 2005 Guillaume Rousse <guillomovitch@mandriva.org> 0.18-1mdk - New release 0.18 - spec cleanup - fix directory ownership * Wed Oct 26 2005 Lenny Cartier <lenny@mandriva.com> 0.16-3mdk - rebuild for allegro * Thu Sep 29 2005 Nicolas Lécureuil <neoclust@mandriva.org> 0.16-2mdk - BuildRequires * Thu Jun 09 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.16-1mdk - 0.16 * Tue May 03 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.15-1mdk - First Mandriva release