8
0
forked from pool/perl-GDGraph
Files
perl-GDGraph/perl-GDGraph.spec

79 lines
2.0 KiB
RPMSpec

#
# spec file for package perl-GDGraph (Version 1.44)
#
# Copyright (c) 2007 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://bugs.opensuse.org/
#
# norootforbuild
Name: perl-GDGraph
BuildRequires: ImageMagick libtiff-devel perl-GD perl-GDTextUtil xorg-x11-devel
Version: 1.44
Release: 1
Requires: perl = %{perl_version}
Autoreqprov: on
Group: Development/Libraries/Perl
License: Artistic License
Url: http://cpan.org/modules/by-module/GD/
Summary: package to generate charts, using Lincoln Stein's GD.pm
Source: GDGraph-%{version}.tar.bz2
Patch: GDGraph-trim_miter.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This is GDGraph, a package to generate charts, using Lincoln Stein's
GD.pm. See the documentation for some history and more information.
Authors:
--------
Martien Verbruggen <mgjv@tradingpost.com.au>
%prep
%setup -n GDGraph-%{version}
%patch -p1
%build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
make
make test
make samples
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc README*
%doc %{_mandir}/man?/*
%{perl_vendorarch}/auto/GD/Graph
%{perl_vendorlib}/GD
/var/adm/perl-modules/%{name}
%changelog
* Fri Apr 27 2007 - ro@suse.de
- update to 1.44
- Added GD::Graph::hbars, to create horizontal bar charts.
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Sep 28 2005 - dmueller@suse.de
- add norootforbuild
* Thu Mar 03 2005 - ro@suse.de
- added trim_miter patch from Juergen
* Tue Aug 24 2004 - ro@suse.de
- updated neededforbuild (needing ImageMagick in testsuite)
* Thu Jul 29 2004 - ro@suse.de
- update to 1.43
* Thu Sep 25 2003 - ro@suse.de
- created package version 1.39