%define module Params-Util %define name perl-%{module} %define version 0.17 %define release %mkrel 1 Name: %{name} Version: %{version} Release: %{release} Summary: Simple standalone param-checking functions License: GPL or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{module}/ Source: http://www.cpan.org/modules/by-module/Params/%{module}-%{version}.tar.bz2 %if %{mdkversion} < 1010 Buildrequires: perl-devel %endif BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version} %description Params::Util provides a basic set of importable functions that makes checking parameters a hell of a lot easier. %prep %setup -q -n %{module}-%{version} chmod 644 Changes README lib/Params/Util.pm %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 %{perl_vendorlib}/Params %{_mandir}/*/* %changelog * Tue Aug 29 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.17-1mdv2007.0 - New version 0.17 * Sun Jul 09 2006 Emmanuel Andry <eandry@mandriva.org> 0.15-1mdv2007.0 - New release 0.15 * Mon May 29 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.14-1mdv2007.0 - New release 0.14 * Thu May 04 2006 Nicolas Lécureuil <neoclust@mandriva.org> 0.12-1mdk - New release 0.12 - Fix typo on Source URL * Sat Apr 15 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.11-1mdk - New release 0.11 - better source URL * Fri Feb 03 2006 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.10-1mdk - 0.10 * Tue Jan 10 2006 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.09-1mdk - 0.09 * Mon Oct 10 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.07-1mdk - 0.07 * Thu Oct 06 2005 Guillaume Rousse <guillomovitch@mandriva.org> 0.06-1mdk - new version - %%mkrel - spec cleanup - fix directory ownership - rpmbuildupdate aware * Fri Aug 19 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.05-1mdk - Initial MDV release.