parent
df4427c8bd
commit
54be08b086
@ -0,0 +1 @@
|
|||||||
|
String-Format-1.14.tar.gz
|
@ -0,0 +1,56 @@
|
|||||||
|
Name: perl-String-Format
|
||||||
|
Version: 1.14
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: Sprintf-like string formatting capabilities with arbitrary format definitions
|
||||||
|
|
||||||
|
Group: Development/Libraries
|
||||||
|
License: GPL
|
||||||
|
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
|
||||||
|
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
|
||||||
|
* Sat Sep 16 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.14-1
|
||||||
|
- First build.
|
Loading…
Reference in new issue