93 lines
3.4 KiB
RPMSpec
93 lines
3.4 KiB
RPMSpec
#
|
|
# spec file for package perl-Color-Library
|
|
#
|
|
# 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 Color-Library
|
|
Name: perl-Color-Library
|
|
Version: 0.21.0
|
|
Release: 0
|
|
# 0.021 -> normalize -> 0.21.0
|
|
%define cpan_version 0.021
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
|
Summary: An easy-to-use and comprehensive named-color library
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
|
Source0: https://cpan.metacpan.org/authors/id/R/RO/ROKR/%{cpan_name}-%{cpan_version}.tar.gz
|
|
Source1: cpanspec.yml
|
|
Source100: README.md
|
|
BuildArch: noarch
|
|
BuildRequires: perl
|
|
BuildRequires: perl-macros
|
|
BuildRequires: perl(Class::Accessor::Fast)
|
|
BuildRequires: perl(Class::Data::Inheritable)
|
|
BuildRequires: perl(Module::Pluggable)
|
|
BuildRequires: perl(Test::Most)
|
|
Requires: perl(Class::Accessor::Fast)
|
|
Requires: perl(Class::Data::Inheritable)
|
|
Requires: perl(Module::Pluggable)
|
|
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
|
|
%{perl_requires}
|
|
|
|
%description
|
|
Color::Library is an easy-to-use and comprehensive named-color dictionary.
|
|
Currently provides coverage for www (svg, html, css) colors, x11 colors,
|
|
and more.
|
|
|
|
%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 README
|
|
|
|
%changelog
|