]> git.pld-linux.org Git - packages/agrep.git/blob - agrep.spec
22e83edf9f136ea053f9a10c0a7dcca4a36b2dc4
[packages/agrep.git] / agrep.spec
1 Summary:        Approximate grep
2 Summary(pl):    Wersja grep dopuszczaj±ca b³êdy
3 Name:           agrep
4 Version:        2.04
5 Release:        5
6 License:        distributable not for profit, free use
7 Group:          Applications/Text
8 Source0:        ftp://ftp.cs.arizona.edu/agrep/%{name}-%{version}.tar.Z
9 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
10
11 %description 
12 Tool for fast text searching allowing errors. It's similar to egrep
13 (or grep or fgrep), but it is much more general and usually faster.
14
15 %description -l pl
16 agrep jest narzêdziem podobnym do grep, ale umo¿liwia przeszukiwanie
17 przybli¿one.
18
19 %prep
20 %setup -q 
21
22 %build
23 %{__make} CFLAGS="%{rpmcflags}"
24
25 %install
26 rm -rf $RPM_BUILD_ROOT
27 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
28
29 install agrep $RPM_BUILD_ROOT%{_bindir}/agrep
30 install agrep.1 $RPM_BUILD_ROOT%{_mandir}/man1/agrep.1
31
32 gzip -9nf COPYRIGHT README agrep.algorithms agrep.chronicle contribution.list
33
34 %clean
35 rm -rf $RPM_BUILD_ROOT
36
37 %files
38 %defattr(644,root,root,755)
39 %doc *.gz
40 %attr(755,root,root) %{_bindir}/*
41 %{_mandir}/man1/*
This page took 0.177133 seconds and 3 git commands to generate.