%global pkg_name Color-Library %global pkg_version 0.02 %global rpm_pkg_version 0.02 %global rpm_pkg_release 1.n0i.3 Summary: An easy-to-use and comprehensive named-color library Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/modules/by-module/Color/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: rpm-build-reb00t-perl BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) BuildRequires: perl(Module::Pluggable) %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 %{pkg_name}-%{pkg_version} %build %{perl_build} %{!?_without_test:%{__make} test} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes README %{perl_files} %changelog * Tue Oct 02 2007 Marius Feraru - 0.02-1.n0i.3 - version 0.02 * Wed Sep 19 2007 Marius Feraru - 0.01_1-1.n0i.2.0.011 - version 0.011 * Mon Sep 17 2007 Marius Feraru - 0.01-1.n0i.1 - spec file (re)created using N0i::CPAN::RPMizer/1.14.11 - rebuild on perl 5.8.8