]> git.pld-linux.org Git - packages/perl-Regexp-Shellish.git/blame - perl-Regexp-Shellish.spec
use generic url
[packages/perl-Regexp-Shellish.git] / perl-Regexp-Shellish.spec
CommitLineData
c0979bba 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
c62a1e68 4
17eb7891 5%define pdir Regexp
6%define pnam Shellish
c62a1e68 7%include /usr/lib/rpm/macros.perl
5ae7a150 8Summary: Regexp::Shellish Perl module - shell-like regular expressions
e75ba920 9Summary(pl.UTF-8): Moduł Perla Regexp::Shellish - wyrażenia regularne podobne do rozwinięć wykonywanych przez powłoki
282d744b
JB
10Name: perl-Regexp-Shellish
11Version: 0.93
fb7a1f5d 12Release: 5
c0979bba 13License: GPL or Artistic
282d744b 14Group: Development/Languages/Perl
9e20bffa 15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
b681a968 16# Source0-md5: a5f92bf82b3d5033518e6d2c1028ee37
c62a1e68 17URL: http://search.cpan.org/dist/Regexp-Shellish/
aab0d5be 18BuildRequires: perl-devel >= 1:5.8.0
282d744b
JB
19BuildArch: noarch
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23Regexp::Shellish module provides shell-like regular expressions. The
24wildcards provided are '?', '*' and '**', where '**' is like '*' but
25matches '/'.
26
6e776b55
JR
27%description -l pl.UTF-8
28Moduł Regexp::Shellish udostępnia wyrażenia regularne podobne do
29rozwinięć wykonywanych przez powłoki. Dostępne maski to: '?', '*' i
693b3c55 30'**', gdzie '**' jest podobna do '*', ale obejmuje znaki '/'.
282d744b
JB
31
32%prep
33%setup -q -n %{pdir}-%{pnam}-%{version}
34
35%build
774b31e9 36%{__perl} Makefile.PL \
77e1f27f 37 INSTALLDIRS=vendor
282d744b
JB
38%{__make}
39
c0979bba 40%{?with_tests:%{__make} test}
41
282d744b
JB
42%install
43rm -rf $RPM_BUILD_ROOT
44
45%{__make} install \
46 DESTDIR=$RPM_BUILD_ROOT
47
48%clean
49rm -rf $RPM_BUILD_ROOT
50
51%files
52%defattr(644,root,root,755)
53%doc Changes
774b31e9 54%{perl_vendorlib}/Regexp/Shellish.pm
282d744b 55%{_mandir}/man3/*
This page took 0.069541 seconds and 4 git commands to generate.