175 lines
7.7 KiB
RPMSpec
175 lines
7.7 KiB
RPMSpec
#
|
|
# spec file for package perl-Chart-Clicker
|
|
#
|
|
# Copyright (c) 2024 SUSE LLC
|
|
#
|
|
# 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.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%define cpan_name Chart-Clicker
|
|
Name: perl-Chart-Clicker
|
|
Version: 2.900.0
|
|
Release: 0
|
|
# 2.90 -> normalize -> 2.900.0
|
|
%define cpan_version 2.90
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
|
Summary: Powerful, extensible charting
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
|
Source0: https://cpan.metacpan.org/authors/id/G/GP/GPHAT/%{cpan_name}-%{cpan_version}.tar.gz
|
|
Source1: cpanspec.yml
|
|
Source100: README.md
|
|
BuildArch: noarch
|
|
BuildRequires: perl
|
|
BuildRequires: perl-macros
|
|
BuildRequires: perl(Class::Load)
|
|
BuildRequires: perl(Color::Scheme)
|
|
BuildRequires: perl(DateTime)
|
|
BuildRequires: perl(DateTime::Set)
|
|
BuildRequires: perl(Geometry::Primitive::Arc)
|
|
BuildRequires: perl(Geometry::Primitive::Circle)
|
|
BuildRequires: perl(Geometry::Primitive::Point)
|
|
BuildRequires: perl(Graphics::Color::RGB)
|
|
BuildRequires: perl(Graphics::Primitive::Border)
|
|
BuildRequires: perl(Graphics::Primitive::Brush)
|
|
BuildRequires: perl(Graphics::Primitive::Canvas)
|
|
BuildRequires: perl(Graphics::Primitive::Component)
|
|
BuildRequires: perl(Graphics::Primitive::Container)
|
|
BuildRequires: perl(Graphics::Primitive::Driver::Cairo)
|
|
BuildRequires: perl(Graphics::Primitive::Font)
|
|
BuildRequires: perl(Graphics::Primitive::Insets)
|
|
BuildRequires: perl(Graphics::Primitive::Operation::Fill)
|
|
BuildRequires: perl(Graphics::Primitive::Operation::Stroke)
|
|
BuildRequires: perl(Graphics::Primitive::Oriented)
|
|
BuildRequires: perl(Graphics::Primitive::Paint::Gradient::Linear)
|
|
BuildRequires: perl(Graphics::Primitive::Paint::Gradient::Radial)
|
|
BuildRequires: perl(Graphics::Primitive::Paint::Solid)
|
|
BuildRequires: perl(Graphics::Primitive::Path)
|
|
BuildRequires: perl(Graphics::Primitive::TextBox)
|
|
BuildRequires: perl(Layout::Manager::Absolute)
|
|
BuildRequires: perl(Layout::Manager::Axis)
|
|
BuildRequires: perl(Layout::Manager::Compass)
|
|
BuildRequires: perl(Layout::Manager::Flow)
|
|
BuildRequires: perl(Layout::Manager::Grid)
|
|
BuildRequires: perl(Layout::Manager::Single)
|
|
BuildRequires: perl(Moose)
|
|
BuildRequires: perl(Moose::Role)
|
|
BuildRequires: perl(Moose::Util)
|
|
BuildRequires: perl(Moose::Util::TypeConstraints)
|
|
BuildRequires: perl(Test::Exception)
|
|
BuildRequires: perl(Test::Fatal)
|
|
Requires: perl(Class::Load)
|
|
Requires: perl(Color::Scheme)
|
|
Requires: perl(DateTime)
|
|
Requires: perl(DateTime::Set)
|
|
Requires: perl(Geometry::Primitive::Arc)
|
|
Requires: perl(Geometry::Primitive::Circle)
|
|
Requires: perl(Geometry::Primitive::Point)
|
|
Requires: perl(Graphics::Color::RGB)
|
|
Requires: perl(Graphics::Primitive::Border)
|
|
Requires: perl(Graphics::Primitive::Brush)
|
|
Requires: perl(Graphics::Primitive::Canvas)
|
|
Requires: perl(Graphics::Primitive::Component)
|
|
Requires: perl(Graphics::Primitive::Container)
|
|
Requires: perl(Graphics::Primitive::Driver::Cairo)
|
|
Requires: perl(Graphics::Primitive::Font)
|
|
Requires: perl(Graphics::Primitive::Insets)
|
|
Requires: perl(Graphics::Primitive::Operation::Fill)
|
|
Requires: perl(Graphics::Primitive::Operation::Stroke)
|
|
Requires: perl(Graphics::Primitive::Oriented)
|
|
Requires: perl(Graphics::Primitive::Paint::Gradient::Linear)
|
|
Requires: perl(Graphics::Primitive::Paint::Gradient::Radial)
|
|
Requires: perl(Graphics::Primitive::Paint::Solid)
|
|
Requires: perl(Graphics::Primitive::Path)
|
|
Requires: perl(Graphics::Primitive::TextBox)
|
|
Requires: perl(Layout::Manager::Absolute)
|
|
Requires: perl(Layout::Manager::Axis)
|
|
Requires: perl(Layout::Manager::Compass)
|
|
Requires: perl(Layout::Manager::Flow)
|
|
Requires: perl(Layout::Manager::Grid)
|
|
Requires: perl(Layout::Manager::Single)
|
|
Requires: perl(Moose)
|
|
Requires: perl(Moose::Role)
|
|
Requires: perl(Moose::Util)
|
|
Requires: perl(Moose::Util::TypeConstraints)
|
|
Provides: perl(Chart::Clicker) = %{version}
|
|
Provides: perl(Chart::Clicker::Axis) = %{version}
|
|
Provides: perl(Chart::Clicker::Axis::DateTime) = %{version}
|
|
Provides: perl(Chart::Clicker::Axis::DivisionType) = %{version}
|
|
Provides: perl(Chart::Clicker::Axis::DivisionType::Exact) = %{version}
|
|
Provides: perl(Chart::Clicker::Axis::DivisionType::LinearExpandGraph) = %{version}
|
|
Provides: perl(Chart::Clicker::Axis::DivisionType::LinearRounded) = %{version}
|
|
Provides: perl(Chart::Clicker::Component) = %{version}
|
|
Provides: perl(Chart::Clicker::Container) = %{version}
|
|
Provides: perl(Chart::Clicker::Context) = %{version}
|
|
Provides: perl(Chart::Clicker::Data::DataSet) = %{version}
|
|
Provides: perl(Chart::Clicker::Data::Marker) = %{version}
|
|
Provides: perl(Chart::Clicker::Data::Range) = %{version}
|
|
Provides: perl(Chart::Clicker::Data::Series) = %{version}
|
|
Provides: perl(Chart::Clicker::Data::Series::HighLow) = %{version}
|
|
Provides: perl(Chart::Clicker::Data::Series::Size) = %{version}
|
|
Provides: perl(Chart::Clicker::Decoration) = %{version}
|
|
Provides: perl(Chart::Clicker::Decoration::Annotation) = 2.880.0
|
|
Provides: perl(Chart::Clicker::Decoration::Glass) = %{version}
|
|
Provides: perl(Chart::Clicker::Decoration::Grid) = %{version}
|
|
Provides: perl(Chart::Clicker::Decoration::Legend) = %{version}
|
|
Provides: perl(Chart::Clicker::Decoration::Legend::Tabular) = %{version}
|
|
Provides: perl(Chart::Clicker::Decoration::MarkerOverlay) = %{version}
|
|
Provides: perl(Chart::Clicker::Decoration::OverAxis) = %{version}
|
|
Provides: perl(Chart::Clicker::Decoration::Plot) = %{version}
|
|
Provides: perl(Chart::Clicker::Drawing::ColorAllocator) = %{version}
|
|
Provides: perl(Chart::Clicker::Positioned) = %{version}
|
|
Provides: perl(Chart::Clicker::Renderer) = %{version}
|
|
Provides: perl(Chart::Clicker::Renderer::Area) = %{version}
|
|
Provides: perl(Chart::Clicker::Renderer::Bar) = %{version}
|
|
Provides: perl(Chart::Clicker::Renderer::Bubble) = %{version}
|
|
Provides: perl(Chart::Clicker::Renderer::CandleStick) = %{version}
|
|
Provides: perl(Chart::Clicker::Renderer::Line) = %{version}
|
|
Provides: perl(Chart::Clicker::Renderer::Pie) = %{version}
|
|
Provides: perl(Chart::Clicker::Renderer::Point) = %{version}
|
|
Provides: perl(Chart::Clicker::Renderer::PolarArea) = %{version}
|
|
Provides: perl(Chart::Clicker::Renderer::StackedArea) = %{version}
|
|
Provides: perl(Chart::Clicker::Renderer::StackedBar) = %{version}
|
|
Provides: perl(Chart::Clicker::Tutorial) = %{version}
|
|
%undefine __perllib_provides
|
|
%{perl_requires}
|
|
|
|
%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
|
|
%autosetup -n %{cpan_name}-%{cpan_version}
|
|
|
|
%build
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
%make_build
|
|
|
|
%check
|
|
make test
|
|
|
|
%install
|
|
%perl_make_install
|
|
%perl_process_packlist
|
|
%perl_gen_filelist
|
|
|
|
%files -f %{name}.files
|
|
%doc Changes example README README.mkdn
|
|
%license LICENSE
|
|
|
|
%changelog
|