]> git.pld-linux.org Git - packages/gawk.git/blob - gawk.spec
[3.0.3-7]
[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:        7
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         README ACKNOWLEDGMENT FUTURES LIMITATIONS NEWS PORTS \
75         README_d/README.linux POSIX.STD doc/gawk.ps doc/awkcard.ps
76
77 %post
78 /sbin/install-info /usr/info/gawk.info.gz /etc/info-dir
79
80 %preun
81 if [ "$1" = "0" ]; then
82         /sbin/install-info --delete /usr/info/gawk.info.gz /etc/info-dir
83 fi
84
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
88 %files
89 %defattr(644,root,root,755)
90 %doc *gz README_d/README.linux.gz doc/*.ps.gz
91 %attr(755,root,root) /bin/*
92 %attr(755,root,root) /usr/bin/*
93 /usr/man/man1/*
94 /usr/info/*info*
95 %attr(755,root,root,755) /usr/libexec/awk
96 /usr/share/awk
97
98 %changelog
99 * Wed Apr 14 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
100   [3.0.3-7]
101 - removed man group from man pages,
102 - gzipping %doc.
103
104 * Sat Jan 02 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
105   [3.0.3-5]
106 - added %post, %preun with {un}registering gawk info
107   pages (added gawk-info.patch),
108 - added gzipping man pages,
109 - added using LDFLAGS="-s" to ./configure enviroment.
110
111 * Mon Oct 26 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
112   [3.0.3-4]
113 - awk(1) man page is now maked as nroff include to gawk(1) instead
114   making sym link to gawk.1 (this allow compress man pages in future),
115 - removed INSTALL and COPYING from %doc (copyright statment is in Copyright
116   field).
117
118 * Sun Jul 19 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
119 - added pl translation,
120 - added -q %setup parameter,
121 - buildroot canged to /tmp/%{name}-%{version}-root.
122
123 * Wed May 06 1998 Cristian Gafton <gafton@redhat.com>
124 - don't package /usr/info/dir
125
126 * Fri Apr 24 1998 Prospector System <bugs@redhat.com>
127 - translations modified for de, fr, tr
128
129 * Wed Apr 08 1998 Cristian Gafton <gafton@redhat.com>
130 - upgraded to 3.0.3
131 - added documentation and buildroot
132
133 * Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
134 - built against glibc
This page took 0.069233 seconds and 4 git commands to generate.