]> git.pld-linux.org Git - packages/grep.git/blob - grep.spec
- revision up to 4,
[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:     4
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 LDFLAGS="-s" \
40 ./configure \
41         --prefix=/usr \
42         --exec-prefix=/
43 make 
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47 make prefix=$RPM_BUILD_ROOT/usr exec_prefix=$RPM_BUILD_ROOT install
48 ln -sf /bin/grep $RPM_BUILD_ROOT/bin/fgrep
49 ln -sf /bin/grep $RPM_BUILD_ROOT/bin/egrep
50 echo .so grep.1 > $RPM_BUILD_ROOT/usr/man/man1/egrep.1
51 echo .so grep.1 > $RPM_BUILD_ROOT/usr/man/man1/fgrep.1
52
53 gzip -9nf $RPM_BUILD_ROOT/usr/man/man1/*
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644, root, root, 755)
60 %doc NEWS README ChangeLog
61 %attr(755, root, root) /bin/*
62 %attr(644, root,  man) /usr/man/man1/*
63
64 %lang(de) /usr/share/locale/de/LC_MESSAGES/grep.mo
65 %lang(el) /usr/share/locale/el/LC_MESSAGES/grep.mo
66 %lang(es) /usr/share/locale/es/LC_MESSAGES/grep.mo
67 %lang(fr) /usr/share/locale/fr/LC_MESSAGES/grep.mo
68 %lang(ko) /usr/share/locale/ko/LC_MESSAGES/grep.mo
69 %lang(nl) /usr/share/locale/nl/LC_MESSAGES/grep.mo
70 %lang(no) /usr/share/locale/no/LC_MESSAGES/grep.mo
71 %lang(pl) /usr/share/locale/pl/LC_MESSAGES/grep.mo
72 %lang(ru) /usr/share/locale/ru/LC_MESSAGES/grep.mo
73 %lang(sl) /usr/share/locale/sl/LC_MESSAGES/grep.mo
74 %lang(sv) /usr/share/locale/sv/LC_MESSAGES/grep.mo
75
76 %changelog
77 * Fri Dec 11 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
78   [2.2-4]
79 - added gzipping man pages,
80 - added using LDFLAGS="-s" to ./configure enviroment.
81
82 * Tue Oct 06 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
83   [2.2-3]
84 - added pl translation,
85 - minor modification of the spec file.
86
87 * Sat May 09 1998 Prospector System <bugs@redhat.com>
88 - translations modified for de, fr, tr
89
90 * Fri May 01 1998 Cristian Gafton <gafton@redhat.com>
91 - updated to 2.2
92
93 * Thu Oct 16 1997 Donnie Barnes <djb@redhat.com>
94 - updated from 2.0 to 2.1
95 - spec file cleanups
96 - added BuildRoot
97
98 * Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
99 - built against glibc
This page took 0.047131 seconds and 4 git commands to generate.