3 %bcond_without tests # do not perform "make test"
6 %define pnam ShellQuote
7 Summary: String::ShellQuote - quote strings for passing through the shell
8 Summary(pl.UTF-8): String::ShellQuote - cytowanie łańcuchów do przekazywania przez powłokę
9 Name: perl-String-ShellQuote
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/String/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: da6329dc482b21adf5697cfbd2ac5412
17 URL: http://search.cpan.org/dist/String-ShellQuote/
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 String::ShellQuote module contains some functions which are useful for
25 quoting strings which are going to pass through the shell or a
28 %description -l pl.UTF-8
29 Moduł String::ShellQuote zawiera funkcje przydatne przy cytowaniu
30 łańcuchów znaków tak, by mogły być przekazane do powłoki lub innego
31 obiektu zachowującego się jak powłoka.
34 %setup -q -n %{pdir}-%{pnam}-%{version}
37 %{__perl} Makefile.PL \
41 %{?with_tests:%{__make} test}
44 rm -rf $RPM_BUILD_ROOT
47 DESTDIR=$RPM_BUILD_ROOT
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
55 %attr(755,root,root) %{_bindir}/shell-quote
56 %{perl_vendorlib}/String/ShellQuote.pm
57 %{_mandir}/man1/shell-quote.1p*
58 %{_mandir}/man3/String::ShellQuote.3pm*