%define pkg_name DBD-Chart %define pkg_version 0.82 %define rpm_pkg_version 0.82 %define rpm_pkg_release 2.n0i.2 Summary: DBI driver abstraction for Rendering Charts and Graphs Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/D/DA/DARNOLD/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: reb00t-rpmdevtools BuildRequires: perl(ExtUtils::MakeMaker) %if %{!?_without_test:1}0 BuildRequires: perl(DBI) >= 1.13 BuildRequires: perl(GD) >= 1.13 BuildRequires: perl(GD::Text) >= 0.80 %endif Requires: perl(DBI) >= 1.13 Requires: perl(GD) >= 1.13 Requires: perl(GD::Text) >= 0.80 %description The DBD::Chart provides a DBI abstraction for rendering pie charts, bar charts, box&whisker charts (aka boxcharts), histograms, Gantt charts, and line, point, and area graphs. %prep %setup -q -n %{pkg_name}-%{pkg_version} %{fix_mod} %{fix_perl_path examples/} %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 dbdchart.html examples/ imgs/ README README.plot %changelog * Sat Jun 02 2007 Marius Feraru - 0.82-2.n0i.2 - spec file (re)created using N0i::CPAN::RPMizer/1.14.8 * Tue May 30 2006 Marius Feraru - 0.82-1.n0i.1 - spec file (re)created using N0i::CPAN::RPMizer v1.12.1