]> git.pld-linux.org Git - packages/gawk.git/blob - gawk.spec
- revision up to 5,
[packages/gawk.git] / gawk.spec
1 Summary:     GNU utilities text processor.
2 Summary(de): GNU-Utilities Text-Prozessor
3 Summary(fr): Traitement de texte des utilitaires GNU
4 Summary(pl): Narzêdzia do obróbki plików tekstowych z GNU
5 Summary(tr): GNU araçlarý metin düzenleyici
6 Name:        gawk
7 Version:     3.0.3
8 Release:     5
9 Copyright:   GPL
10 Group:       Utilities/Text
11 Source0:     ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}.tar.gz
12 Source1:     ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}-ps.tar.gz
13 Patch0:      gawk-unaligned.patch
14 Patch1:      gawk-info.patch
15 Buildroot:   /tmp/%{name}-%{version}-root
16
17 %description
18 This is GNU Awk. It should be upwardly compatible with the Bell Labs
19 research version of awk.  It is almost completely compliant with the
20 1993 POSIX 1003.2 standard for awk.
21
22 Gawk can be used to process text files and is considered a standard
23 Linux tool.
24
25 %description -l de
26 Dies ist GNU Awk. Es sollte aufwärtskompatibel mit der Bell Labs-
27 Version von awk sein. Es ist fast vollständig konform mit dem 1993 
28 POSIX 1003.2-Standard für awk.
29 Gawk läßt sich zum Verarbeiten von Textdateien einsetzen und gilt als
30 ein Standard-Linux-Tool.
31
32 %description -l fr
33 awk de GNU, compatible vers le haut avec les versions awk des Bell Labs.
34 Il est presque totalement conforme au standard 1993 POSIX 1003.2 de awk.
35
36 gawk sert à traiter les fichiers texte est est considéré comme un outil
37 standard de Linux.
38
39 %description -l pl
40 Pakiet zawiera implementacjê GNU interpretera jêzyka awk, który powinien
41 byæ kompatybilny z aplikacj± o tej samej nazwie zrobion± przez Bell Labs.
42 GNU awk jest w pe³ni zgodny ze standardem 1993 POSIX 1003.2.
43
44 Gawk (GNU awk) jest zaawansowanym jêzykiem skryptowym, doskonale nadaj±cym
45 sie do obróbki plików tekstowych. Jest to jedno z podstawowych narzêdzi
46 systemu Linux.
47
48 %description -l tr
49 Gawk metin dosyalarýný iþlemek için kullanýlan standart Linux araçlarýndan
50 biridir.
51
52 %prep
53 %setup -q -b 1
54 %patch0 -p1
55 %patch1 -p1
56
57 %build
58 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
59 ./configure \
60         --prefix=/usr
61 make
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65 install -d $RPM_BUILD_ROOT/usr/bin
66
67 make install prefix=$RPM_BUILD_ROOT/usr bindir=$RPM_BUILD_ROOT/bin
68
69 echo ".so gawk.1" > $RPM_BUILD_ROOT/usr/man/man1/awk.1
70 ln -sf /bin/gawk $RPM_BUILD_ROOT/usr/bin/awk 
71 ln -sf /bin/gawk $RPM_BUILD_ROOT/usr/bin/gawk 
72
73 gzip -9f $RPM_BUILD_ROOT/usr/{info/gawk.info*,man/man1/*}
74
75 %post
76 /sbin/install-info /usr/info/gawk.info.gz /etc/info-dir
77
78 %preun
79 if [ $1 = 0 ]; then
80         /sbin/install-info --delete /usr/info/gawk.info.gz /etc/info-dir
81 fi
82
83 %clean
84 rm -rf $RPM_BUILD_ROOT
85
86 %files
87 %defattr(644, root, root, 755)
88 %doc README ACKNOWLEDGMENT FUTURES LIMITATIONS NEWS PORTS 
89 %doc README_d POSIX.STD doc/gawk.ps doc/awkcard.ps
90 %attr(755, root, root) /bin/*
91 %attr(755, root, root) /usr/bin/*
92 %attr(644, root,  man) /usr/man/man1/*
93 /usr/info/*info*
94 %attr(755, root, root, 755) /usr/libexec/awk
95 /usr/share/awk
96
97 %changelog
98 * Sat Jan 02 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
99   [3.0.3-5]
100 - added %post, %preun with {un}registering gawk info
101   pages (added gawk-info.patch),
102 - added gzipping man pages,
103 - added using LDFLAGS="-s" to ./configure enviroment.
104
105 * Mon Oct 26 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
106   [3.0.3-4]
107 - awk(1) man page is now maked as nroff include to gawk(1) instead
108   making sym link to gawk.1 (this allow compress man pages in future),
109 - removed INSTALL and COPYING from %doc (copyright statment is in Copyright
110   field).
111
112 * Sun Jul 19 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
113 - added pl translation,
114 - added -q %setup parameter,
115 - buildroot canged to /tmp/%{name}-%{version}-root.
116
117 * Wed May 06 1998 Cristian Gafton <gafton@redhat.com>
118 - don't package /usr/info/dir
119
120 * Fri Apr 24 1998 Prospector System <bugs@redhat.com>
121 - translations modified for de, fr, tr
122
123 * Wed Apr 08 1998 Cristian Gafton <gafton@redhat.com>
124 - upgraded to 3.0.3
125 - added documentation and buildroot
126
127 * Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
128 - built against glibc
This page took 0.708365 seconds and 4 git commands to generate.