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