2010-07-24 21:42:43 +00:00
|
|
|
# vim: set sw=4 ts=4 et nu:
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
Name: perl-Color-Library
|
|
|
|
Version: 0.02
|
|
|
|
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/
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
License: Perl License
|
|
|
|
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
2010-12-01 09:45:17 +00:00
|
|
|
%{perl_requires}
|
2010-07-24 21:42:43 +00:00
|
|
|
BuildRequires: make perl
|
2010-12-03 13:58:09 +00:00
|
|
|
BuildRequires: perl-macros
|
2010-07-24 21:42:43 +00:00
|
|
|
BuildRequires: perl(Test::Pod::Coverage)
|
|
|
|
BuildRequires: perl(Class::Accessor::Fast)
|
|
|
|
BuildRequires: perl(Class::Data::Inheritable)
|
2010-07-24 21:51:55 +00:00
|
|
|
Requires: perl(Class::Accessor::Fast)
|
|
|
|
Requires: perl(Class::Data::Inheritable)
|
2010-07-24 21:42:43 +00:00
|
|
|
|
|
|
|
%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
|
|
|
|
%setup -q -n "Color-Library-%{version}"
|
|
|
|
%__sed -i '/^auto_install/d' Makefile.PL
|
|
|
|
|
|
|
|
%build
|
|
|
|
%__perl Makefile.PL PREFIX="%{_prefix}"
|
|
|
|
%__make %{?jobs:-j%{jobs}}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%check
|
|
|
|
%__make test
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%{?buildroot:%__rm -rf "%{buildroot}"}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%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}
|
|
|
|
|