File perl-GD-Graph3d.spec of Package perl-GD-Graph3d

#
# spec file for package perl-GD-Graph3d (Version 0.63)
#
# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://www.suse.de/feedback/
#

# norootforbuild

Name:         perl-GD-Graph3d
BuildRequires: libjpeg-devel perl-GD perl-GDGraph perl-GDTextUtil xorg-x11-devel
Version:      0.63
Release:      3
Requires:     perl = %{perl_version}
Requires:     perl-GD perl-GDGraph perl-GDTextUtil
Provides:     perl-GDGraph3d
Obsoletes:    perl-GDGraph3d
Autoreqprov:  on
Group:        Development/Libraries/Perl
License:      Artistic License
Url:          http://cpan.org/modules/by-module/GD/
Summary:      3d extension for perl-GDGraph
Source:       GD-Graph3d-%{version}.tar.bz2
Patch:        GD-Graph3d-trim_miter.diff
BuildRoot:    %{_tmppath}/%{name}-%{version}-build

%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.



Authors:
--------
    Jeremy Wadsack <dgsupport@wadsack-allen.com>

%prep
%setup -n GD-Graph3d-%{version}
%patch -p1

%build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
make
make test

%install
rm -rf $RPM_BUILD_ROOT
%perl_make_install
%perl_process_packlist

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%doc %{_mandir}/man?/*
%{perl_vendorarch}/auto/GD/Graph3d
%{perl_vendorlib}/GD/Graph
%{perl_vendorlib}/GD/Graph3d.pm
/var/adm/perl-modules/%{name}

%changelog -n perl-GD-Graph3d
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Mar 03 2005 - ro@suse.de
- added trim_miter patch from Juergen
* Thu Jul 29 2004 - ro@suse.de
- update to 0.63
- renamed from perl-GDGraph3d to perl-GD-Graph3d
* Sat Jan 10 2004 - adrian@suse.de
- build as user
* Thu Nov 20 2003 - ro@suse.de
- added requires
* Thu Nov 20 2003 - ro@suse.de
- created package version 0.56