]> git.pld-linux.org Git - packages/agrep.git/blob - agrep.spec
- added Group(fr)
[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 Group(de):      Applikationen/Text
9 Group(fr):      Utilitaires/Texte
10 Group(pl):      Aplikacje/Tekst
11 Source0:        ftp://ftp.cs.arizona.edu/agrep/%{name}-%{version}.tar.Z
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description 
15 Tool for fast text searching allowing errors. It's similar to egrep
16 (or grep or fgrep), but it is much more general and usually faster.
17
18 %description -l pl
19 agrep jest narzêdziem podobnym do grep, ale umo¿liwia przeszukiwanie
20 przybli¿one.
21
22 %prep
23 %setup -q 
24
25 %build
26 %{__make} CFLAGS="%{rpmcflags}"
27
28 %install
29 rm -rf $RPM_BUILD_ROOT
30 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
31
32 install agrep $RPM_BUILD_ROOT%{_bindir}/agrep
33 install agrep.1 $RPM_BUILD_ROOT%{_mandir}/man1/agrep.1
34
35 gzip -9nf COPYRIGHT README agrep.algorithms agrep.chronicle contribution.list
36
37 %clean
38 rm -rf $RPM_BUILD_ROOT
39
40 %files
41 %defattr(644,root,root,755)
42 %doc *.gz
43 %attr(755,root,root) %{_bindir}/*
44 %{_mandir}/man1/*
This page took 0.048629 seconds and 3 git commands to generate.