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