]>
Commit | Line | Data |
---|---|---|
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 | 7 | Summary: DelimMatch - find regexp delimited strings with proper nesting |
d850e333 | 8 | Summary(pl.UTF-8): DelimMatch - poszukiwanie łańcuchów ograniczonych wyrażeniami regularnymi |
0ef03e97 | 9 | Name: perl-DelimMatch |
8171469e | 10 | Version: 1.06a |
f849fba1 | 11 | Release: 2 |
6e17d231 | 12 | # same as perl |
13 | License: GPL v1+ or Artistic | |
0ef03e97 | 14 | Group: Development/Languages/Perl |
72dead2e | 15 | Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pnam}-%{version}.tar.gz |
8171469e | 16 | # Source0-md5: 8efb70c2326d0b8f551708e9cdc2b649 |
bcb15508 | 17 | URL: http://search.cpan.org/dist/Text-DelimMatch/ |
dd359d68 | 18 | BuildRequires: perl-devel >= 1:5.8.0 |
bcb15508 | 19 | BuildRequires: rpm-perlprov >= 4.1-13 |
3c3ef114 | 20 | BuildArch: noarch |
a51a2d03 | 21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
0ef03e97 | 22 | |
23 | %description | |
6e17d231 | 24 | DelimMatch is a Perl extension to find regexp delimited strings with |
f2b6c163 | 25 | proper nesting. |
0ef03e97 | 26 | |
87404ecb JR |
27 | %description -l pl.UTF-8 |
28 | DelimMatch jest rozszerzeniem Perla do wyszukiwania łańcuchów | |
29 | ograniczonych 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 | |
42 | rm -rf $RPM_BUILD_ROOT | |
0ef03e97 | 43 | |
1cfdae6a | 44 | %{__make} install \ |
45 | DESTDIR=$RPM_BUILD_ROOT | |
0ef03e97 | 46 | |
0ef03e97 | 47 | %clean |
48 | rm -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/* |