]> git.pld-linux.org Git - packages/grep.git/blob - grep.spec
- downgrade to 2.2.
[packages/grep.git] / grep.spec
1 Summary:     GNU grep Utilities
2 Summary(fr): Utilitaires grep de GNU
3 Summary(pl): GNU grep 
4 Summary(tr): Dosyalarda katar arama aracý
5 Name:        grep
6 Version:     2.2
7 Release:     3
8 Copyright:   GPL
9 Group:       Utilities/Text
10 Source:      ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}.tar.gz
11 Buildroot:   /tmp/%{name}-%{version}-root
12
13 %description
14 This is the GNU implementation of the popular `grep' *nix
15 utility.  It allows for the fast locating of strings in text files.
16
17 %description -l de
18 Dies ist die GNU-Implementierung des beliebten *nix-Dienstprogramms
19 'grep'. Damit können schnell Zeichenketten in Textdateien finden.
20
21 %description -l fr
22 Ceci est l'implémentation par GNU du  populaire l'utilitaire grep 
23 su *nix. Il permet de localiser rapidement des chaînes de caractéres
24 dans les fichiers.
25
26 %description -l pl 
27 GNU grep jest implementacj± popularnego programu unixowego `grep'.
28 Grep jest jednym z podstawowych narzêdzi, korzysta z niego prawie
29 ka¿dym skrypt shella. 
30
31 %description -l tr
32 Bu, bütün Unix'lerde bulunan ve yaygýn olarak kullanýlan grep aracýnýn GNU
33 sürümüdür. Metin dosyalarý içinde bulunan katarlarý aramada kullanýlýr.
34
35 %prep
36 %setup -q
37
38 %build
39 CFLAGS=$RPM_OPT_FLAGS ./configure --prefix=/usr --exec-prefix=/
40 make 
41 strip src/grep
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45 make prefix=$RPM_BUILD_ROOT/usr exec_prefix=$RPM_BUILD_ROOT install
46 ln -sf /bin/grep $RPM_BUILD_ROOT/bin/fgrep
47 ln -sf /bin/grep $RPM_BUILD_ROOT/bin/egrep
48 echo .so grep.1 > $RPM_BUILD_ROOT/usr/man/man1/egrep.1
49 echo .so grep.1 > $RPM_BUILD_ROOT/usr/man/man1/fgrep.1
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644, root, root, 755)
56 %doc NEWS README ChangeLog
57 %attr(755, root, root) /bin/*
58 %attr(644, root,  man) /usr/man/man1/*
59
60 %lang(de) /usr/share/locale/de/LC_MESSAGES/grep.mo
61 %lang(el) /usr/share/locale/el/LC_MESSAGES/grep.mo
62 %lang(es) /usr/share/locale/es/LC_MESSAGES/grep.mo
63 %lang(fr) /usr/share/locale/fr/LC_MESSAGES/grep.mo
64 %lang(ko) /usr/share/locale/ko/LC_MESSAGES/grep.mo
65 %lang(nl) /usr/share/locale/nl/LC_MESSAGES/grep.mo
66 %lang(no) /usr/share/locale/no/LC_MESSAGES/grep.mo
67 %lang(pl) /usr/share/locale/pl/LC_MESSAGES/grep.mo
68 %lang(ru) /usr/share/locale/ru/LC_MESSAGES/grep.mo
69 %lang(sl) /usr/share/locale/sl/LC_MESSAGES/grep.mo
70 %lang(sv) /usr/share/locale/sv/LC_MESSAGES/grep.mo
71
72 %changelog
73 * Tue Oct 06 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
74   [2.2-3]
75 - added pl translation,
76 - minor modification of the spec file.
77
78 * Sat May 09 1998 Prospector System <bugs@redhat.com>
79 - translations modified for de, fr, tr
80
81 * Fri May 01 1998 Cristian Gafton <gafton@redhat.com>
82 - updated to 2.2
83
84 * Thu Oct 16 1997 Donnie Barnes <djb@redhat.com>
85 - updated from 2.0 to 2.1
86 - spec file cleanups
87 - added BuildRoot
88
89 * Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
90 - built against glibc
This page took 0.03383 seconds and 4 git commands to generate.