# # 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/ # Name: perl-Chart-Clicker Version: 2.76 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 Patch1: perl-Chart-Clicker-remove_done_testing.patch Url: http://search.cpan.org/dist/Chart-Clicker/ Group: Development/Libraries/Perl License: Perl License BuildRoot: %{_tmppath}/%{name}-%{version}-build %{perl_requires} BuildRequires: make perl BuildRequires: perl-macros 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 %if 0%{?suse_version} < 1120 %patch1 %endif %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} %changelog