]> git.pld-linux.org Git - packages/perl-DelimMatch.git/blame - perl-DelimMatch.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-DelimMatch.git] / perl-DelimMatch.spec
CommitLineData
842ec96d 1#
2# Conditional build:
d62c6d5d 3%bcond_without tests # do not perform "make test"
bcb15508 4
5f1e7171 5%define pdir Text
6%define pnam DelimMatch
6e17d231 7Summary: DelimMatch - find regexp delimited strings with proper nesting
d850e333 8Summary(pl.UTF-8): DelimMatch - poszukiwanie łańcuchów ograniczonych wyrażeniami regularnymi
0ef03e97 9Name: perl-DelimMatch
8171469e 10Version: 1.06a
f849fba1 11Release: 2
6e17d231 12# same as perl
13License: GPL v1+ or Artistic
0ef03e97 14Group: Development/Languages/Perl
72dead2e 15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pnam}-%{version}.tar.gz
8171469e 16# Source0-md5: 8efb70c2326d0b8f551708e9cdc2b649
bcb15508 17URL: http://search.cpan.org/dist/Text-DelimMatch/
dd359d68 18BuildRequires: perl-devel >= 1:5.8.0
bcb15508 19BuildRequires: rpm-perlprov >= 4.1-13
3c3ef114 20BuildArch: noarch
a51a2d03 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
0ef03e97 22
23%description
6e17d231 24DelimMatch is a Perl extension to find regexp delimited strings with
f2b6c163 25proper nesting.
0ef03e97 26
87404ecb
JR
27%description -l pl.UTF-8
28DelimMatch jest rozszerzeniem Perla do wyszukiwania łańcuchów
29ograniczonych wyrażeniami regularnymi z właściwym zagnieżdżeniem.
0ef03e97 30
31%prep
8171469e 32%setup -q -n DelimMatch-1.06
0ef03e97 33
34%build
e2612212 35%{__perl} Makefile.PL \
09bb0394 36 INSTALLDIRS=vendor
4176d59d 37%{__make}
d62c6d5d 38
39%{?with_tests:%{__make} test}
0ef03e97 40
41%install
42rm -rf $RPM_BUILD_ROOT
0ef03e97 43
1cfdae6a 44%{__make} install \
45 DESTDIR=$RPM_BUILD_ROOT
0ef03e97 46
0ef03e97 47%clean
48rm -rf $RPM_BUILD_ROOT
49
50%files
51%defattr(644,root,root,755)
390a5cbc 52%doc README
e2612212 53%{perl_vendorlib}/Text/DelimMatch.pm
842ec96d 54# empty autosplit.ix
e2612212 55#%dir %{perl_vendorlib}/auto/Text/DelimMatch
56#%%{perl_vendorlib}/auto/Text/DelimMatch/autosplit.ix
0ef03e97 57%{_mandir}/man3/*
This page took 0.12141 seconds and 4 git commands to generate.