%define module Image-Xpm %define name perl-%{module} %define version 1.09 %define release %mkrel 12 Name: %{name} Version: %{version} Release: %{release} Summary: Load, create, manipulate and save xpm image files License: GPL or Artistic Group: Development/Perl Source: http://search.cpan.org/CPAN/authors/id/S/SU/SUMMER/%{module}-%{version}.tar.bz2 Url: http://search.cpan.org/dist/%{module} %if %{mdkversion} < 1010 Buildrequires: perl-devel %endif Buildrequires: perl-Image-Base Buildarch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot %description This class module provides basic load, manipulate and save functionality for the xpm file format. It inherits from Image::Base which provides additional manipulation functionality, e.g. new_from_image(). See the Image::Base pod for information on adding your own functionality to all the Image::Base derived classes. %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}/Image %{_mandir}/*/* %changelog * Wed Oct 01 2008 Oden Eriksson <oeriksson@mandriva.com> 1.09-12mdv2009.0 + Revision: 290410 - rebuild + Thierry Vignaud <tvignaud@mandriva.com> - rebuild - kill re-definition of %%buildroot on Pixel's request + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Sat Sep 15 2007 Guillaume Rousse <guillomovitch@mandriva.org> 1.09-9mdv2008.0 + Revision: 86477 - rebuild * Thu Aug 31 2006 Guillaume Rousse <guillomovitch@mandriva.org> 1.09-8mdv2007.0 - Rebuild * Tue Dec 20 2005 Guillaume Rousse <guillomovitch@mandriva.org> 1.09-7mdk - better summary and description - spec cleanup - better URL - %%mkrel * 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