2007-01-15 23:30:41 +00:00
|
|
|
#
|
2013-10-02 11:39:29 +00:00
|
|
|
# spec file for package perl-GDGraph
|
2007-01-15 23:30:41 +00:00
|
|
|
#
|
2016-01-02 21:21:40 +00:00
|
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-01-15 23:30:41 +00:00
|
|
|
#
|
2009-06-18 15:04:43 +00:00
|
|
|
# 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.
|
|
|
|
|
2007-04-26 22:32:45 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2007-01-15 23:30:41 +00:00
|
|
|
#
|
|
|
|
|
2009-06-18 15:04:43 +00:00
|
|
|
|
2007-04-26 22:32:45 +00:00
|
|
|
Name: perl-GDGraph
|
2016-01-02 21:21:40 +00:00
|
|
|
Version: 1.51
|
2013-10-02 11:39:29 +00:00
|
|
|
Release: 0
|
2015-05-02 09:34:34 +00:00
|
|
|
%define cpan_name GDGraph
|
|
|
|
Summary: Produces charts with GD
|
|
|
|
License: Artistic-1.0 or GPL-1.0+
|
2013-10-02 11:39:29 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2015-05-02 09:34:34 +00:00
|
|
|
Url: http://search.cpan.org/dist/GDGraph/
|
|
|
|
Source0: http://www.cpan.org/authors/id/R/RU/RUZ/%{cpan_name}-%{version}.tar.gz
|
|
|
|
Source1: cpanspec.yml
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2011-05-01 10:30:27 +00:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2016-01-02 21:21:40 +00:00
|
|
|
BuildRequires: perl(Capture::Tiny) >= 0.30
|
2013-10-02 11:39:29 +00:00
|
|
|
BuildRequires: perl(GD) >= 1.18
|
|
|
|
BuildRequires: perl(GD::Text) >= 0.80
|
2016-01-02 21:21:40 +00:00
|
|
|
BuildRequires: perl(Test::Exception) >= 0.400000
|
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
2011-05-01 10:30:27 +00:00
|
|
|
Requires: perl(GD) >= 1.18
|
|
|
|
Requires: perl(GD::Text) >= 0.80
|
2010-12-05 20:54:40 +00:00
|
|
|
%{perl_requires}
|
2007-01-15 23:30:41 +00:00
|
|
|
|
|
|
|
%description
|
2015-05-02 09:34:34 +00:00
|
|
|
Produces charts with GD
|
2007-01-15 23:30:41 +00:00
|
|
|
|
|
|
|
%prep
|
2015-05-02 09:34:34 +00:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2007-01-15 23:30:41 +00:00
|
|
|
|
|
|
|
%build
|
2015-05-02 09:34:34 +00:00
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
2011-05-01 10:30:27 +00:00
|
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
|
|
|
|
%check
|
|
|
|
%{__make} test
|
2007-01-15 23:30:41 +00:00
|
|
|
|
|
|
|
%install
|
2011-05-01 10:30:27 +00:00
|
|
|
%perl_make_install
|
2007-01-15 23:30:41 +00:00
|
|
|
%perl_process_packlist
|
2011-05-01 10:30:27 +00:00
|
|
|
%perl_gen_filelist
|
2007-01-15 23:30:41 +00:00
|
|
|
|
2011-05-01 10:30:27 +00:00
|
|
|
%files -f %{name}.files
|
2015-05-02 09:34:34 +00:00
|
|
|
%defattr(-,root,root,755)
|
|
|
|
%doc CHANGES Dustismo.LICENSE Dustismo_Sans.ttf README samples
|
2007-01-15 23:30:41 +00:00
|
|
|
|
2007-04-26 22:32:45 +00:00
|
|
|
%changelog
|