OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Chart-Gnuplot?expand=0&rev=2
58 lines
1.6 KiB
RPMSpec
58 lines
1.6 KiB
RPMSpec
# vim: set sw=4 ts=4 et nu:
|
|
|
|
Name: perl-Chart-Gnuplot
|
|
Version: 0.16
|
|
Release: 0
|
|
Summary: Plot graph using Gnuplot on the fly
|
|
Source: http://search.cpan.org/CPAN/authors/id/K/KW/KWMAK/Chart/Gnuplot/Chart-Gnuplot-%{version}.tar.gz
|
|
URL: http://search.cpan.org/dist/Chart-Gnuplot
|
|
Group: Development/Libraries/Perl
|
|
License: Perl License
|
|
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
|
%{perl_requires}
|
|
BuildRequires: perl-macros
|
|
BuildRequires: make
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
BuildRequires: perl(File::Copy) >= 2.08
|
|
BuildRequires: perl(File::Temp) >= 0.14
|
|
BuildRequires: perl(Storable) >= 2.15
|
|
Requires: perl(File::Copy) >= 2.08
|
|
Requires: perl(File::Temp) >= 0.14
|
|
Requires: perl(Storable) >= 2.15
|
|
Requires: gnuplot
|
|
|
|
%description
|
|
This module is to plot graphs uning GNUPLOT on the fly. In order to use
|
|
this module, gnuplot need to be installed. If image format other than PS
|
|
and EPS is required to generate, the convert program of ImageMagick is
|
|
also needed.
|
|
|
|
%prep
|
|
%setup -q -n "Chart-Gnuplot-%{version}"
|
|
%__sed -i '/^auto_install/d' Makefile.PL
|
|
|
|
%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/Gnuplot.pm
|
|
%{perl_vendorlib}/Chart/Gnuplot
|
|
%dir %{perl_vendorarch}/auto/Chart
|
|
%{perl_vendorarch}/auto/Chart/Gnuplot
|
|
%doc %{perl_man3dir}/Chart::Gnuplot.%{perl_man3ext}%{ext_man}
|
|
|