3 %bcond_without tests # do not perform "make test"
5 Summary: Text::Format Perl module - various subroutines to format text
6 Summary(pl.UTF-8): Moduł Perla Text::Format - różne funkcje do formatowania tekstu
11 License: GPL v1+ or Artistic
12 Group: Development/Languages/Perl
13 Source0: http://www.cpan.org/modules/by-module/Text/Text-Format-%{version}.tar.gz
14 # Source0-md5: e9577b0d46f527d64f954b133ea0fbcf
15 URL: http://search.cpan.org/dist/Text-Format/
16 %{?with_tests:BuildRequires: perl-Test-Simple}
17 BuildRequires: perl-devel >= 1:5.8.0
18 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Text::Format Perl module provides various subroutines to format text.
25 %description -l pl.UTF-8
26 Moduł Perla Text::Format udostępnia różne funkcje do formatowania
30 %setup -q -n Text-Format-%{version}
33 %{__perl} Makefile.PL \
37 %{?with_tests:%{__make} test}
40 rm -rf $RPM_BUILD_ROOT
42 %{__make} pure_install \
43 DESTDIR=$RPM_BUILD_ROOT
46 rm -rf $RPM_BUILD_ROOT
49 %defattr(644,root,root,755)
51 %{perl_vendorlib}/Text/Format.pm
52 %{_mandir}/man3/Text::Format.3pm*