%define module Image-Xpm %define name perl-%{module} %define version 1.09 %define release 6mdk Name: %{name} Version: %{version} Release: %{release} Summary: %{module} module for perl License: GPL or Artistic Group: Development/Perl Source: http://search.cpan.org/CPAN/authors/id/S/SU/SUMMER/%{module}-%{version}.tar.bz2 Url: http://www.cpan.org BuildRoot: %{_tmppath}/%{name}-buildroot/ %if %{mdkversion} < 1010 Buildrequires: perl-devel %endif Buildrequires: perl-Image-Base Buildarch: noarch %description Load, create, manipulate and save xpm image files. %prep %setup -q -n %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README %{perl_vendorlib}/Image %{_mandir}/*/* %changelog * Mon Dec 20 2004 Guillaume Rousse <guillomovitch@mandrake.org> 1.09-6mdk - remove MANIFEST * Mon Dec 20 2004 Guillaume Rousse <guillomovitch@mandrake.org> 1.09-5mdk - fix buildrequires in a backward compatible way * Sat Aug 28 2004 Guillaume Rousse <guillomovitch@mandrake.org> 1.09-4mdk - fix directory ownership (distlint) - make test * Fri Jul 23 2004 Guillaume Rousse <guillomovitch@mandrake.org> 1.09-3mdk - rpmbuildupdate aware * Fri Aug 15 2003 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 1.09-2mdk - rebuild for new perl - drop $RPM_OPT_FLAGS, noarch.. - use %%makeinstall_std macro * Fri Jun 13 2003 Guillaume Rousse <guillomovitch@linux-mandrake.com> 1.09-1mdk - first mdk release