%define pkg_name String-Format %define pkg_version 1.14 %define rpm_pkg_version 1.14 %define rpm_pkg_release 2.n0i.6 Summary: Sprintf-like string formatting capabilities Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/D/DA/DARREN/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: reb00t-rpmdevtools BuildRequires: perl(ExtUtils::MakeMaker) %{!?_without_test:BuildRequires: perl(Test::More)} %description String::Format lets you define arbitrary printf-like format sequences to be expanded. This module would be most useful in configuration files and reporting tools, where the results of a query need to be formatted in a particular way. It was inspired by mutt's index_format and related directives (see ). %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 Changes README %changelog * Tue May 22 2007 Marius Feraru - 1.14-2.n0i.6 - rebuild * Fri Feb 03 2006 Marius Feraru - 1.14-1.n0i.5 - version 1.14 * Sat Jul 23 2005 Marius Feraru 1.13-2.n0i.4 - spec file (re)created using N0i::CPAN::RPMizer/1.01 - rebuild on perl 5.8.7 * Sun Mar 20 2005 Marius Feraru 0:1.13-1.n0i.3 - automatic rebuild (perl 5.8.6) * Sun Dec 05 2004 Marius Feraru 0:1.13-1.n0i.2 - automatic rebuild (perl 5.8.6) * Fri Sep 03 2004 Marius Feraru 0:1.13-1.n0i.1 - version 1.13 - spec file (re?)created using N0i::CPAN::RPMizer/2004083101