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