0.02
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Color-Library?expand=0&rev=1
This commit is contained in:
53
perl-Color-Library.spec
Normal file
53
perl-Color-Library.spec
Normal file
@@ -0,0 +1,53 @@
|
||||
# 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}
|
||||
Requires: perl = %{perl_version}
|
||||
BuildRequires: make perl
|
||||
BuildRequires: perl(Test::Pod::Coverage)
|
||||
BuildRequires: perl(Class::Accessor::Fast)
|
||||
BuildRequires: perl(Class::Data::Inheritable)
|
||||
|
||||
%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}
|
||||
/var/adm/perl-modules/%{name}
|
||||
|
Reference in New Issue
Block a user