2015-04-17 05:45:47 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-Color-Library
|
|
|
|
#
|
2024-08-08 19:16:31 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2015-04-17 05:45:47 +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.
|
|
|
|
|
2024-08-08 19:16:31 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2015-04-17 05:45:47 +00:00
|
|
|
#
|
|
|
|
|
2010-07-24 21:42:43 +00:00
|
|
|
|
2024-08-08 19:16:31 +00:00
|
|
|
%define cpan_name Color-Library
|
2010-07-24 21:42:43 +00:00
|
|
|
Name: perl-Color-Library
|
2024-08-08 19:16:31 +00:00
|
|
|
Version: 0.21.0
|
2010-07-24 21:42:43 +00:00
|
|
|
Release: 0
|
2024-08-08 19:16:31 +00:00
|
|
|
# 0.021 -> normalize -> 0.21.0
|
|
|
|
%define cpan_version 0.021
|
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2015-04-17 05:45:47 +00:00
|
|
|
Summary: An easy-to-use and comprehensive named-color library
|
2024-08-08 19:16:31 +00:00
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/R/RO/ROKR/%{cpan_name}-%{cpan_version}.tar.gz
|
2015-04-17 05:45:47 +00:00
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:12:32 +02:00
|
|
|
Source100: README.md
|
2015-04-17 05:45:47 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl
|
2010-12-03 13:58:09 +00:00
|
|
|
BuildRequires: perl-macros
|
2010-07-24 21:42:43 +00:00
|
|
|
BuildRequires: perl(Class::Accessor::Fast)
|
|
|
|
BuildRequires: perl(Class::Data::Inheritable)
|
2015-04-17 05:45:47 +00:00
|
|
|
BuildRequires: perl(Module::Pluggable)
|
|
|
|
BuildRequires: perl(Test::Most)
|
2010-07-24 21:51:55 +00:00
|
|
|
Requires: perl(Class::Accessor::Fast)
|
|
|
|
Requires: perl(Class::Data::Inheritable)
|
2015-04-17 05:45:47 +00:00
|
|
|
Requires: perl(Module::Pluggable)
|
2024-08-08 19:16:31 +00:00
|
|
|
Provides: perl(Color::Library) = %{version}
|
|
|
|
Provides: perl(Color::Library::Color)
|
|
|
|
Provides: perl(Color::Library::Dictionary)
|
|
|
|
Provides: perl(Color::Library::Dictionary::HTML)
|
|
|
|
Provides: perl(Color::Library::Dictionary::IE)
|
|
|
|
Provides: perl(Color::Library::Dictionary::Mozilla)
|
|
|
|
Provides: perl(Color::Library::Dictionary::NBS_ISCC)
|
|
|
|
Provides: perl(Color::Library::Dictionary::NBS_ISCC::A)
|
|
|
|
Provides: perl(Color::Library::Dictionary::NBS_ISCC::B)
|
|
|
|
Provides: perl(Color::Library::Dictionary::NBS_ISCC::F)
|
|
|
|
Provides: perl(Color::Library::Dictionary::NBS_ISCC::H)
|
|
|
|
Provides: perl(Color::Library::Dictionary::NBS_ISCC::M)
|
|
|
|
Provides: perl(Color::Library::Dictionary::NBS_ISCC::P)
|
|
|
|
Provides: perl(Color::Library::Dictionary::NBS_ISCC::R)
|
|
|
|
Provides: perl(Color::Library::Dictionary::NBS_ISCC::RC)
|
|
|
|
Provides: perl(Color::Library::Dictionary::NBS_ISCC::S)
|
|
|
|
Provides: perl(Color::Library::Dictionary::NBS_ISCC::SC)
|
|
|
|
Provides: perl(Color::Library::Dictionary::NBS_ISCC::TC)
|
|
|
|
Provides: perl(Color::Library::Dictionary::Netscape)
|
|
|
|
Provides: perl(Color::Library::Dictionary::SVG)
|
|
|
|
Provides: perl(Color::Library::Dictionary::Tango)
|
|
|
|
Provides: perl(Color::Library::Dictionary::VACCC)
|
|
|
|
Provides: perl(Color::Library::Dictionary::WWW)
|
|
|
|
Provides: perl(Color::Library::Dictionary::Windows)
|
|
|
|
Provides: perl(Color::Library::Dictionary::X11)
|
|
|
|
%undefine __perllib_provides
|
2015-04-17 05:45:47 +00:00
|
|
|
%{perl_requires}
|
2010-07-24 21:42:43 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Color::Library is an easy-to-use and comprehensive named-color dictionary.
|
2015-04-17 05:45:47 +00:00
|
|
|
Currently provides coverage for www (svg, html, css) colors, x11 colors,
|
|
|
|
and more.
|
2010-07-24 21:42:43 +00:00
|
|
|
|
|
|
|
%prep
|
2024-08-08 19:16:31 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{cpan_version}
|
2010-07-24 21:42:43 +00:00
|
|
|
|
|
|
|
%build
|
2024-08-08 19:16:31 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%make_build
|
2015-04-17 05:45:47 +00:00
|
|
|
|
|
|
|
%check
|
2024-08-08 19:16:31 +00:00
|
|
|
make test
|
2010-07-24 21:42:43 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
2015-04-17 05:45:47 +00:00
|
|
|
%perl_gen_filelist
|
2010-07-24 21:42:43 +00:00
|
|
|
|
2015-04-17 05:45:47 +00:00
|
|
|
%files -f %{name}.files
|
2010-07-24 21:42:43 +00:00
|
|
|
%doc Changes README
|
|
|
|
|
2015-04-17 05:45:47 +00:00
|
|
|
%changelog
|