2007-01-15 23:29:55 +00:00
|
|
|
#
|
2011-12-01 17:15:28 +00:00
|
|
|
# spec file for package perl-Chart
|
2007-01-15 23:29:55 +00:00
|
|
|
#
|
2022-04-13 19:19:41 +00:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2007-01-15 23:29:55 +00:00
|
|
|
#
|
2009-06-18 14:58:58 +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.
|
|
|
|
|
2022-04-13 19:19:41 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-15 23:29:55 +00:00
|
|
|
#
|
|
|
|
|
2012-01-11 06:10:36 +00:00
|
|
|
|
2022-04-13 19:19:41 +00:00
|
|
|
%define cpan_name Chart
|
2009-06-18 14:58:58 +00:00
|
|
|
Name: perl-Chart
|
2022-12-14 08:57:40 +00:00
|
|
|
Version: 2.403.9
|
2015-05-02 09:36:28 +00:00
|
|
|
Release: 0
|
2022-06-20 11:40:13 +00:00
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2022-04-13 19:19:41 +00:00
|
|
|
Summary: Series of charting modules
|
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/L/LI/LICHTKIND/%{cpan_name}-v%{version}.tar.gz
|
2015-05-02 09:36:28 +00:00
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:12:18 +02:00
|
|
|
Source100: README.md
|
2010-10-14 14:43:33 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl
|
2011-12-01 17:15:28 +00:00
|
|
|
BuildRequires: perl-macros
|
2022-04-13 19:19:41 +00:00
|
|
|
BuildRequires: perl(Carp) >= 1.35
|
|
|
|
BuildRequires: perl(File::Temp) >= 0.19
|
2012-04-01 15:29:38 +00:00
|
|
|
BuildRequires: perl(GD) >= 2
|
2022-11-09 06:33:50 +00:00
|
|
|
BuildRequires: perl(Graphics::Toolkit::Color) >= 1
|
2022-06-20 11:40:13 +00:00
|
|
|
BuildRequires: perl(Test::More) >= 1.3
|
|
|
|
BuildRequires: perl(Test::Warn) >= 0.30
|
2022-04-13 19:19:41 +00:00
|
|
|
Requires: perl(Carp) >= 1.35
|
2010-10-14 14:43:33 +00:00
|
|
|
Requires: perl(GD) >= 2
|
2022-11-09 06:33:50 +00:00
|
|
|
Requires: perl(Graphics::Toolkit::Color) >= 1
|
2015-05-02 09:36:28 +00:00
|
|
|
%{perl_requires}
|
2007-01-15 23:29:55 +00:00
|
|
|
|
|
|
|
%description
|
2022-08-16 12:31:31 +00:00
|
|
|
Chart helps you to create PNG and JPG images with visualizations of numeric
|
2022-07-28 12:39:36 +00:00
|
|
|
data. This page gives you a summary how to use it. For a more thorough
|
|
|
|
documentation and lots of example code please visit the Chart::Manual.
|
2007-01-15 23:29:55 +00:00
|
|
|
|
|
|
|
%prep
|
2022-04-13 19:19:41 +00:00
|
|
|
%autosetup -n %{cpan_name}-v%{version}
|
2007-01-15 23:29:55 +00:00
|
|
|
|
|
|
|
%build
|
2022-04-13 19:19:41 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%make_build
|
2010-10-14 14:43:33 +00:00
|
|
|
|
|
|
|
%check
|
2022-04-13 19:19:41 +00:00
|
|
|
make test
|
2007-01-15 23:29:55 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
2015-05-02 09:36:28 +00:00
|
|
|
%perl_process_packlist
|
2010-10-14 14:43:33 +00:00
|
|
|
%perl_gen_filelist
|
2007-01-15 23:29:55 +00:00
|
|
|
|
2010-10-14 14:43:33 +00:00
|
|
|
%files -f %{name}.files
|
2022-07-28 12:39:36 +00:00
|
|
|
%doc Changes CONTRIBUTING README TODO
|
2022-04-13 19:19:41 +00:00
|
|
|
%license LICENSE
|
2007-01-15 23:29:55 +00:00
|
|
|
|
2009-06-18 14:58:58 +00:00
|
|
|
%changelog
|