2011-09-05 22:50:45 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-Chart-Clicker
|
|
|
|
#
|
|
|
|
# Copyright (c) 2011 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2010-07-26 01:11:21 +00:00
|
|
|
|
|
|
|
Name: perl-Chart-Clicker
|
2011-12-14 18:30:59 +00:00
|
|
|
Version: 2.76
|
2010-07-26 01:11:21 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Powerful and Extensible Charting Module for Perl
|
|
|
|
Source: http://search.cpan.org/CPAN/authors/id/G/GP/GPHAT/Chart-Clicker-%{version}.tar.gz
|
2010-07-26 01:34:52 +00:00
|
|
|
Patch1: perl-Chart-Clicker-remove_done_testing.patch
|
2011-09-05 22:50:45 +00:00
|
|
|
Url: http://search.cpan.org/dist/Chart-Clicker/
|
2010-07-26 01:11:21 +00:00
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
License: Perl License
|
2011-09-05 22:50:45 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-12-01 13:38:55 +00:00
|
|
|
%{perl_requires}
|
2010-07-26 01:11:21 +00:00
|
|
|
BuildRequires: make perl
|
2010-12-03 13:56:40 +00:00
|
|
|
BuildRequires: perl-macros
|
2010-07-26 01:11:21 +00:00
|
|
|
BuildRequires: perl(Graphics::Primitive)
|
|
|
|
BuildRequires: perl(Layout::Manager::Compass)
|
|
|
|
BuildRequires: perl(Layout::Manager::Absolute)
|
|
|
|
BuildRequires: perl(Color::Scheme)
|
|
|
|
BuildRequires: perl(DateTime::Set)
|
|
|
|
BuildRequires: perl(Test::Exception)
|
|
|
|
BuildRequires: perl(Graphics::Primitive::Driver::Cairo)
|
|
|
|
BuildRequires: perl(Class::MOP)
|
|
|
|
BuildRequires: perl(Math::Complex) >= 1.56
|
|
|
|
BuildRequires: perl(Math::Gradient) >= 0.04
|
|
|
|
Requires: perl(Graphics::Primitive)
|
|
|
|
Requires: perl(Layout::Manager::Compass)
|
|
|
|
Requires: perl(Layout::Manager::Absolute)
|
|
|
|
Requires: perl(Color::Scheme)
|
|
|
|
Requires: perl(DateTime::Set)
|
|
|
|
Requires: perl(Graphics::Primitive::Driver::Cairo)
|
|
|
|
Requires: perl(Class::MOP)
|
|
|
|
Requires: perl(Math::Complex) >= 1.56
|
|
|
|
Requires: perl(Math::Gradient) >= 0.04
|
|
|
|
|
|
|
|
%description
|
|
|
|
Chart::Clicker aims to be a powerful, extensible charting package that creates
|
|
|
|
really pretty output. Charts can be saved in png, svg, pdf and postscript
|
|
|
|
format.
|
|
|
|
|
|
|
|
Clicker leverages the power of Graphics::Primitive to create snazzy graphics
|
|
|
|
without being tied to specific backend. You may want to begin with
|
|
|
|
Chart::Clicker::Tutorial.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n "Chart-Clicker-%{version}"
|
|
|
|
%__sed -i '/^auto_install/d' Makefile.PL
|
|
|
|
|
2010-07-26 01:34:52 +00:00
|
|
|
%if 0%{?suse_version} < 1120
|
|
|
|
%patch1
|
|
|
|
%endif
|
|
|
|
|
2010-07-26 01:11:21 +00:00
|
|
|
%build
|
|
|
|
%__perl Makefile.PL PREFIX="%{_prefix}"
|
|
|
|
%__make %{?jobs:-j%{jobs}}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%check
|
|
|
|
%__make test
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%{?buildroot:%__rm -rf "%{buildroot}"}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc Changes README
|
|
|
|
%dir %{perl_vendorlib}/Chart
|
|
|
|
%{perl_vendorlib}/Chart/Clicker.pm
|
|
|
|
%{perl_vendorlib}/Chart/Clicker
|
|
|
|
%dir %{perl_vendorarch}/auto/Chart
|
|
|
|
%{perl_vendorarch}/auto/Chart/Clicker
|
|
|
|
%doc %{perl_man3dir}/Chart::Clicker.%{perl_man3ext}%{ext_man}
|
|
|
|
%doc %{perl_man3dir}/Chart::Clicker::*.%{perl_man3ext}%{ext_man}
|
|
|
|
|
2011-09-05 22:50:45 +00:00
|
|
|
%changelog
|