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