]> git.pld-linux.org Git - packages/grep.git/blob - grep.spec
52fdebff60ed9a65b9b2b6abad166cd9ed8b7c2f
[packages/grep.git] / grep.spec
1 Summary:     GNU grep Utilities
2 Name:        grep
3 Version:     2.2
4 Release:     4
5 Copyright:   GPL
6 Group:       Utilities/Text
7 Group(pl):   Narzêdzia/Tekst
8 Source:      ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}.tar.gz
9 Buildroot:   /tmp/buildroot-%{name}-%{version}
10 Summary(fr): Utilitaires grep de GNU
11 Summary(pl): GNU grep 
12 Summary(tr): Dosyalarda katar arama aracý
13
14 %description
15 This is the GNU implementation of the popular `grep' *nix
16 utility.  It allows for the fast locating of strings in text files.
17
18 %description -l de
19 Dies ist die GNU-Implementierung des beliebten *nix-Dienstprogramms
20 'grep'. Damit können schnell Zeichenketten in Textdateien finden.
21
22 %description -l fr
23 Ceci est l'implémentation par GNU du  populaire l'utilitaire grep 
24 su *nix. Il permet de localiser rapidement des chaînes de caractéres
25 dans les fichiers.
26
27 %description -l pl 
28 GNU grep jest implementacj± popularnego programu unixowego `grep'.
29 Grep jest jednym z podstawowych narzêdzi, korzysta z niego prawie
30 ka¿dym skrypt shella. 
31
32 %description -l tr
33 Bu, bütün Unix'lerde bulunan ve yaygýn olarak kullanýlan grep aracýnýn GNU
34 sürümüdür. Metin dosyalarý içinde bulunan katarlarý aramada kullanýlýr.
35
36 %prep
37 %setup -q
38
39 %build
40 CFLAGS=$RPM_OPT_FLAGS LDFLAGS="-s" \
41 ./configure \
42         --prefix=/usr \
43         --exec-prefix=/
44 make 
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48 make prefix=$RPM_BUILD_ROOT/usr exec_prefix=$RPM_BUILD_ROOT install
49 ln -sf /bin/grep $RPM_BUILD_ROOT/bin/fgrep
50 ln -sf /bin/grep $RPM_BUILD_ROOT/bin/egrep
51 echo .so grep.1 > $RPM_BUILD_ROOT/usr/man/man1/egrep.1
52 echo .so grep.1 > $RPM_BUILD_ROOT/usr/man/man1/fgrep.1
53
54 gzip -9nf $RPM_BUILD_ROOT/usr/man/man1/*
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644, root, root, 755)
61 %doc NEWS README ChangeLog
62 %attr(755, root, root) /bin/*
63 %attr(644, root,  man) /usr/man/man1/*
64
65 %lang(de) /usr/share/locale/de/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.033519 seconds and 3 git commands to generate.