Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Chart-Clicker?expand=0&rev=20
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Chart-Clicker
|
# spec file for package perl-Chart-Clicker
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -12,22 +12,22 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: perl-Chart-Clicker
|
|
||||||
Version: 2.90
|
|
||||||
Release: 0
|
|
||||||
%define cpan_name Chart-Clicker
|
%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
|
Summary: Powerful, extensible charting
|
||||||
License: Artistic-1.0 or GPL-1.0+
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
Group: Development/Libraries/Perl
|
Source0: https://cpan.metacpan.org/authors/id/G/GP/GPHAT/%{cpan_name}-%{cpan_version}.tar.gz
|
||||||
Url: http://search.cpan.org/dist/Chart-Clicker/
|
|
||||||
Source0: http://www.cpan.org/authors/id/G/GP/GPHAT/%{cpan_name}-%{version}.tar.gz
|
|
||||||
Source1: cpanspec.yml
|
Source1: cpanspec.yml
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(Class::Load)
|
BuildRequires: perl(Class::Load)
|
||||||
@@ -100,6 +100,46 @@ Requires: perl(Moose)
|
|||||||
Requires: perl(Moose::Role)
|
Requires: perl(Moose::Role)
|
||||||
Requires: perl(Moose::Util)
|
Requires: perl(Moose::Util)
|
||||||
Requires: perl(Moose::Util::TypeConstraints)
|
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}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -112,14 +152,14 @@ graphics without being tied to specific backend. You may want to begin with
|
|||||||
Chart::Clicker::Tutorial.
|
Chart::Clicker::Tutorial.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%autosetup -n %{cpan_name}-%{cpan_version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
%{__make} %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__make} test
|
make test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
@@ -127,7 +167,7 @@ Chart::Clicker::Tutorial.
|
|||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,755)
|
%doc Changes example README README.mkdn
|
||||||
%doc Changes example LICENSE README README.mkdn
|
%license LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user