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-06-20 11:40:13 +00:00
|
|
|
Version: 2.402.3
|
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
|
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-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
|
2015-05-02 09:36:28 +00:00
|
|
|
%{perl_requires}
|
2007-01-15 23:29:55 +00:00
|
|
|
|
|
|
|
%description
|
2015-05-02 09:36:28 +00:00
|
|
|
These man-pages give you the most important information about Chart. There
|
2010-10-14 14:43:33 +00:00
|
|
|
is also a complete documentation (Documentation.pdf) within the Chart
|
|
|
|
package. Look at it to get more information. This module is an attempt to
|
|
|
|
build a general purpose graphing module that is easily modified and
|
|
|
|
expanded. I borrowed most of the API from Martien Verbruggen's GIFgraph
|
|
|
|
module. I liked most of GIFgraph, but I thought it was to difficult to
|
|
|
|
modify, and it was missing a few things that I needed, most notably
|
|
|
|
legends. So I decided to write a new module from scratch, and I've designed
|
|
|
|
it from the bottom up to be easy to modify. Like GIFgraph, Chart uses
|
|
|
|
Lincoln Stein's GD module for all of its graphics primitives calls.
|
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-06-20 11:40:13 +00:00
|
|
|
%doc Changes CONTRIBUTING doc Documentation.pdf 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
|