%global pkg_name GD-3DBarGrapher %global pkg_version 0.9.3 %global rpm_pkg_version 0.9.3 %global rpm_pkg_release 1.n0i.1 Summary: Create 3D bar graphs using GD Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/modules/by-module/GD/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: rpm-build-reb00t-perl BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(GD) %description 3DBarGrapher was written primarily to create "professional looking" 3D bar graphs. It features: - customisable colours, fonts and dimensions - bar or column styles - gradient fill option for columns and plot area background - random bar colour feature to easily make multiple graphs on the same page more distinct - XHTML image map output to enable displaying of values when moving mouse cursor over the bars %prep %setup -q -n %{pkg_name}-%{pkg_version} %{fix_eol} %build %{perl_build} %{!?_without_test:%{__make} test} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %doc Changes README %changelog * Mon Oct 08 2007 Marius Feraru - 0.9.3-1.n0i.1 - spec file (re)created using N0i::CPAN::RPMizer/1.14.11 - version 0.9.3