%define module Chart %define name perl-%{module} %define version 2.4.1 %define release %mkrel 2 Name: %{name} Version: %{version} Release: %{release} Summary: A series of charting modules License: GPL Group: Development/Perl Source: http://search.cpan.org/CPAN/authors/id/C/CH/CHARTGRP/%{module}-%{version}.tar.bz2 Url: http://search.cpan.org/dist/%{module}/ %if %{mdkversion} < 1010 BuildRequires: perl-devel %endif BuildRequires: perl-GD BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version} %description Series of charting modules. %prep %setup -q -n %{module}-%{version} chmod 0644 README TODO %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 TODO %{perl_vendorlib}/Chart* %{_mandir}/*/* %changelog * Sat Sep 15 2007 Guillaume Rousse <guillomovitch@mandriva.org> 2.4.1-2mdv2008.0 + Revision: 86066 - rebuild * Fri Feb 10 2006 Guillaume Rousse <guillomovitch@mandriva.org> 2.4.1-1mdk - New release 2.4.1 * Thu Oct 20 2005 Nicolas Lécureuil <neoclust@mandriva.org> 2.3-3mdk - Fix BuildRequires - fix url/source * Thu Oct 20 2005 Olivier Thauvin <nanardon@mandriva.org> 2.3-2mdk - rebuild - add make test * Mon May 31 2004 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 2.3-1mdk - 2.3 * Mon Aug 18 2003 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 2.2-4mdk - rebuild for new perl - drop $RPM_OPT_FLAGS, noarch.. - rm -rf /home/guillomovitch/rpm/tmp/perl-Chart-2.4.1 in %%install - use %%makeinstall_std macro - cosmetics * Wed May 28 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 2.2-2mdk - rebuild for new auto{prov,req} * Fri Apr 25 2003 François Pons <fpons@mandrakesoft.com> 2.2-1mdk - 2.2. * Fri Apr 25 2003 Pixel <pixel@mandrakesoft.com> 1.0.1-4mdk - add "BuildRequires: perl-devel"