57 lines
1.6 KiB
RPMSpec
57 lines
1.6 KiB
RPMSpec
|
|
# vim: set sw=4 ts=4 et nu:
|
||
|
|
# norootforbuild
|
||
|
|
|
||
|
|
Name: perl-Color-Scheme
|
||
|
|
Version: 1.02
|
||
|
|
Release: 0
|
||
|
|
Summary: Generate pleasant color schemes
|
||
|
|
Source: http://search.cpan.org/CPAN/authors/id/I/IA/IAN/Color-Scheme-%{version}.tar.gz
|
||
|
|
URL: http://search.cpan.org/dist/Color-Scheme/
|
||
|
|
Group: Development/Libraries/Perl
|
||
|
|
License: Perl License
|
||
|
|
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
||
|
|
Requires: perl = %{perl_version}
|
||
|
|
BuildRequires: make perl
|
||
|
|
BuildRequires: perl(Test::Differences)
|
||
|
|
BuildRequires: perl(Test::Pod)
|
||
|
|
BuildRequires: perl(Test::Pod::Coverage)
|
||
|
|
|
||
|
|
%description
|
||
|
|
This module is a Perl implementation of Color Schemes 2
|
||
|
|
(http://wellstyled.com/tools/colorscheme2/), a color scheme generator. Start by
|
||
|
|
visitng the Color Schemes 2 web site and playing with the colors. When you want
|
||
|
|
to generate those schemes on the fly, begin using this modoule. The
|
||
|
|
descriptions herein don't make too much sense without actually seeing the
|
||
|
|
colorful results.
|
||
|
|
|
||
|
|
Henceforth, paragraphs in quotes denote documentation copied from Color Schemes
|
||
|
|
2.
|
||
|
|
|
||
|
|
%prep
|
||
|
|
%setup -q -n "Color-Scheme-%{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/Scheme.pm
|
||
|
|
%dir %{perl_vendorarch}/auto/Color
|
||
|
|
%{perl_vendorarch}/auto/Color/Scheme
|
||
|
|
%doc %{perl_man3dir}/Color::Scheme.%{perl_man3ext}%{ext_man}
|
||
|
|
|