]> git.pld-linux.org Git - packages/gawk.git/blob - gawk.spec
- .xz BRs
[packages/gawk.git] / gawk.spec
1 Summary:        The GNU version of the awk text processing utility
2 Summary(de.UTF-8):      Die GNU-Version des AWK-Textverarbeitungsutilitys
3 Summary(es.UTF-8):      Utilitarios GNU para manipulación de archivos texto
4 Summary(fr.UTF-8):      Traitement de texte des utilitaires GNU
5 Summary(ja.UTF-8):      GNU バージョンの awk テキスト処理ユーティリティー
6 Summary(pl.UTF-8):      Wersja GNU awk - narzędzia do obróbki tekstów
7 Summary(pt_BR.UTF-8):   Utilitários GNU para manipulação arquivos texto
8 Summary(ru.UTF-8):      GNU версия утилиты обработки текстов awk
9 Summary(tr.UTF-8):      GNU araçları metin düzenleyici
10 Summary(uk.UTF-8):      GNU версія утиліти обробки текстів awk
11 Name:           gawk
12 Version:        4.0.1
13 Release:        1
14 License:        GPL v3+
15 Group:          Applications/Text
16 Source0:        http://ftp.gnu.org/gnu/gawk/%{name}-%{version}.tar.xz
17 # Source0-md5:  a601b032c39cd982f34272664f8afa49
18 Source1:        http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
19 # Source1-md5:  80753d75be0f469f70e8c90e75121a9c
20 Patch0:         %{name}-info.patch
21 Patch1:         %{name}-shutup.patch
22 Patch2:         %{name}-pl.po-update.patch
23 URL:            http://www.gnu.org/software/gawk/
24 BuildRequires:  autoconf >= 2.68
25 BuildRequires:  automake >= 1:1.11
26 BuildRequires:  gettext-devel >= 0.18.1
27 BuildRequires:  libsigsegv
28 BuildRequires:  readline-devel
29 BuildRequires:  tar >= 1:1.22
30 BuildRequires:  texinfo >= 4.3
31 BuildRequires:  xz
32 Requires:       mktemp
33 Requires:       sed
34 Obsoletes:      gawk-doc
35 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37 %define         _includedir     %{_prefix}/include/awk
38
39 %description
40 The gawk packages contains the GNU version of awk, a text processing
41 utility. Awk interprets a special-purpose programming language to do
42 quick and easy text pattern matching and reformatting jobs. Gawk
43 should be upwardly compatible with the Bell Labs research version of
44 awk and is almost completely compliant with the 1993 POSIX 1003.2
45 standard for awk.
46
47 %description -l de.UTF-8
48 Das gawk-Paket enthält die GNU-Version von awk, einem
49 Textverarbeitungs-Utility. Awk interpretiert eine spezielle
50 Programmiersprache, um Textmuster zu suchen, und neu zu formatieren.
51 Gawk ist kompatibel zu der Bell Labs research-Version von awk, und ist
52 fast kompatibel zum 1993 POSIX 1003.2-awk-Standard.
53
54 %description -l es.UTF-8
55 Este es el GNU Awk. Debe ser compatible con la versión de pesquisa de
56 awk del Bell Labs. Es casi completamente vinculado con el padrón 1993
57 POSIX 1003.2 para awk. Gawk puede ser usado para procesar archivos
58 texto y se considera una herramienta padrón del Linux.
59
60 %description -l fr.UTF-8
61 awk de GNU, compatible vers le haut avec les versions awk des Bell
62 Labs. Il est presque totalement conforme au standard 1993 POSIX 1003.2
63 de awk.
64
65 %description -l ja.UTF-8
66 gawk パッケージは GNU バージョンの、テキスト処理ユーティリティー
67 である awk を含んでいます。awk は素早く、容易なパターンマッチングと
68 整形処理をするための特殊な目的の言語です。gawk はベル研のバージョンの
69 awk と上位互換で、awk の 1993 POSIX 1003.2 標準に完全に合致します。
70
71 %description -l pl.UTF-8
72 Pakiet zawiera implementację GNU interpretera języka awk, który
73 powinien być kompatybilny z aplikacją o tej samej nazwie zrobioną
74 przez Bell Labs. GNU awk jest w pełni zgodny ze standardem 1993 POSIX
75 1003.2.
76
77 Gawk (GNU awk) jest zaawansowanym językiem skryptowym, doskonale
78 nadającym się do obróbki plików tekstowych. Jest to jedno z
79 podstawowych narzędzi systemu Linux.
80
81 %description -l pt_BR.UTF-8
82 Este é o GNU Awk. Ele deve ser compatível com a versão de pesquisa de
83 awk do Bell Labs. Ele é quase completamente vinculado com o padrão
84 1993 POSIX 1003.2 para awk. Gawk pode ser usado para processar
85 arquivos texto e é considerado uma ferramenta padrão do Linux.
86
87 %description -l ru.UTF-8
88 Пакет gawk содержит GNU версию awk, утилиты обработки текстов. awk
89 интерпретирует специализированный язык программирования для быстрого и
90 легкого выполнения работ по сопоставлению с шаблонами и
91 переформатированию текстов. Gawk должен быть совместим с версией awk
92 от Bell Labs и практически полностью отвечает стандарту 1993 POSIX
93 1003.2 на awk.
94
95 %description -l tr.UTF-8
96 Gawk metin dosyalarını işlemek için kullanılan standart Linux
97 Araçlarından biridir.
98
99 %description -l uk.UTF-8
100 Пакет gawk містить GNU версію awk, утиліти обробки текстів. awk
101 інтерпретує спеціалізовану мову програмування для швидкого та легкого
102 виконання робіт по співставленню з шаблонами та переформатуванню
103 текстів. Gawk має бути сумісним з версією awk від Bell Labs і
104 практично повністю відповідає стандарту 1993 POSIX 1003.2 на awk.
105
106 %package devel
107 Summary:        Header files for gawk
108 Summary(pl.UTF-8):      Pliki nagłówkowe dla gawka
109 Group:          Development/Libraries
110
111 %description devel
112 This is the package containing the header files for gawk.
113
114 %description devel -l pl.UTF-8
115 Ten pakiet zawiera pliki nagłówkowe dla gawka.
116
117 %prep
118 %setup -q
119 %patch0 -p1
120 %patch1 -p1
121 %patch2 -p1
122
123 %{__rm} po/stamp-po
124
125 %build
126 %{__gettextize}
127 %{__aclocal} -I m4
128 %{__autoconf}
129 %{__autoheader}
130 %{__automake}
131
132 %configure
133
134 %{__make} -j1
135
136 %install
137 rm -rf $RPM_BUILD_ROOT
138
139 %{__make} install \
140         DESTDIR=$RPM_BUILD_ROOT
141
142 install -d $RPM_BUILD_ROOT%{_includedir}
143 install *.h $RPM_BUILD_ROOT%{_includedir}
144
145 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
146 %{__rm} $RPM_BUILD_ROOT%{_bindir}/gawk-%{version}
147 %{__rm} $RPM_BUILD_ROOT%{_mandir}/README.gawk-non-english-man-pages
148 rm -f $RPM_BUILD_ROOT%{_datadir}/info/dir
149
150 %find_lang %{name}
151
152 %clean
153 rm -rf $RPM_BUILD_ROOT
154
155 %post   -p /sbin/postshell
156 -/usr/sbin/fix-info-dir -c %{_infodir}
157
158 %postun -p /sbin/postshell
159 -/usr/sbin/fix-info-dir -c %{_infodir}
160
161 %files -f %{name}.lang
162 %defattr(644,root,root,755)
163 %doc AUTHORS ChangeLog FUTURES LIMITATIONS NEWS POSIX.STD PROBLEMS README TODO
164 %attr(755,root,root) %{_bindir}/dgawk
165 %attr(755,root,root) %{_bindir}/gawk
166 %attr(755,root,root) %{_bindir}/igawk
167 %attr(755,root,root) %{_bindir}/pgawk*
168 %attr(755,root,root) %{_libdir}/awk
169 %{_datadir}/awk
170 %{_mandir}/man1/gawk.1*
171 %{_mandir}/man1/igawk.1*
172 %{_mandir}/man1/pgawk.1*
173 %lang(es) %{_mandir}/es/man1/*
174 %lang(fr) %{_mandir}/fr/man1/*
175 %lang(it) %{_mandir}/it/man1/*
176 %lang(ja) %{_mandir}/ja/man1/*
177 %lang(pl) %{_mandir}/pl/man1/*
178 %{_infodir}/gawk*.info*
179
180 %files devel
181 %defattr(644,root,root,755)
182 %{_includedir}
This page took 0.103401 seconds and 3 git commands to generate.