3 # _without_tests - do not perform "make test"
4 %include /usr/lib/rpm/macros.perl
7 Summary: String::Format - sprintf-like string formatting capabilities
8 Summary(pl): String::Format - mo¿liwo¶ci formatowania podobne do sprintf
9 Name: perl-String-Format
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 BuildRequires: perl >= 5.6
16 BuildRequires: rpm-perlprov >= 3.0.3-26
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 String::Format lets you define arbitrary printf-like format
22 sequences to be expanded. This module would be most useful
23 in configuration files and reporting tools, where the results
24 of a query need to be formatted in a particular way. It was
25 inspired by mutt's index_format and related directives (see
26 <http://www.mutt.org/doc/manual/manual-6.html#index_format>).
29 Modu³ String::Format pozwala na definiowanie dowolnych sekwencji
30 formatuj±cych w stylu printf. Jest najbardziej u¿yteczny w plikach
31 konfiguracyjnych i narzêdziach raportuj±cych, gdzie wyniki zapytañ
32 musz± byæ sformatowane w okre¶lony sposób. Jest zainspirowany
33 index_format z mutta i powi±zanymi dyrektywami (wiêcej pod adresem
34 <http://www.mutt.org/doc/manual/manual-6.html#index_format>).
37 %setup -q -n %{pdir}-%{pnam}-%{version}
43 %{!?_without_tests:%{__make} test}
46 rm -rf $RPM_BUILD_ROOT
48 %{__make} install DESTDIR=$RPM_BUILD_ROOT
51 rm -rf $RPM_BUILD_ROOT
54 %defattr(644,root,root,755)
55 %{perl_sitelib}/%{pdir}/*.pm