Files
perl-Chart-Math-Axis/perl-Chart-Math-Axis.spec

76 lines
2.5 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-Chart-Math-Axis (Version 1.06)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: perl-Chart-Math-Axis
Version: 1.06
Release: 1
License: GPL+ or Artistic
%define cpan_name Chart-Math-Axis
Summary: Implements an algorithm to find good values for chart axis
Url: http://search.cpan.org/dist/Chart-Math-Axis/
Group: Development/Libraries/Perl
Source: http://www.cpan.org/authors/id/A/AD/ADAMK/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Math::BigFloat) >= 1.44
BuildRequires: perl(Math::BigInt) >= 1.70
BuildRequires: perl(Params::Util) >= 0.15
BuildRequires: perl(Storable) >= 2.12
BuildRequires: perl(Test::More) >= 0.42
Requires: perl(Math::BigFloat) >= 1.44
Requires: perl(Math::BigInt) >= 1.70
Requires: perl(Params::Util) >= 0.15
Requires: perl(Storable) >= 2.12
%{perl_requires}
%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.
The terms 'top' and 'bottom' are used throughout this module, as it's
primary use is for determining the Y axis. For calculating the X axis, you
should think of 'top' as 'right', and 'bottom' as 'left'.
%prep
%setup -q -n %{cpan_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
%{__make} test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.files
%defattr(-,root,root,755)
%doc %attr(644,-,-) Changes LICENSE README
%changelog