File perl-Chart.spec of Package perl-Chart

#
# spec file for package perl-Chart (Version 2.4.1)
#
# Copyright (c) 2006 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-Chart
BuildRequires: freetype2-devel gd-devel libjpeg-devel libpng-devel perl-GD xorg-x11-devel
Version:      2.4.1
Release:      1
Requires:     perl = %{perl_version}
Requires:     perl-GD
Group:        Development/Libraries/Perl
License:      Artistic License
Url:          http://cpan.org/modules/by-module/Class/
Summary:      perl libs for generating Charts
Source:       Chart-%{version}.tar.bz2
BuildRoot:    %{_tmppath}/%{name}-%{version}-build

%description
perl Chart libs



Authors:
--------
    David Bonner
    Peter Clark
    Chart-Group at BKG

%prep
%setup -n Chart-%{version}

%build
perl Makefile.PL
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)
%{perl_vendorlib}/Chart
%{perl_vendorlib}/Chart.pod
%{perl_vendorarch}/auto/Chart
/var/adm/perl-modules/%{name}
/usr/share/man/man3/Chart.3pm.gz

%changelog -n perl-Chart
* Fri Jan 27 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Jan 24 2006 - dmueller@suse.de
- 2.4.1 update
* Mon Oct 17 2005 - dmueller@suse.de
- initial package (2.3)
openSUSE Build Service is sponsored by