Sophie

Sophie

distrib > Mandriva > 2009.0 > x86_64 > by-pkgid > 07f4c5a0a210dbb74265dcf8e4f8246a > files > 2

perl-GD-Graph3d-0.63-12mdv2009.0.src.rpm

%define module	GD-Graph3d
%define name	perl-%{module}
%define version 0.63
%define release %mkrel 12

Name:		%{name}
Version:	%{version}
Release:	%{release}
Summary:	Create 3D Graphs with GD and GD::Graph
License:	GPL or Artistic
Group:		Development/Perl
Source:		http://search.cpan.org/CPAN/authors/id/W/WA/WADG/%{module}-%{version}.tar.bz2
Url:            http://search.cpan.org/dist/%{module}/
%if %{mdkversion} < 1010
BuildRequires:	perl-devel
%endif
BuildRequires:	perl-GDGraph
BuildArch:	noarch
BuildRoot:	%{_tmppath}/%{name}-%{version}

%description
This is the GD::Graph3d extensions module. It provides 3D graphs for the
GD::Graph module by Martien Verbruggen, which in turn generates graph using
Lincoln Stein's GD.pm.

You use these modules just as you would any of the GD::Graph modules, except
that they generate 3d-looking graphs. Each graph type is described below with
only the options that are unique to the 3d version. The modules are based on
their 2d versions (e.g. GD::Graph::bars3d works like GD::Graph::bars), and
support all the options in those. Make sure to read the documentation on
GD::Graph.

%prep
%setup -q -n %{module}-%{version}
perl -pi -e 'tr/\r//d;' Changes

%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 Changes
%{perl_vendorlib}/GD
%{_mandir}/*/*



%changelog
* Tue Jun 17 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.63-12mdv2009.0
+ Revision: 223766
- rebuild

* Thu Mar 06 2008 Oden Eriksson <oeriksson@mandriva.com> 0.63-11mdv2008.1
+ Revision: 180400
- rebuild

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill re-definition of %%buildroot on Pixel's request

* Sat May 05 2007 Olivier Thauvin <nanardon@mandriva.org> 0.63-10mdv2008.0
+ Revision: 23407
- rebuild


* Tue Mar 21 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.63-9mdk
- fix buildrequires

* Tue Mar 07 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.63-8mdk
- fix doc file encoding

* Tue Mar 07 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.63-7mdk
- spec cleanup
- %%mkrel
- rpmbuilupdate aware
- fix directory ownership
- better summary, description and url

* Wed Feb 09 2005 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.63-6mdk
- rebuild for new perl

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

* Fri Sep 05 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 0.63-4mdk
- rebuilt

* Thu Aug 14 2003 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 0.63-3mdk
- rebuild for new perl
- drop $RPM_OPT_FLAGS, noarch..
- use %%makeinstall_std macro
- don't own man directories, only man pages..

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