]> git.pld-linux.org Git - packages/perl-Regexp-Shellish.git/blob - perl-Regexp-Shellish.spec
705e302ed0078ccb7873abe5fae27dedef976b4f
[packages/perl-Regexp-Shellish.git] / perl-Regexp-Shellish.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define         pdir    Regexp
7 %define         pnam    Shellish
8 Summary:        Regexp::Shellish Perl module - shell-like regular expressions
9 Summary(pl.UTF-8):      Moduł Perla Regexp::Shellish - wyrażenia regularne podobne do rozwinięć wykonywanych przez powłoki
10 Name:           perl-Regexp-Shellish
11 Version:        0.93
12 Release:        5
13 License:        GPL 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:  a5f92bf82b3d5033518e6d2c1028ee37
17 BuildRequires:  perl-devel >= 1:5.8.0
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Regexp::Shellish module provides shell-like regular expressions. The
23 wildcards provided are '?', '*' and '**', where '**' is like '*' but
24 matches '/'.
25
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 '/'.
30
31 %prep
32 %setup -q -n %{pdir}-%{pnam}-%{version}
33
34 %build
35 %{__perl} Makefile.PL \
36         INSTALLDIRS=vendor
37 %{__make}
38
39 %{?with_tests:%{__make} test}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43
44 %{__make} install \
45         DESTDIR=$RPM_BUILD_ROOT
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc Changes
53 %{perl_vendorlib}/Regexp/Shellish.pm
54 %{_mandir}/man3/*
This page took 0.065672 seconds and 2 git commands to generate.