]> git.pld-linux.org Git - packages/perl-String-Format.git/blobdiff - perl-String-Format.spec
- release 2
[packages/perl-String-Format.git] / perl-String-Format.spec
index 083dfeda9310bfb0f1b75d91bbb8b645b2a1e018..82bcb7d308de64ea479625d215ea4335e934de6d 100644 (file)
@@ -1,19 +1,22 @@
 #
 # Conditional build:
-# _without_tests - do not perform "make test"
+%bcond_without tests   # do not perform "make test"
+#
 %include       /usr/lib/rpm/macros.perl
-%define        pdir    String
-%define        pnam    Format
+%define                pdir    String
+%define                pnam    Format
 Summary:       String::Format - sprintf-like string formatting capabilities
-#Summary(pl):  
+Summary(pl.UTF-8):     String::Format - możliwości formatowania podobne do sprintf
 Name:          perl-String-Format
-Version:       1.13
-Release:       1
+Version:       1.14
+Release:       2
 License:       GPL v2
 Group:         Development/Languages/Perl
-Source0:       ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-BuildRequires: perl >= 5.6
-BuildRequires: rpm-perlprov >= 3.0.3-26
+Source0:       http://www.cpan.org/modules/by-module/String/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 8301545d15baaddfd5e2e4296b48352b
+URL:           http://search.cpan.org/dist/String-Format/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -25,26 +28,35 @@ of a query need to be formatted in a particular way.  It was
 inspired by mutt's index_format and related directives (see
 <http://www.mutt.org/doc/manual/manual-6.html#index_format>).
 
-# %description -l pl
-# TODO
+%description -l pl.UTF-8
+Moduł String::Format pozwala na definiowanie dowolnych sekwencji
+formatujących w stylu printf. Jest najbardziej użyteczny w plikach
+konfiguracyjnych i narzędziach raportujących, gdzie wyniki zapytań
+muszą być sformatowane w określony sposób. Jest zainspirowany
+index_format z mutta i powiązanymi dyrektywami (więcej pod adresem
+<http://www.mutt.org/doc/manual/manual-6.html#index_format>).
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
 
 %build
-perl Makefile.PL
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
 %{__make}
-%{!?_without_tests:%{__make} test}
+
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%{perl_sitelib}/%{pdir}/*.pm
+%doc Changes
+%{perl_vendorlib}/String/*.pm
 %{_mandir}/man3/*
This page took 0.089089 seconds and 4 git commands to generate.