1 Summary: GNU grep Utilities
2 Summary(fr): Utilitaires grep de GNU
4 Summary(tr): Dosyalarda katar arama aracý
10 Group(pl): Narzêdzia/Tekst
11 Source0: ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}.tar.gz
13 Patch0: grep-info.patch
14 Prereq: /sbin/install-info
15 Buildroot: /tmp/%{name}-%{version}-root
19 This is the GNU implementation of the popular `grep' *nix utility. It
20 allows for the fast locating of strings in text files.
23 Dies ist die GNU-Implementierung des beliebten *nix-Dienstprogramms 'grep'.
24 Damit können schnell Zeichenketten in Textdateien finden.
27 Ceci est l'implémentation par GNU du populaire l'utilitaire grep su *nix.
28 Il permet de localiser rapidement des chaînes de caractéres dans les
32 GNU grep jest implementacj± popularnego programu unixowego `grep'. Grep jest
33 jednym z podstawowych narzêdzi, korzysta z niego prawie ka¿dy skrypt shella.
36 Bu, bütün Unix'lerde bulunan ve yaygýn olarak kullanýlan grep aracýnýn GNU
37 sürümüdür. Metin dosyalarý içinde bulunan katarlarý aramada kullanýlýr.
45 gettextize --copy --force
52 rm -rf $RPM_BUILD_ROOT
53 install -d $RPM_BUILD_ROOT%{_mandir}/pl/man1
56 bindir=$RPM_BUILD_ROOT/bin \
57 infodir=$RPM_BUILD_ROOT%{_infodir} \
58 mandir=$RPM_BUILD_ROOT%{_mandir}
60 install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/pl/man1/grep.1
62 echo .so grep.1 > $RPM_BUILD_ROOT%{_mandir}/man1/egrep.1
63 echo .so grep.1 > $RPM_BUILD_ROOT%{_mandir}/man1/fgrep.1
65 echo .so grep.1 > $RPM_BUILD_ROOT%{_mandir}/pl/man1/egrep.1
66 echo .so grep.1 > $RPM_BUILD_ROOT%{_mandir}/pl/man1/fgrep.1
68 gzip -9nf $RPM_BUILD_ROOT{%{_infodir}/*info*,%{_mandir}/{man1/*,pl/man1/*}} \
69 NEWS README ChangeLog TODO
74 rm -rf $RPM_BUILD_ROOT
77 /sbin/install-info %{_infodir}/grep.info.gz /etc/info-dir
80 if [ "$1" = "0" ]; then
81 /sbin/install-info --delete %{_infodir}/grep.info.gz /etc/info-dir
86 %defattr(644,root,root,755)
87 %doc {NEWS,README,ChangeLog,TODO}.gz
89 %attr(755,root,root) /bin/*
91 %lang(pl) %{_mandir}/pl/man1/*
95 * Fri May 21 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
99 * Wed Apr 28 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
102 - added pl man page for grep,
103 - added info pages for grep.
105 * Tue Apr 27 1999 Piotr Czerwiñski <pius@pld.org.pl>
107 - changed Buildroot to /tmp/%%{name}-%%{version}-root,
108 - gzipping documentation,
109 - removed man group from man pages,
110 - replacements in %files,
112 - recompiled on rpm 3.
114 * Fri Dec 11 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
116 - added gzipping man pages,
117 - added using LDFLAGS="-s" to ./configure enviroment.
119 * Tue Oct 06 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
121 - added pl translation,
122 - minor modification of the spec file.
123 - build against GNU libc-2.1,
124 - start at invalid RH spec file.