Sophie

Sophie

distrib > Mandriva > 2006.0 > i586 > media > main-src > by-pkgid > 6a64f690f9397ceb34799371db25ec5a > files > 2

perl-GDGraph-1.43-1mdk.src.rpm

%define module  GDGraph
%define name	perl-%{module}
%define version 1.43
%define release 1mdk

Name: 		%{name}
Version: 	%{version}
Release: 	%{release}
Summary:	Graph Plotting Module for Perl 5
License:	GPL or Artistic
Group:		Development/Perl
Source:	http://search.cpan.org/CPAN/authors/id/M/MV/MVERB/%{module}-%{version}.tar.bz2
Url:            http://search.cpan.org/dist/%{module}/
%if %{mdkversion} < 1010
BuildRequires:	perl-devel
%endif
BuildRequires:	perl-GD >= 1.20
BuildRequires:	perl-GD-TextUtil >= 0.83
BuildRequires:	gd-devel
BuildArch:	noarch
BuildRoot:	%{_tmppath}/%{name}-%{version}
Provides:	perl-Gd-Graph
Obsoletes:	perl-Gd-Graph

%description
This is GDGraph, a package to generate charts, using Lincoln
Stein's GD.pm. See the documentation for some history and more
information.

%prep
%setup -q -n %{module}-%{version} 

# perl path hack
#find . -type f | xargs perl -p -i -e "s|^#\!/usr/local/bin/perl|#\!/usr/bin/perl|g"

%build
perl Makefile.PL INSTALLDIRS=vendor </dev/null
%make

%install
rm -rf %{buildroot} 
%makeinstall_std

%check
make test

%clean 
rm -rf %{buildroot} 

%files
%defattr(-,root,root)
%doc CHANGES README
%{perl_vendorlib}/GD/*
%{_mandir}/*/*

%changelog
* Sat Jun 04 2005 Guillaume Rousse <guillomovitch@mandriva.org> 1.43-1mdk 
- new release
- change name to match distribution
- make test
- rpmbuilupdate aware
- better URL

* Fri Oct 15 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 1.35-8mdk
- fix deps

* Thu Aug 14 2003 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 1.35-7mdk
- rebuild for new perl
- drop $RPM_OPT_FLAGS, noarch..
- use %%makeinstall_std macro

* Wed May 28 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.35-6mdk
- rebuild for new auto{prov,req}

* Fri Apr 25 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 1.35-5mdk
- fix buildrequires, thanks to Stefan van der Eijks robot

* Thu Jan 16 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 1.35-4mdk
- build release

* Wed Aug 07 2002 Christian Belisle <cbelisle@mandrakesoft.com> 1.35-3mdk
- fix man page conflict.
- rebuild with new perl.

* Mon Jul 29 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 1.35-2mdk
- ship man pages too...

* Mon Jul 29 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 1.35-1mdk
- initial cooker contrib.