diff --git a/Color-Library-0.02.tar.gz b/Color-Library-0.02.tar.gz deleted file mode 100644 index d4db5d5..0000000 --- a/Color-Library-0.02.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9b65e287e092727020e92611bd5581d4a54358b4727be7c001af58f7a2cdd9e0 -size 352195 diff --git a/Color-Library-0.021.tar.gz b/Color-Library-0.021.tar.gz new file mode 100644 index 0000000..6e64e40 --- /dev/null +++ b/Color-Library-0.021.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:58cbf7e333d3a4a40297abc43412b321da449c6816020e4fa6625ab079fc90a5 +size 343300 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..9b320f5 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,20 @@ +--- +#description_paragraphs: 3 +#no_testing: broken upstream +#sources: +# - source1 +# - source2 +#patches: +# foo.patch: -p1 +# bar.patch: +#preamble: |- +# BuildRequires: gcc-c++ +#post_prep: |- +# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` +# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL +#post_install: |- +# sed on %{name}.files +#license: SUSE-NonFree +#skip_noarch: 1 +#custom_build: - +#./Build build flags=%{?_smp_mflags} --myflag diff --git a/perl-Color-Library.changes b/perl-Color-Library.changes index 1aeefb0..4cf0e34 100644 --- a/perl-Color-Library.changes +++ b/perl-Color-Library.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Apr 16 20:40:08 UTC 2015 - coolo@suse.com + +- updated to 0.021 + see /usr/share/doc/packages/perl-Color-Library/Changes + ------------------------------------------------------------------- Wed Dec 1 09:44:30 UTC 2010 - coolo@novell.com diff --git a/perl-Color-Library.spec b/perl-Color-Library.spec index f8b3627..4c91978 100644 --- a/perl-Color-Library.spec +++ b/perl-Color-Library.spec @@ -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