]> git.pld-linux.org Git - packages/perl-String-Format.git/blame - perl-String-Format.spec
- updated to 1.18
[packages/perl-String-Format.git] / perl-String-Format.spec
CommitLineData
b64ada21 1#
2# Conditional build:
66196761 3%bcond_without tests # do not perform "make test"
4#
b64ada21 5%include /usr/lib/rpm/macros.perl
c5d487ef 6%define pdir String
7%define pnam Format
b64ada21 8Summary: String::Format - sprintf-like string formatting capabilities
82f510fd 9Summary(pl.UTF-8): String::Format - możliwości formatowania podobne do sprintf
b64ada21 10Name: perl-String-Format
c7553b0b 11Version: 1.18
c5d12bb4 12Release: 1
b64ada21 13License: GPL v2
14Group: Development/Languages/Perl
56f065b0 15Source0: http://www.cpan.org/modules/by-module/String/%{pdir}-%{pnam}-%{version}.tar.gz
c7553b0b 16# Source0-md5: 64174b4fac230228cadfa2be4410ef1a
56f065b0 17URL: http://search.cpan.org/dist/String-Format/
54f18da0 18BuildRequires: perl-devel >= 1:5.8.0
ce531a7e 19BuildRequires: rpm-perlprov >= 4.1-13
b64ada21 20BuildArch: noarch
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24String::Format lets you define arbitrary printf-like format
25sequences to be expanded. This module would be most useful
26in configuration files and reporting tools, where the results
27of a query need to be formatted in a particular way. It was
28inspired by mutt's index_format and related directives (see
29<http://www.mutt.org/doc/manual/manual-6.html#index_format>).
30
05f9b3cd
JR
31%description -l pl.UTF-8
32Moduł String::Format pozwala na definiowanie dowolnych sekwencji
33formatujących w stylu printf. Jest najbardziej użyteczny w plikach
34konfiguracyjnych i narzędziach raportujących, gdzie wyniki zapytań
35muszą być sformatowane w określony sposób. Jest zainspirowany
36index_format z mutta i powiązanymi dyrektywami (więcej pod adresem
d00ed4ec 37<http://www.mutt.org/doc/manual/manual-6.html#index_format>).
b64ada21 38
39%prep
40%setup -q -n %{pdir}-%{pnam}-%{version}
41
42%build
ce531a7e 43%{__perl} Makefile.PL \
235d75d1 44 INSTALLDIRS=vendor
b64ada21 45%{__make}
d00ed4ec 46
66196761 47%{?with_tests:%{__make} test}
b64ada21 48
49%install
50rm -rf $RPM_BUILD_ROOT
51
66196761 52%{__make} install \
53 DESTDIR=$RPM_BUILD_ROOT
b64ada21 54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files
59%defattr(644,root,root,755)
56f065b0 60%doc Changes
77f16b77
JB
61%{perl_vendorlib}/String/Format.pm
62%{_mandir}/man3/String::Format.3pm*
This page took 0.071211 seconds and 4 git commands to generate.