]> git.pld-linux.org Git - packages/gawk.git/blob - gawk.spec
- adapterized.
[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(es):    Utilitarios GNU para manipulación de archivos texto
4 Summary(fr):    Traitement de texte des utilitaires GNU
5 Summary(pl):    Wersja GNU awk - narzêdzia do obróbki tekstów
6 Summary(tr):    GNU araçlarý metin düzenleyici
7 Summary(pt_BR): Utilitários GNU para manipulação arquivos texto
8 Name:           gawk
9 Version:        3.1.0
10 Release:        5
11 License:        GPL
12 Group:          Applications/Text
13 Source0:        ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
14 Source1:        http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
15 Patch0:         %{name}-info.patch
16 Patch1:         %{name}-newsecurity.patch
17 Patch2:         %{name}-shutup.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 %description -l de
36 Das gawk-Paket enthält die GNU-Version von awk, einem
37 Textverarbeitungs-Utility. Awk interpretiert eine spezielle
38 Programmiersprache, um Textmuster zu suchen, und neu zu formatieren.
39 Gawk ist kompatibel zu der Bell Labs research-Version von awk, und ist
40 fast kompatibel zum 1993 POSIX 1003.2-awk-Standard.
41
42 %description -l es
43 Este es el GNU Awk. Debe ser compatible con la versión de pesquisa de
44 awk del Bell Labs. Es casi completamente vinculado con el padrón 1993
45 POSIX 1003.2 para awk. Gawk puede ser usado para procesar archivos
46 texto y se considera una herramienta padrón del Linux.
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 pt_BR
67 Este é o GNU Awk. Ele deve ser compatível com a versão de pesquisa de
68 awk do Bell Labs. Ele é quase completamente vinculado com o padrão
69 1993 POSIX 1003.2 para awk. Gawk pode ser usado para processar
70 arquivos texto e é considerado uma ferramenta padrão do Linux.
71
72 %description -l tr
73 Gawk metin dosyalarýný iþlemek için kullanýlan standart Linux
74 Araçlarýndan biridir.
75
76 %prep
77 %setup  -q
78 %patch0 -p1
79 %patch1 -p1
80 %patch2 -p1
81
82 %build
83 %configure2_13 \
84         --enable-nls
85 %{__make}
86
87 %install
88 rm -rf $RPM_BUILD_ROOT
89 install -d $RPM_BUILD_ROOT%{_bindir}
90
91 %{__make} install \
92         DESTDIR=$RPM_BUILD_ROOT
93
94 rm -f $RPM_BUILD_ROOT%{_bindir}/gawk-%{version}
95
96 gzip -9nf AUTHORS README FUTURES LIMITATIONS NEWS PROBLEMS \
97         README_d/README.linux POSIX.STD
98
99 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
100
101 %find_lang %{name}
102
103 %post
104 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
105
106 %postun
107 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
108
109 %clean
110 rm -rf $RPM_BUILD_ROOT
111
112 %files -f %{name}.lang
113 %defattr(644,root,root,755)
114 %doc *gz README_d/README.linux.gz
115 %attr(755,root,root) %{_bindir}/*
116 %{_mandir}/man1/*
117 %lang(es) %{_mandir}/es/man1/*
118 %lang(fr) %{_mandir}/fr/man1/*
119 %lang(it) %{_mandir}/it/man1/*
120 %lang(ja) %{_mandir}/ja/man1/*
121 %lang(pl) %{_mandir}/pl/man1/*
122 %{_infodir}/*info*
123 %attr(755,root,root) %{_libdir}/awk
124 %{_datadir}/awk
This page took 0.067495 seconds and 4 git commands to generate.