3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: Text::Wrapper - simple word wrapping routine
9 Summary(pl.UTF-8): Text::Wrapper - proste zawijanie linii
10 Name: perl-Text-Wrapper
14 License: GPL v1+ or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5: 5cb16ba359a84f52d44dfcbd7b93443a
18 BuildRequires: rpm-perlprov >= 4.1-13
19 BuildRequires: perl-devel >= 1:5.8.0
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Text::Wrapper Perl Module provides simple word wrapping. It breaks
25 long lines, but does not alter spacing or remove existing line breaks.
26 If you're looking for more sophisticated text formatting, try the
29 %description -l pl.UTF-8
30 Moduł Perla Text::Wrapper udostępnia proste zawijanie wierszy. Łamie
31 długie wiersz, ale nie zmienia odstępów ani nie usuwa istniejących
32 znaków nowego wiersza. Bardziej wyszukane formatowanie tekstu jest
33 możliwe przy zastosowaniu modułu Text::Format.
36 %setup -q -n %{pdir}-%{pnam}-%{version}
39 %{__perl} Makefile.PL \
43 %{?with_tests:%{__make} test}
46 rm -rf $RPM_BUILD_ROOT
49 DESTDIR=$RPM_BUILD_ROOT
52 rm -rf $RPM_BUILD_ROOT
55 %defattr(644,root,root,755)
57 %{perl_vendorlib}/Text/Wrapper.pm