1 Summary: GNU grep Utilities
2 Summary(de): GNU-Version der Pattern-Matching-Utilities
3 Summary(fr): Utilitaires grep de GNU
5 Summary(tr): Dosyalarda katar arama aracý
11 Group(pl): Narzêdzia/Tekst
12 Source0: ftp://prep.ai.mit.edu/pub/gnu/%{name}/%{name}-%{version}.tar.gz
14 Patch0: grep-info.patch
15 Prereq: /usr/sbin/fix-info-dir
16 Buildroot: /tmp/%{name}-%{version}-root
19 %define _exec_prefix /
22 The GNU versions of commonly used grep utilities. Grep searches one or more
23 input files for lines which contain a match to a specified pattern and then
24 prints the matching lines. GNU's grep utilities include grep, egrep and
27 You should install grep on your system, because it is a very useful utility
28 for searching through text files, for system administration tasks, etc.
31 Die GNU-Versionen der häufig benutzten grep-Utilities. Grep durchsucht eine
32 oder mehrere Eingabedateien nach Zeilen, die auf ein angegebenes Muster
33 passen, und zeigt dann die entsprechenden Zeilen an. GNUs grep enthält grep,
36 Sie sollten grep auf Ihren System installieren, weil es ein sehr nützliches
37 Utility für Durchsuchen von Textdateien und Systemadministration ist.
40 Ceci est l'implémentation par GNU du populaire l'utilitaire grep su *nix.
41 Il permet de localiser rapidement des chaînes de caractéres dans les
45 GNU grep jest implementacj± popularnego programu unixowego `grep'. Grep jest
46 jednym z podstawowych narzêdzi, korzysta z niego prawie ka¿dy skrypt shella.
49 Bu, bütün Unix'lerde bulunan ve yaygýn olarak kullanýlan grep aracýnýn GNU
50 sürümüdür. Metin dosyalarý içinde bulunan katarlarý aramada kullanýlýr.
57 gettextize --force --copy
64 LDFLAGS="-s"; export LDFLAGS
70 rm -rf $RPM_BUILD_ROOT
71 install -d $RPM_BUILD_ROOT%{_mandir}/pl/man1
73 make install DESTDIR=$RPM_BUILD_ROOT
75 install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/pl/man1/grep.1
77 echo .so grep.1 > $RPM_BUILD_ROOT%{_mandir}/man1/egrep.1
78 echo .so grep.1 > $RPM_BUILD_ROOT%{_mandir}/man1/fgrep.1
80 echo .so grep.1 > $RPM_BUILD_ROOT%{_mandir}/pl/man1/egrep.1
81 echo .so grep.1 > $RPM_BUILD_ROOT%{_mandir}/pl/man1/fgrep.1
83 gzip -9nf $RPM_BUILD_ROOT{%{_infodir}/*info*,%{_mandir}/{man1/*,pl/man1/*}} \
84 NEWS README ChangeLog TODO
89 rm -rf $RPM_BUILD_ROOT
92 /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
95 /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
97 %files -f %{name}.lang
98 %defattr(644,root,root,755)
99 %doc {NEWS,README,ChangeLog,TODO}.gz
101 %attr(755,root,root) /bin/*
103 %lang(pl) %{_mandir}/pl/man1/*