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ý
10 Group: Applications/Text
11 Group(de): Applikationen/Text
12 Group(fr): Utilitaires/Texte
13 Group(pl): Aplikacje/Tekst
14 Source0: ftp://alpha.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
16 Patch0: %{name}-info.patch
17 Patch1: %{name}-i18n.patch
18 BuildRequires: pcre-devel
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 %define _exec_prefix /
26 The GNU versions of commonly used grep utilities. Grep searches one or
27 more input files for lines which contain a match to a specified
28 pattern and then prints the matching lines. GNU's grep utilities
29 include grep, egrep and fgrep.
32 Die GNU-Versionen der häufig benutzten grep-Utilities. Grep durchsucht
33 eine oder mehrere Eingabedateien nach Zeilen, die auf ein angegebenes
34 Muster passen, und zeigt dann die entsprechenden Zeilen an. GNUs grep
35 enthält grep, egrep und fgrep.
38 Ceci est l'implémentation par GNU du populaire l'utilitaire grep su
39 - *nix. Il permet de localiser rapidement des chaînes de caractéres
43 GNU grep jest implementacj± popularnego programu unixowego `grep'.
44 Grep jest jednym z podstawowych narzêdzi, korzysta z niego prawie
48 Bu, bütün Unix'lerde bulunan ve yaygýn olarak kullanýlan grep aracýnýn
49 GNU sürümüdür. Metin dosyalarý içinde bulunan katarlarý aramada
58 gettextize --force --copy
69 rm -rf $RPM_BUILD_ROOT
70 install -d $RPM_BUILD_ROOT%{_mandir}/pl/man1
72 %{__make} install DESTDIR=$RPM_BUILD_ROOT
74 install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/pl/man1/grep.1
76 echo .so grep.1 > $RPM_BUILD_ROOT%{_mandir}/man1/egrep.1
77 echo .so grep.1 > $RPM_BUILD_ROOT%{_mandir}/man1/fgrep.1
79 echo .so grep.1 > $RPM_BUILD_ROOT%{_mandir}/pl/man1/egrep.1
80 echo .so grep.1 > $RPM_BUILD_ROOT%{_mandir}/pl/man1/fgrep.1
82 gzip -9nf NEWS README ChangeLog TODO
87 rm -rf $RPM_BUILD_ROOT
90 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
93 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
95 %files -f %{name}.lang
96 %defattr(644,root,root,755)
98 %attr(755,root,root) %{_bindir}/*
100 %lang(pl) %{_mandir}/pl/man1/*