%define module Image-Xbm %define name perl-%{module} %define version 1.08 %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 xbm image files. %prep %setup -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.08-6mdk - fix buildrequires in a backward compatible way - remove MANIFEST file * Mon Nov 15 2004 Guillaume Rousse <guillomovitch@mandrake.org> 1.08-5mdk - rebuild * Sat Aug 28 2004 Guillaume Rousse <guillomovitch@mandrake.org> 1.08-4mdk - fix directory ownership (distlint) - make test * Fri Jul 23 2004 Guillaume Rousse <guillomovitch@mandrake.org> 1.08-3mdk - rpmbuildupdate aware * Fri Aug 15 2003 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 1.08-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.08-1mdk - first mdk release