Accepting request 297403 from devel:languages:perl:autoupdate

automatic update

OBS-URL: https://build.opensuse.org/request/show/297403
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Color-Library?expand=0&rev=6
This commit is contained in:
Stephan Kulow
2015-04-17 05:45:47 +00:00
committed by Git OBS Bridge
parent b464bada93
commit 6e15230c60
5 changed files with 72 additions and 35 deletions

View File

@@ -1,55 +1,66 @@
# vim: set sw=4 ts=4 et nu:
# norootforbuild
#
# spec file for package perl-Color-Library
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
Name: perl-Color-Library
Version: 0.02
Version: 0.021
Release: 0
Summary: Easy-to-use and Comprehensive Named-Color Library
Source: http://search.cpan.org/CPAN/authors/id/R/RK/RKRIMEN/Color-Library-%{version}.tar.gz
URL: http://search.cpan.org/dist/Color-Library/
%define cpan_name Color-Library
Summary: An easy-to-use and comprehensive named-color library
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
License: Perl License
BuildRoot: %{_tmppath}/build-%{name}-%{version}
%{perl_requires}
BuildRequires: make perl
Url: http://search.cpan.org/dist/Color-Library/
Source0: http://www.cpan.org/authors/id/R/RO/ROKR/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Test::Pod::Coverage)
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)
%{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.
Currently provides coverage for www (svg, html, css) colors, x11 colors,
and more.
%prep
%setup -q -n "Color-Library-%{version}"
%__sed -i '/^auto_install/d' Makefile.PL
%setup -q -n %{cpan_name}-%{version}
%build
%__perl Makefile.PL PREFIX="%{_prefix}"
%__make %{?jobs:-j%{jobs}}
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
%{__make} test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%check
%__make test
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%files
%defattr(-,root,root)
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README
%dir %{perl_vendorlib}/Color
%{perl_vendorlib}/Color/Library.pm
%{perl_vendorlib}/Color/Library
%dir %{perl_vendorarch}/auto/Color
%{perl_vendorarch}/auto/Color/Library
%doc %{perl_man3dir}/Color::Library.%{perl_man3ext}%{ext_man}
%doc %{perl_man3dir}/Color::Library::*.%{perl_man3ext}%{ext_man}
%changelog