%global pkg_name Chart-Math-Axis %global pkg_version 1.03 %global rpm_pkg_version 1.03 %global rpm_pkg_release 1.n0i.3 Summary: Implements an algorithm to find good values for chart axis 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/Chart/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: rpm-build-reb00t-perl BuildRequires: perl(Clone) >= 0.25 Requires: perl(Clone) >= 0.25 BuildRequires: perl(Math::BigFloat) >= 1.44 Requires: perl(Math::BigFloat) >= 1.44 BuildRequires: perl(Math::BigInt) >= 1.70 Requires: perl(Math::BigInt) >= 1.70 BuildRequires: perl(Params::Util) >= 0.15 Requires: perl(Params::Util) >= 0.15 BuildRequires: perl(Storable) >= 2.12 Requires: perl(Storable) >= 2.12 # skip non-versioned dependencies %global perl_filter_req 'perl\\((Clone|Math::BigFloat|Math::BigInt|Params::Util|Storable)\\)$' %description Chart::Math::Axis implements in a generic way an algorithm for finding a set of ideal values for an axis. That is, for any given set of data, what should the top and bottom of the axis scale be, and what should the interval between the ticks be. %prep %setup -q -n %{pkg_name}-%{pkg_version} %build %{perl_build} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %doc Changes LICENSE README %changelog * Fri Nov 16 2007 Marius Feraru - 1.03-1.n0i.3 - version 1.03 * Wed Nov 07 2007 Marius Feraru - 1.02-1.n0i.2 - version 1.02 - spec update (new reb00t build tools) * Fri Oct 12 2007 Marius Feraru - 1.01-1.n0i.1 - spec file (re)created using N0i::CPAN::RPMizer/1.14.11 - version 1.01