%define module List-Compare %define name perl-%{module} %define version 0.33 %define release %mkrel 2 Name: %{name} Version: %{version} Release: %{release} Summary: Compare elements of two or more lists License: GPL or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{module} Source: http://www.cpan.org/modules/by-module/List/%{module}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version} %if %{mdkversion} < 1010 Buildrequires: perl-devel %endif Buildarch: noarch %description This module allows to compare elements of two or more lists. %prep %setup -q -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 README %{perl_vendorlib}/List %{_mandir}/*/* %changelog * Wed Mar 07 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.33-2mdv2007.0 + Revision: 134299 - rebuild * Wed Mar 01 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.33-1mdk - New release 0.33 * Tue Sep 20 2005 Guillaume Rousse <guillomovitch@mandriva.org> 0.32-1mdk - New release 0.32 * Sat Jun 11 2005 Guillaume Rousse <guillomovitch@mandriva.org> 0.31-3mdk - spec cleanup - don't ship useless empty dirs - make test in %%check * Mon Dec 20 2004 Guillaume Rousse <guillomovitch@mandrake.org> 0.31-2mdk - fix buildrequires in a backward compatible way * Mon Oct 11 2004 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 0.31-1mdk - 0.31 * Wed Jun 09 2004 Guillaume Rousse <guillomovitch@mandrake.org> 0.3-1mdk - first mdk release