%define pkg_name ANSIColor %define pkg_version 1.12 %define rpm_pkg_version 1.12 %define rpm_pkg_release 1.n0i.2 Summary: Color output using ANSI escape sequences Name: perl-Term-ANSIColor Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} # avoid buggy RPM versioning (core perl build) Epoch: 0 Group: Development/Libraries License: Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/R/RR/RRA/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: reb00t-rpmdevtools BuildRequires: perl(ExtUtils::MakeMaker) %description Term::ANSIColor - Color screen output using ANSI escape sequences %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,-) %{perl_files} %doc ChangeLog README tests/ %changelog * Tue May 22 2007 Marius Feraru - 0:1.12-1.n0i.2 - spec file (re)created using N0i::CPAN::RPMizer v1.14.7 - version 1.12 - added epoch, avoiding buggy RPM versioning ("none" > "0") * Tue Mar 23 2004 Marius Feraru 0:1.08-1.n0i.1 - version 1.08 - spec file (re?)created using N0i::CPAN::RPMizer/2004032101