3 %bcond_without tests # do not perform "make test"
7 Summary: Regexp::Shellish Perl module - shell-like regular expressions
8 Summary(pl.UTF-8): Moduł Perla Regexp::Shellish - wyrażenia regularne podobne do rozwinięć wykonywanych przez powłoki
9 Name: perl-Regexp-Shellish
12 License: GPL or Artistic
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: a5f92bf82b3d5033518e6d2c1028ee37
16 URL: http://search.cpan.org/dist/Regexp-Shellish/
17 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 Regexp::Shellish module provides shell-like regular expressions. The
23 wildcards provided are '?', '*' and '**', where '**' is like '*' but
26 %description -l pl.UTF-8
27 Moduł Regexp::Shellish udostępnia wyrażenia regularne podobne do
28 rozwinięć wykonywanych przez powłoki. Dostępne maski to: '?', '*' i
29 '**', gdzie '**' jest podobna do '*', ale obejmuje znaki '/'.
32 %setup -q -n %{pdir}-%{pnam}-%{version}
35 %{__perl} Makefile.PL \
39 %{?with_tests:%{__make} test}
42 rm -rf $RPM_BUILD_ROOT
45 DESTDIR=$RPM_BUILD_ROOT
48 rm -rf $RPM_BUILD_ROOT
51 %defattr(644,root,root,755)
53 %{perl_vendorlib}/Regexp/Shellish.pm