]> git.pld-linux.org Git - packages/gawk.git/blob - gawk.spec
- added using %%{__make} macro.
[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:        5
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
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
75 %patch4 -p0
76
77 %build
78 LDFLAGS="-s"; export LDFLAGS
79 %configure
80 make
81
82 %install
83 rm -rf $RPM_BUILD_ROOT
84 install -d $RPM_BUILD_ROOT%{_bindir}
85
86 %{__make} install \
87         DESTDIR=$RPM_BUILD_ROOT 
88
89 rm -f $RPM_BUILD_ROOT%{_bindir}/gawk-%{version}
90
91 gzip -9nf $RPM_BUILD_ROOT{%{_infodir}/gawk.info*,%{_mandir}/man1/*} \
92         README ACKNOWLEDGMENT FUTURES LIMITATIONS NEWS PORTS \
93         README_d/README.linux POSIX.STD
94
95 %post
96 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
97
98 %postun
99 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
100
101 %clean
102 rm -rf $RPM_BUILD_ROOT
103
104 %files
105 %defattr(644,root,root,755)
106 %doc *gz README_d/README.linux.gz doc/*.ps.gz
107 %attr(755,root,root) %{_bindir}/*
108 %{_mandir}/man1/*
109 %{_infodir}/*info*
110 %attr(755,root,root) %{_libdir}/awk
111 %{_datadir}/awk
This page took 0.059224 seconds and 4 git commands to generate.