]> git.pld-linux.org Git - packages/gawk.git/blob - gawk.spec
- updated to 3.0.4 (release 2),
[packages/gawk.git] / gawk.spec
1 Summary:        The GNU version of the awk text processing utility
2 Summary(de):    Die GNU-Version des AWK-Textverarbeitungsutilitys
3 Summary(fr):    Traitement de texte des utilitaires GNU
4 Summary(pl):    Wersja GNU awk - narzêdzia do obróbki tekstów
5 Summary(tr):    GNU araçlarý metin düzenleyici
6 Name:           gawk
7 Version:        3.0.4
8 Release:        2
9 Copyright:      GPL
10 Group:          Utilities/Text
11 Group(pl):      Narzêdzia/Tekst
12 Source0:        ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}.tar.gz
13 Patch0:         gawk-unaligned.patch
14 Patch1:         gawk-info.patch
15 Patch2:         gawk-mktemp.patch
16 Patch3:         gawk-DESTDIR.patch
17 Requires:       mktemp
18 Requires:       sed
19 Buildroot:      /tmp/%{name}-%{version}-root
20
21 %define         _libexecdir     %{_prefix}/lib
22 %define         _libdir         %{_prefix}/lib
23 %define         _exec_prefix    /
24
25 %description
26 The gawk packages contains the GNU version of awk, a text processing
27 utility. Awk interprets a special-purpose programming language to do quick
28 and easy text pattern matching and reformatting jobs. Gawk should be
29 upwardly compatible with the Bell Labs research version of awk and is almost
30 completely compliant with the 1993 POSIX 1003.2 standard for awk.
31
32 Install the gawk package if you need a text processing utility. Gawk is
33 considered to be a standard Linux tool for processing text.
34                                                                                                               
35 %description -l de
36 Das gawk-Paket enthält die GNU-Version von awk, einem
37 Textverarbeitungs-Utility. Awk interpretiert eine spezielle
38 Programmiersprache, um Textmuster zu suchen, und neu zu formatieren. Gawk
39 ist kompatibel zu der Bell Labs research-Version von awk, und ist fast
40 kompatibel zum 1993 POSIX 1003.2-awk-Standard.
41
42 Installieren Sie gawk, wenn Sie ein Textverarbeitungsutility brauchen.
43
44 %description -l fr
45 awk de GNU, compatible vers le haut avec les versions awk des Bell Labs.
46 Il est presque totalement conforme au standard 1993 POSIX 1003.2 de awk.
47
48 gawk sert à traiter les fichiers texte est est considéré comme un outil
49 standard de Linux.
50
51 %description -l pl
52 Pakiet zawiera implementacjê GNU interpretera jêzyka awk, który powinien
53 byæ kompatybilny z aplikacj± o tej samej nazwie zrobion± przez Bell Labs.
54 GNU awk jest w pe³ni zgodny ze standardem 1993 POSIX 1003.2.
55
56 Gawk (GNU awk) jest zaawansowanym jêzykiem skryptowym, doskonale nadaj±cym
57 sie do obróbki plików tekstowych. Jest to jedno z podstawowych narzêdzi
58 systemu Linux.
59
60 %description -l tr
61 Gawk metin dosyalarýný iþlemek için kullanýlan standart Linux araçlarýndan
62 biridir.
63
64 %prep
65 %setup  -q
66 %patch0 -p1
67 %patch1 -p1
68 %patch2 -p1
69 %patch3 -p1
70
71 %build
72 LDFLAGS="-s"; export LDFLAGS
73 %configure
74 make
75
76 %install
77 rm -rf $RPM_BUILD_ROOT
78 install -d $RPM_BUILD_ROOT/usr/bin
79
80 make install \
81         DESTDIR=$RPM_BUILD_ROOT 
82
83 echo ".so gawk.1" > $RPM_BUILD_ROOT%{_mandir}/man1/awk.1
84 ln -sf %{_bindir}/gawk $RPM_BUILD_ROOT/usr/bin/awk 
85 ln -sf %{_bindir}/gawk $RPM_BUILD_ROOT/usr/bin/gawk 
86
87 gzip -9f $RPM_BUILD_ROOT{%{_infodir}/gawk.info*,%{_mandir}/man1/*} \
88         README ACKNOWLEDGMENT FUTURES LIMITATIONS NEWS PORTS \
89         README_d/README.linux POSIX.STD
90
91 %post
92 /sbin/install-info %{_infodir}/gawk.info.gz /etc/info-dir
93
94 %preun
95 if [ "$1" = "0" ]; then
96         /sbin/install-info --delete %{_infodir}/gawk.info.gz /etc/info-dir
97 fi
98
99 %clean
100 rm -rf $RPM_BUILD_ROOT
101
102 %files
103 %defattr(644,root,root,755)
104 %doc *gz README_d/README.linux.gz doc/*.ps.gz
105 %attr(755,root,root) /usr/bin/*
106 %attr(755,root,root) %{_bindir}/*
107 %{_mandir}/man1/*
108 %{_infodir}/*info*
109 %attr(755,root,root) %{_libdir}/awk
110 %{_datadir}/awk
This page took 0.069793 seconds and 4 git commands to generate.