]>
Commit | Line | Data |
---|---|---|
5d1cd91e | 1 | Summary: Approximate grep |
c0534717 | 2 | Summary(pl.UTF-8): Wersja grep dopuszczająca błędy |
5d1cd91e JB |
3 | Name: agrep |
4 | Version: 2.04 | |
3e2b698e | 5 | Release: 6 |
5d1cd91e JB |
6 | License: distributable not for profit, free use |
7 | Group: Applications/Text | |
50941aea | 8 | Source0: ftp://ftp.cs.arizona.edu/agrep/%{name}-%{version}.tar.Z |
2b8ed736 | 9 | # Source0-md5: abc645404d3926a57c3f5e86a6e89ee9 |
5d1cd91e JB |
10 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
11 | ||
c862303c | 12 | %description |
5d1cd91e JB |
13 | Tool for fast text searching allowing errors. It's similar to egrep |
14 | (or grep or fgrep), but it is much more general and usually faster. | |
15 | ||
4300105f JR |
16 | %description -l pl.UTF-8 |
17 | agrep jest narzędziem podobnym do grep, ale umożliwia przeszukiwanie | |
18 | przybliżone. | |
5d1cd91e JB |
19 | |
20 | %prep | |
c862303c | 21 | %setup -q |
5d1cd91e JB |
22 | |
23 | %build | |
3e2b698e JB |
24 | %{__make} \ |
25 | CFLAGS="%{rpmcflags}" | |
5d1cd91e JB |
26 | |
27 | %install | |
28 | rm -rf $RPM_BUILD_ROOT | |
29 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} | |
30 | ||
31 | install agrep $RPM_BUILD_ROOT%{_bindir}/agrep | |
32 | install agrep.1 $RPM_BUILD_ROOT%{_mandir}/man1/agrep.1 | |
33 | ||
5d1cd91e JB |
34 | %clean |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | ||
37 | %files | |
38 | %defattr(644,root,root,755) | |
a9e7a886 | 39 | %doc COPYRIGHT README agrep.algorithms agrep.chronicle contribution.list |
5d1cd91e JB |
40 | %attr(755,root,root) %{_bindir}/* |
41 | %{_mandir}/man1/* |