3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
6 Summary: Text::Format perl module
7 Summary(pl.UTF-8): Moduł perla Text::Format
12 License: GPL v1+ or Artistic
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/Text/Text-Format%{version}.tar.gz
15 # Source0-md5: 9b1936e65ee05d904bb329e32259814f
16 BuildRequires: rpm-perlprov >= 4.1-13
17 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 Text::Format - various subroutines to format text.
24 %description -l pl.UTF-8
25 Text::Format - różne subrutyny do formatowania tekstu.
28 %setup -q -n Text-Format%{version}
31 %{__perl} Makefile.PL \
35 %{?with_tests:%{__make} test}
38 rm -rf $RPM_BUILD_ROOT
41 DESTDIR=$RPM_BUILD_ROOT
44 rm -rf $RPM_BUILD_ROOT
47 %defattr(644,root,root,755)
49 %{perl_vendorlib}/Text/Format.pm