3 %bcond_without tests # don't perform "make test"
7 Summary: String::Escape - registry of string functions, including backslash escapes
8 Summary(pl.UTF-8): String::Escape - zestaw funkcji do obróbki łańcuchów, w tym cytowania przy pomocy odwrotnego ukośnika
9 Name: perl-String-Escape
12 # same as perl (README says Artistic)
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: f48000fbade3f46e1a37a43f12c7f01a
17 URL: http://search.cpan.org/dist/String-Escape/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 The String::Escape Perl module provides a flexible calling interface
25 to some frequently-performed string conversion functions, including
26 applying and removing C/Unix-style backslash escapes like \n and \t,
27 wrapping and removing double-quotes, and truncating to fit within a
30 %description -l pl.UTF-8
31 Moduł Perla String::Escape udostępnia elastyczny interfejs wywołań
32 pewnych często używanych funkcji konwersji łańcuchów tekstowych,
33 uwzględniając funkcje do stosowania i usuwania C/uniksowych cytowań za
34 pomocą odwrotnego ukośnika, jak \n i \t, dodawanie i usuwanie
35 cudzysłowów i skracanie, aby zmieścić się w określonej długości.
38 %setup -q -n %{pdir}-%{pnam}-%{version}
41 %{__perl} Makefile.PL \
45 %{?with_tests:%{__make} test}
48 rm -rf $RPM_BUILD_ROOT
51 DESTDIR=$RPM_BUILD_ROOT
54 rm -rf $RPM_BUILD_ROOT
57 %defattr(644,root,root,755)
59 %{perl_vendorlib}/String/Escape.pm