]> git.pld-linux.org Git - packages/gawk.git/blob - gawk.spec
- relase 3,
[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:        3
9 License:        GPL
10 Group:          Applications/Text
11 Group(de):      Applikationen/Text
12 Group(fr):      Utilitaires/Texte
13 Group(pl):      Aplikacje/Tekst
14 Source0:        ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
15 Patch0:         %{name}-unaligned.patch
16 Patch1:         %{name}-info.patch
17 Patch2:         %{name}-mktemp.patch
18 Patch3:         %{name}-DESTDIR.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 %description -l de
37 Das gawk-Paket enthält die GNU-Version von awk, einem
38 Textverarbeitungs-Utility. Awk interpretiert eine spezielle
39 Programmiersprache, um Textmuster zu suchen, und neu zu formatieren.
40 Gawk ist kompatibel zu der Bell Labs research-Version von awk, und ist
41 fast kompatibel zum 1993 POSIX 1003.2-awk-Standard.
42
43 %description -l fr
44 awk de GNU, compatible vers le haut avec les versions awk des Bell
45 Labs. Il est presque totalement conforme au standard 1993 POSIX 1003.2
46 de awk.
47
48 gawk sert à traiter les fichiers texte est est considéré comme un
49 outil standard de Linux.
50
51 %description -l pl
52 Pakiet zawiera implementacjê GNU interpretera jêzyka awk, który
53 powinien byæ kompatybilny z aplikacj± o tej samej nazwie zrobion±
54 przez Bell Labs. GNU awk jest w pe³ni zgodny ze standardem 1993 POSIX
55 1003.2.
56
57 Gawk (GNU awk) jest zaawansowanym jêzykiem skryptowym, doskonale
58 nadaj±cym siê do obróbki plików tekstowych. Jest to jedno z
59 podstawowych narzêdzi systemu Linux.
60
61 %description -l tr
62 Gawk metin dosyalarýný iþlemek için kullanýlan standart Linux
63 Araçlarýndan biridir.
64
65 %prep
66 %setup  -q
67 %patch0 -p1
68 %patch1 -p1
69 %patch2 -p1
70 %patch3 -p1 -b .wiget
71
72 %build
73 %configure
74 %{__make}
75
76 %install
77 rm -rf $RPM_BUILD_ROOT
78 install -d $RPM_BUILD_ROOT%{_bindir}
79
80 %{__make} install \
81         DESTDIR=$RPM_BUILD_ROOT 
82
83 rm -f $RPM_BUILD_ROOT%{_bindir}/gawk-%{version}
84
85 gzip -9nf README ACKNOWLEDGMENT FUTURES LIMITATIONS NEWS PORTS \
86         README_d/README.linux POSIX.STD
87
88 %post
89 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
90
91 %postun
92 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
93
94 %clean
95 rm -rf $RPM_BUILD_ROOT
96
97 %files
98 %defattr(644,root,root,755)
99 %doc *gz README_d/README.linux.gz 
100 %attr(755,root,root) %{_bindir}/*
101 %{_mandir}/man1/*
102 %{_infodir}/*info*
103 %attr(755,root,root) %{_libdir}/awk
104 %{_datadir}/awk
This page took 0.102371 seconds and 4 git commands to generate.