%define module Module-Load-Conditional %define name perl-%{module} %define version 0.26 %define release %mkrel 4 Name: %{name} Version: %{version} Release: %{release} Summary: Looking up module information / loading at runtime License: GPL or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{module} Source: http://www.cpan.org/modules/by-module/Module/%{module}-%{version}.tar.bz2 %if %{mdkversion} < 1010 Buildrequires: perl-devel %endif Buildrequires: perl(Module::Load) Buildrequires: perl(Params::Check) Buildrequires: perl-version Buildarch: noarch BuildRoot: %{_tmppath}/%{name}-%{version} %description Module::Load::Conditional provides simple ways to query and possibly load any of the modules you have installed on your system during runtime. It is able to load multiple modules at once or none at all if one of them was not able to load. It also takes care of any error checking and so forth. It allows you to fetch any file pointed to by a ftp, http, file, or rsync uri by a number of different means. %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 README %{perl_vendorlib}/Module %{_mandir}/*/* %changelog * Thu Jul 31 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.26-4mdv2009.0 + Revision: 257898 - rebuild * Thu Jul 24 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.26-3mdv2009.0 + Revision: 245944 - rebuild * Sat Mar 01 2008 Michael Scherer <misc@mandriva.org> 0.26-1mdv2008.1 + Revision: 177286 - update to new version 0.26 * Tue Jan 15 2008 Guillaume Rousse <guillomovitch@mandriva.org> 0.24-1mdv2008.1 + Revision: 152838 - update to new version 0.24 + Olivier Blin <oblin@mandriva.com> - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Thu Nov 01 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.22-1mdv2008.1 + Revision: 104493 - update to new version 0.22 * Fri Oct 12 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.20-1mdv2008.1 + Revision: 97516 - update to new version 0.20 * Tue Mar 06 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.16-1mdv2007.0 + Revision: 133743 - fix build dependencies - new version - Import perl-Module-Load-Conditional * Sat Aug 26 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.12-1mdv2007.0 - New version 0.12 * Sat Aug 05 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.10-1mdv2007.0 - New version 0.10 * Fri May 05 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.08-2mdk - buildrequires fix * Mon Apr 24 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.08-1mdk - first mdk release