OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Chart-Clicker?expand=0&rev=4
78 lines
2.3 KiB
RPMSpec
78 lines
2.3 KiB
RPMSpec
# vim: set sw=4 ts=4 et nu:
|
|
# norootforbuild
|
|
|
|
Name: perl-Chart-Clicker
|
|
Version: 2.65
|
|
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}/build-%{name}-%{version}
|
|
%{perl_requires}
|
|
BuildRequires: make perl
|
|
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}
|
|
|