Name: perl-String-Format Version: 1.14 Release: 2%{?dist} Summary: Sprintf-like string formatting capabilities with arbitrary format definitions Group: Development/Libraries License: GPLv2 URL: http://search.cpan.org/dist/String-Format/ Source0: http://www.cpan.org/authors/id/D/DA/DARREN/String-Format-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %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. %prep %setup -q -n String-Format-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' chmod -R u+w $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes %{perl_vendorlib}/String/ %{_mandir}/man3/*.3pm* %changelog * Sun Jan 13 2008 Tom "spot" Callaway - 1.14-2 - rebuild for new perl * Tue Oct 16 2007 Tom "spot" Callaway - 1.14-1.2 - add BR: perl(Test::More) * Tue Oct 16 2007 Tom "spot" Callaway - 1.14-1.1 - correct license tag - add BR: perl(ExtUtils::MakeMaker) * Sat Sep 16 2006 Jose Pedro Oliveira - 1.14-1 - First build.