]> git.pld-linux.org Git - packages/gawk.git/blob - gawk.spec
- added es,fr,it,ja,pl man pages
[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 Group(de):      Applikationen/Text
14 Group(fr):      Utilitaires/Texte
15 Group(pl):      Aplikacje/Tekst
16 Source0:        ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
17 Source1:        %{name}-non-english-man-pages.tar.bz2
18 Patch0:         %{name}-info.patch
19 Patch1:         %{name}-newsecurity.patch
20 Patch2:         %{name}-shutup.patch
21 Requires:       mktemp
22 Requires:       sed
23 BuildRequires:  texinfo
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 Obsoletes:      gawk-doc
26
27 %define         _libexecdir     %{_prefix}/lib
28 %define         _libdir         %{_prefix}/lib
29
30 %description
31 The gawk packages contains the GNU version of awk, a text processing
32 utility. Awk interprets a special-purpose programming language to do
33 quick and easy text pattern matching and reformatting jobs. Gawk
34 should be upwardly compatible with the Bell Labs research version of
35 awk and is almost completely compliant with the 1993 POSIX 1003.2
36 standard for awk.
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 %description -l es
46 Este es el GNU Awk. Debe ser compatible con la versión de pesquisa
47 de awk del Bell Labs. Es casi completamente vinculado con el padrón
48 1993 POSIX 1003.2 para awk. Gawk puede ser usado para procesar
49 archivos texto y se considera una herramienta padrón del Linux.
50
51 %description -l fr
52 awk de GNU, compatible vers le haut avec les versions awk des Bell
53 Labs. Il est presque totalement conforme au standard 1993 POSIX 1003.2
54 de awk.
55
56 gawk sert à traiter les fichiers texte est est considéré comme un
57 outil standard de Linux.
58
59 %description -l pl
60 Pakiet zawiera implementacjê GNU interpretera jêzyka awk, który
61 powinien byæ kompatybilny z aplikacj± o tej samej nazwie zrobion±
62 przez Bell Labs. GNU awk jest w pe³ni zgodny ze standardem 1993 POSIX
63 1003.2.
64
65 Gawk (GNU awk) jest zaawansowanym jêzykiem skryptowym, doskonale
66 nadaj±cym siê do obróbki plików tekstowych. Jest to jedno z
67 podstawowych narzêdzi systemu Linux.
68
69 %description -l pt_BR
70 Este é o GNU Awk. Ele deve ser compatível com a versão de pesquisa de
71 awk do Bell Labs. Ele é quase completamente vinculado com o padrão
72 1993 POSIX 1003.2 para awk. Gawk pode ser usado para processar
73 arquivos texto e é considerado uma ferramenta padrão do Linux.
74
75 %description -l tr
76 Gawk metin dosyalarýný iþlemek için kullanýlan standart Linux
77 Araçlarýndan biridir.
78
79 %prep
80 %setup  -q
81 %patch0 -p1
82 %patch1 -p1
83 %patch2 -p1
84
85 %build
86 %configure2_13 \
87         --enable-nls
88 %{__make}
89
90 %install
91 rm -rf $RPM_BUILD_ROOT
92 install -d $RPM_BUILD_ROOT%{_bindir}
93
94 %{__make} install \
95         DESTDIR=$RPM_BUILD_ROOT 
96
97 rm -f $RPM_BUILD_ROOT%{_bindir}/gawk-%{version}
98
99 gzip -9nf AUTHORS README FUTURES LIMITATIONS NEWS PROBLEMS \
100         README_d/README.linux POSIX.STD
101
102 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
103
104 %find_lang %{name}
105
106 %post
107 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
108
109 %postun
110 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
111
112 %clean
113 rm -rf $RPM_BUILD_ROOT
114
115 %files -f %{name}.lang
116 %defattr(644,root,root,755)
117 %doc *gz README_d/README.linux.gz 
118 %attr(755,root,root) %{_bindir}/*
119 %{_mandir}/man1/*
120 %lang(es) %{_mandir}/es/man1/*
121 %lang(fr) %{_mandir}/fr/man1/*
122 %lang(it) %{_mandir}/it/man1/*
123 %lang(ja) %{_mandir}/ja/man1/*
124 %lang(pl) %{_mandir}/pl/man1/*
125 %{_infodir}/*info*
126 %attr(755,root,root) %{_libdir}/awk
127 %{_datadir}/awk
This page took 0.045074 seconds and 4 git commands to generate.