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