]>
Commit | Line | Data |
---|---|---|
477b7b4d MM |
1 | # |
2 | # Conditional build: | |
7e71e93c JB |
3 | %bcond_without asprintf # without libasprintf C++ library |
4 | %bcond_without xemacs # without po-mode for xemacs | |
5da74ad2 | 5 | %bcond_without gcj # with Java support by gcj (preferred over javac) |
7e71e93c | 6 | %bcond_with javac # with Java support by some javac |
fac9633f | 7 | %bcond_without dotnet # without .NET support |
5034552a | 8 | %bcond_with bootstrap |
477b7b4d | 9 | # |
9217affe | 10 | |
c5b96268 | 11 | %{?with_dotnet:%include /usr/lib/rpm/macros.mono} |
fac9633f | 12 | |
13 | %ifnarch %{ix86} %{x8664} arm hppa ppc s390 s390x | |
14 | %undefine with_dotnet | |
15 | %endif | |
ceedf4ce ER |
16 | %ifarch i386 |
17 | # plain i386 is not supported; mono uses cmpxchg/xadd which require i486 | |
18 | %undefine with_dotnet | |
19 | %endif | |
fac9633f | 20 | |
7e71e93c | 21 | %undefine with_xemacs |
9217affe | 22 | |
7e71e93c | 23 | %define build_java %{?with_gcj:1}%{!?with_gcj:%{?with_javac:1}%{!?with_javac:0}} |
a04d6a92 | 24 | Summary: Utilties for program national language support |
efd5fd2d ER |
25 | Summary(de.UTF-8): Utilities zum Programmieren von nationaler Sprachunterstützung |
26 | Summary(es.UTF-8): Utilitarios para el programa de soporte a lenguas locales | |
27 | Summary(fr.UTF-8): Utilitaires pour le support de la langue nationnalepar les programmes | |
28 | Summary(ja.UTF-8): マルチリンガルメッセージを生成するためのGNU ライブラリ/ユーティリティ | |
29 | Summary(pl.UTF-8): Narzędzia dla programów ze wsparciem dla języków narodowych | |
30 | Summary(pt_BR.UTF-8): Utilitários para o programa de suporte de línguas locais | |
31 | Summary(ru.UTF-8): Библиотеки и утилиты для поддержки национальных языков | |
32 | Summary(tr.UTF-8): Desteği için kitaplık ve araçlar | |
33 | Summary(uk.UTF-8): Бібліотеки та утиліти для підтримки національних мов | |
a04d6a92 | 34 | Name: gettext |
faea2b6e AM |
35 | Version: 0.17 |
36 | Release: 0.1 | |
37 | License: LGPL (libintl), GPL v3+ (tools) | |
a04d6a92 | 38 | Group: Development/Tools |
3c41a73e | 39 | Source0: ftp://ftp.gnu.org/gnu/gettext/%{name}-%{version}.tar.gz |
faea2b6e | 40 | # Source0-md5: 58a2bc6d39c0ba57823034d55d65d606 |
0b9000b2 | 41 | Patch0: %{name}-info.patch |
7e71e93c | 42 | Patch1: %{name}-killkillkill.patch |
23df42a0 JB |
43 | Patch2: %{name}-pl.po-update.patch |
44 | Patch3: %{name}-no_docs.patch | |
4ed61643 | 45 | Patch4: %{name}-ac.patch |
f2e7c02c | 46 | Patch5: %{name}-libintl_by_gcj.patch |
49b55f60 | 47 | URL: http://www.gnu.org/software/gettext/ |
132f5218 | 48 | BuildRequires: autoconf >= 2.59 |
dbc6495c JB |
49 | # after dropping -ac.patch: |
50 | #BuildRequires: autoconf >= 2.60 | |
d6e080d4 | 51 | BuildRequires: automake >= 1:1.10 |
7e71e93c | 52 | %{?with_gcj:BuildRequires: gcj >= 3.0} |
7e71e93c | 53 | %{?with_javac:BuildRequires: jdk >= 1.1} |
8037c279 | 54 | BuildRequires: libgomp-devel |
7e71e93c | 55 | %{?with_asprintf:BuildRequires: libstdc++-devel} |
225257d7 | 56 | BuildRequires: libtool >= 1:1.4.2-9 |
e037fe85 | 57 | %{?with_dotnet:BuildRequires: mono-csharp} |
514889a3 | 58 | BuildRequires: texinfo |
7e71e93c | 59 | %{?with_xemacs:BuildRequires: xemacs} |
a0d165a9 | 60 | Obsoletes: gettext-base |
e0475093 | 61 | Conflicts: intltool < 0.28 |
75ccf444 | 62 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
e69a4abf | 63 | |
64 | %description | |
0d7e90e9 | 65 | The GNU gettext package provides a set of tools and documentation for |
66 | producing multi-lingual messages in programs. Tools include a set of | |
67 | conventions about how programs should be written to support message | |
68 | catalogs, a directory and file naming organization for the message | |
69 | catalogs, a runtime library which supports the retrieval of translated | |
70 | messages, and stand-alone programs for handling the translatable and | |
71 | the already translated strings. Gettext provides an easy to use | |
72 | library and tools for creating, using, and modifying natural language | |
73 | catalogs and is a powerful and simple method for internationalizing | |
74 | programs. | |
e69a4abf | 75 | |
a64a3574 JR |
76 | %description -l de.UTF-8 |
77 | Die gettext-Library enthält eine einfach anzuwendende Library und | |
78 | Tools zum Erstellen, Verwenden und Ändern von | |
79 | natürlichsprachigen-Kataloge. Es ist ein einfaches und | |
80 | leistungsfähiges Verfahren zum Lokalisieren von Programmen. | |
81 | ||
82 | %description -l es.UTF-8 | |
83 | La biblioteca gettext nos ofrece una biblioteca fácil de usar y | |
84 | herramientas para creación, uso y modificación de catálogos de | |
85 | lenguaje natural. Es un potente y sencillo método de | |
86 | internacionalización de programas. | |
87 | ||
88 | %description -l fr.UTF-8 | |
89 | La librarie gettext fournit des outils et une librairie simple à | |
90 | utiliser pour manipuler, créer, et modifier des catalogues de langage | |
91 | naturel. C'est une méthode simple et puissante pour internationnaliser | |
9e88acc1 | 92 | les programmes. |
e69a4abf | 93 | |
a64a3574 | 94 | %description -l ja.UTF-8 |
0d7e90e9 | 95 | GNU gettext |
a64a3574 JR |
96 | パッケージはプログラム中でマルチリンガルメッセージを生成する |
97 | ためのツールと文書を供給する。ツールはメッセージカタログをサポートするために | |
98 | プログラムがどのように書かれるべきかの申し合わせと、メッセージカタログのための | |
99 | ディレクトリとファイル名の組織化と、翻訳されたメッセージの埋め合わせを | |
100 | サポートするためのランタイムライブラリと、翻訳可能でかつすでに翻訳された文字列 | |
101 | を取り扱う独立したプログラムを含んでいる。gettext | |
102 | は簡単に使えるライブラリ | |
103 | と自然言語のカタログを生成、使用、修正するツールと、国際化プログラム | |
104 | のための強力かつシンプルな方法を供給する。 | |
105 | ||
106 | %description -l pl.UTF-8 | |
107 | Pakiet gettext dostarcza narzędzi do tworzenia, używania i modyfikacji | |
108 | katalogów języków narodowych. To jest prosta i wydajna metoda | |
109 | lokalizacji (internacjonalizacji) programów. | |
110 | ||
111 | %description -l pt_BR.UTF-8 | |
112 | A biblioteca gettext oferece uma biblioteca fácil de usar e | |
113 | ferramentas para criação, uso e modificação de catálogos de linguagem | |
114 | natural. Ele é um poderoso e simples método de internacionalização de | |
8d022b73 | 115 | programas. |
116 | ||
a64a3574 JR |
117 | %description -l ru.UTF-8 |
118 | Пакет gettext содержит библиотеку и простые в использовании | |
119 | инструменты для создания, использования и модификации каталогов | |
120 | национальных языков. Это простой и мощный метод для | |
121 | интернационализации программ. | |
0d7e90e9 | 122 | |
a64a3574 JR |
123 | %description -l tr.UTF-8 |
124 | gettext, yerel dil desteğinde kullanılan katalogları değiştirebilmek | |
125 | için, kolayca kullanılabilen kitaplık ve araçları sağlar. Bu, | |
126 | programları uluslararasılaştırmak için sıkça başvurulan, kuvvetli bir | |
127 | yöntemdir. | |
e69a4abf | 128 | |
a64a3574 JR |
129 | %description -l uk.UTF-8 |
130 | Пакет gettext містить бібліотеку та прості у використанні інструменти | |
131 | для створення, використання та модифікації каталогів національних мов. | |
132 | Це простий та потужний метод для інтернаціоналізації програм. | |
0d7e90e9 | 133 | |
22b12be3 JR |
134 | %package devel |
135 | Summary: Utilties for program national language support | |
efd5fd2d ER |
136 | Summary(de.UTF-8): Utilities zum Programmieren von nationaler Sprachunterstützung |
137 | Summary(fr.UTF-8): Utilitaires pour le support de la langue nationnalepar les programmes | |
138 | Summary(pl.UTF-8): Narzędzia dla programów ze wsparciem dla języków narodowych | |
139 | Summary(tr.UTF-8): Desteği için kitaplık ve araçlar | |
5610ebc0 | 140 | License: GPL |
22b12be3 | 141 | Group: Development/Tools |
5610ebc0 | 142 | Requires(post,postun): /sbin/ldconfig |
a8d3b420 | 143 | Requires: %{name} = %{version}-%{release} |
de01f242 | 144 | Requires: iconv |
132f5218 | 145 | Conflicts: autoconf < 2.52 |
22b12be3 JR |
146 | |
147 | %description devel | |
9e88acc1 | 148 | The gettext library provides an easy to use library and tools for |
149 | creating, using, and modifying natural language catalogs. It is a | |
150 | powerfull and simple method for internationalizing programs. | |
22b12be3 | 151 | |
a64a3574 JR |
152 | %description devel -l pl.UTF-8 |
153 | Pakiet gettext dostarcza narzędzi do tworzenia, używania i modyfikacji | |
154 | katalogów języków narodowych. To jest prosta i wydajna metoda | |
155 | lokalizacji (internacjonalizacji) programów. | |
514889a3 | 156 | |
b438f025 JB |
157 | %package static |
158 | Summary: Static gettext utility libraries | |
efd5fd2d | 159 | Summary(pl.UTF-8): Statyczne biblioteki narzędziowe gettext |
b438f025 JB |
160 | License: GPL |
161 | Group: Development/Libraries | |
a8d3b420 | 162 | Requires: %{name}-devel = %{version}-%{release} |
b438f025 JB |
163 | |
164 | %description static | |
165 | This package contains static versions of gettext utility libraries | |
166 | (libgettextlib, libgettextsrc and libgettextpo). | |
167 | ||
a64a3574 JR |
168 | %description static -l pl.UTF-8 |
169 | Ten pakiet zawiera statyczne wersje bibliotek narzędziowych gettext | |
b438f025 JB |
170 | (libgettextlib, libgettextsrc i libgettextpo). |
171 | ||
172 | %package -n libasprintf | |
173 | Summary: GNU libasprintf - automatic formatted output to strings in C++ | |
efd5fd2d | 174 | Summary(pl.UTF-8): GNU libasprintf - automatyczne formatowanie wyjścia do łańcuchów w C++ |
b438f025 JB |
175 | License: LGPL |
176 | Group: Libraries | |
177 | ||
178 | %description -n libasprintf | |
179 | This package makes the C formatted output routines (`fprintf' et al.) | |
180 | usable in C++ programs, for use with the `<string>' strings and the | |
181 | `<iostream>' streams. | |
182 | ||
a64a3574 JR |
183 | %description -n libasprintf -l pl.UTF-8 |
184 | Ten pakiet czyni funkcje C formatujące wyjście (fprintf i inne) | |
185 | używalnymi w programach w C++, z łańcuchami <string> i strumieniami | |
b438f025 JB |
186 | <iostream>. |
187 | ||
188 | %package -n libasprintf-devel | |
189 | Summary: Header file and documentation for libasprintf | |
efd5fd2d | 190 | Summary(pl.UTF-8): Plik nagłówkowy i dokumentacja dla libasprintf |
b438f025 JB |
191 | License: LGPL |
192 | Group: Development/Libraries | |
a8d3b420 | 193 | Requires: libasprintf = %{version}-%{release} |
b438f025 JB |
194 | |
195 | %description -n libasprintf-devel | |
196 | Header file and documentation for libasprintf. | |
197 | ||
a64a3574 JR |
198 | %description -n libasprintf-devel -l pl.UTF-8 |
199 | Plik nagłówkowy i dokumentacja dla libasprintf. | |
b438f025 JB |
200 | |
201 | %package -n libasprintf-static | |
202 | Summary: Static libasprintf library | |
efd5fd2d | 203 | Summary(pl.UTF-8): Statyczna biblioteka libasprintf |
b438f025 JB |
204 | License: LGPL |
205 | Group: Development/Libraries | |
a8d3b420 | 206 | Requires: libasprintf-devel = %{version}-%{release} |
b438f025 JB |
207 | |
208 | %description -n libasprintf-static | |
209 | Static libasprintf library. | |
210 | ||
a64a3574 | 211 | %description -n libasprintf-static -l pl.UTF-8 |
b438f025 JB |
212 | Statyczna biblioteka libasprintf. |
213 | ||
5610ebc0 JB |
214 | %package java |
215 | Summary: Runtime classes for Java programs internationalization | |
efd5fd2d | 216 | Summary(pl.UTF-8): Klasy do uruchamiania umiędzynarodowionych programów w Javie |
5610ebc0 JB |
217 | License: LGPL |
218 | Group: Development/Languages/Java | |
a8d3b420 | 219 | Requires: %{name} = %{version}-%{release} |
5610ebc0 JB |
220 | |
221 | %description java | |
222 | Runtime classes for Java programs internationalization. | |
223 | ||
a64a3574 JR |
224 | %description java -l pl.UTF-8 |
225 | Klasy do uruchamiania umiędzynarodowionych programów w Javie. | |
5610ebc0 | 226 | |
477b7b4d | 227 | %package java-devel |
5610ebc0 | 228 | Summary: Development classes for Java programs internationalization |
efd5fd2d | 229 | Summary(pl.UTF-8): Klasy do umiędzynarodowiania programów w Javie dla programistów |
5610ebc0 | 230 | License: GPL |
477b7b4d | 231 | Group: Development/Tools |
a8d3b420 | 232 | Requires: %{name}-devel = %{version}-%{release} |
477b7b4d MM |
233 | |
234 | %description java-devel | |
5610ebc0 | 235 | Development classes for Java programs internationalization. |
477b7b4d | 236 | |
a64a3574 JR |
237 | %description java-devel -l pl.UTF-8 |
238 | Klasy do umiędzynarodowiania programów w Javie dla programistów. | |
477b7b4d | 239 | |
e2f3a7d9 AM |
240 | %package -n xemacs-po-mode-pkg |
241 | Summary: Xemacs PO-mode | |
efd5fd2d ER |
242 | Summary(es.UTF-8): Facilita la edición de archivos PO (internacionalización) con emacs |
243 | Summary(pl.UTF-8): Tryb PO dla Xemacsa | |
244 | Summary(pt_BR.UTF-8): Facilita a edição de arquivos PO (internacionalização) com o emacs | |
5610ebc0 | 245 | License: GPL |
e2f3a7d9 | 246 | Group: Applications/Editors/Emacs |
e2f3a7d9 AM |
247 | Requires: xemacs |
248 | ||
249 | %description -n xemacs-po-mode-pkg | |
250 | Emacs PO-mode. | |
251 | ||
a64a3574 JR |
252 | %description -n xemacs-po-mode-pkg -l es.UTF-8 |
253 | Este paquete suministra las herramientas para ayudar en la edición de | |
8d022b73 | 254 | archivos PO, como documentado en el manual del usuario del GNU |
a64a3574 JR |
255 | gettext. Mira este manual para la documentación de uso, que no se |
256 | incluye aquí. | |
8d022b73 | 257 | |
a64a3574 | 258 | %description -n xemacs-po-mode-pkg -l pl.UTF-8 |
e2f3a7d9 AM |
259 | Tryb edycji PO dla emacsa. |
260 | ||
a64a3574 JR |
261 | %description -n xemacs-po-mode-pkg -l pt_BR.UTF-8 |
262 | Este pacote provê as ferramentas para ajudar na edição de arquivos PO, | |
263 | como documentado no manual do usuário do GNU gettext. Veja este manual | |
264 | para a documentação de uso, a qual não é incluída aqui. | |
8d022b73 | 265 | |
477b7b4d MM |
266 | %package autopoint |
267 | Summary: gettextize replacement | |
efd5fd2d | 268 | Summary(pl.UTF-8): Zamiennik gettextize |
5610ebc0 | 269 | License: GPL |
477b7b4d MM |
270 | Group: Development/Tools |
271 | Requires: %{name}-devel >= 0.10.35 | |
272 | Requires: cvs | |
273 | ||
274 | %description autopoint | |
275 | The `autopoint' program copies standard gettext infrastructure files | |
f408a996 | 276 | into a source package. It extracts from a macro call of the form |
477b7b4d MM |
277 | `AM_GNU_GETTEXT_VERSION(VERSION)', found in the package's |
278 | `configure.in' or `configure.ac' file, the gettext version used by the | |
279 | package, and copies the infrastructure files belonging to this version | |
280 | into the package. | |
281 | ||
a64a3574 | 282 | %description autopoint -l pl.UTF-8 |
477b7b4d | 283 | Program autopoint kopiuje standardowe pliki infrastruktury gettexta do |
a64a3574 | 284 | pakietu źródłowego. Wyciąga użytą wersję gettexta z wywołania makra w |
477b7b4d | 285 | postaci AM_GNU_GETTEXT_VERSION(VERSION) w pliku configure.in lub |
a64a3574 | 286 | configure.ac i kopiuje do pakietu pliki infrastruktury należące do tej |
477b7b4d MM |
287 | wersji. |
288 | ||
fac9633f | 289 | %package -n dotnet-gettext |
290 | Summary: GNU gettext for C# | |
efd5fd2d | 291 | Summary(pl.UTF-8): GNU gettext dla C# |
fac9633f | 292 | Group: Development/Tools |
293 | ||
294 | %description -n dotnet-gettext | |
295 | GNU gettext for C#. | |
296 | ||
a64a3574 | 297 | %description -n dotnet-gettext -l pl.UTF-8 |
fac9633f | 298 | GNU gettext dla C#. |
299 | ||
e69a4abf | 300 | %prep |
301 | %setup -q | |
faea2b6e AM |
302 | # FIXME |
303 | #%patch0 -p1 | |
c18823b2 | 304 | %patch1 -p1 |
faea2b6e AM |
305 | # FIXME |
306 | #%patch2 -p1 | |
23df42a0 JB |
307 | # patch not finished yet |
308 | #%patch3 -p1 | |
4ed61643 | 309 | %patch4 -p1 |
f2e7c02c | 310 | %patch5 -p1 |
e69a4abf | 311 | |
312 | %build | |
0b9000b2 | 313 | %{__libtoolize} |
795b76be | 314 | cd autoconf-lib-link |
754f58ec | 315 | %{__aclocal} -I m4 -I ../m4 |
795b76be JB |
316 | %{__autoconf} |
317 | %{__automake} | |
318 | cd ../gettext-runtime | |
132f5218 | 319 | %{__aclocal} -I m4 -I gnulib-m4 -I ../autoconf-lib-link/m4 -I ../m4 |
1f148f93 | 320 | %{__autoconf} |
503b3e73 | 321 | %{__autoheader} |
1f148f93 | 322 | %{__automake} |
503b3e73 | 323 | cd libasprintf |
754f58ec | 324 | %{__aclocal} -I ../m4 -I ../../m4 |
503b3e73 JB |
325 | %{__autoconf} |
326 | %{__autoheader} | |
327 | %{__automake} | |
328 | cd ../../gettext-tools | |
132f5218 | 329 | %{__aclocal} -I m4 -I gnulib-m4 -I libgettextpo/gnulib-m4 -I ../autoconf-lib-link/m4 -I ../gettext-runtime/m4 -I ../m4 |
0b9000b2 | 330 | %{__autoconf} |
503b3e73 | 331 | %{__autoheader} |
0b9000b2 | 332 | %{__automake} |
333 | cd .. | |
925984fb JB |
334 | %{__aclocal} |
335 | %{__autoconf} | |
336 | %{__automake} | |
6d2d24f7 | 337 | %configure \ |
7e71e93c | 338 | %{?with_xemacs:--with-lispdir=%{_datadir}/xemacs-packages/lisp/po-mode} \ |
514889a3 | 339 | --enable-nls \ |
fac9633f | 340 | %{!?with_dotnet:--disable-csharp} \ |
341 | %{?with_dotnet:--enable-csharp=mono} \ | |
7ccdd812 | 342 | --without-included-gettext |
5034552a AM |
343 | %{__make} \ |
344 | GMSGFMT=`pwd`/gettext-tools/src/msgfmt | |
e69a4abf | 345 | |
225257d7 | 346 | # msgfmt has been built, so now we can update pl.gmos |
51f9c57f JB |
347 | %{__make} pl.gmo -C gettext-runtime/po \ |
348 | GMSGFMT=`pwd`/gettext-tools/src/msgfmt | |
225257d7 JB |
349 | %{__make} pl.gmo -C gettext-tools/po \ |
350 | GMSGFMT=`pwd`/gettext-tools/src/msgfmt | |
351 | ||
7e71e93c JB |
352 | %if %{with xemacs} |
353 | cd gettext-tools/misc | |
354 | EMACS=%{_bindir}/xemacs ./elisp-comp ./po-mode.el | |
355 | %endif | |
e2f3a7d9 | 356 | |
e69a4abf | 357 | %install |
358 | rm -rf $RPM_BUILD_ROOT | |
f5c43e32 AF |
359 | install -d $RPM_BUILD_ROOT/bin |
360 | ||
7e71e93c JB |
361 | %{__make} install \ |
362 | DESTDIR=$RPM_BUILD_ROOT | |
85bb6f82 | 363 | |
477b7b4d MM |
364 | mv -f $RPM_BUILD_ROOT%{_bindir}/{,n}gettext $RPM_BUILD_ROOT/bin |
365 | ||
5610ebc0 | 366 | # these static libs are removed in install-exec-clean |
132f5218 | 367 | install gettext-tools/gnulib-lib/.libs/libgettextlib.a \ |
5610ebc0 | 368 | gettext-tools/src/.libs/libgettextsrc.a $RPM_BUILD_ROOT%{_libdir} |
4252c7f8 | 369 | |
5da74ad2 JB |
370 | rm -r $RPM_BUILD_ROOT%{_docdir}/gettext |
371 | ||
0b9000b2 | 372 | %find_lang %{name}-runtime |
373 | %find_lang %{name}-tools | |
a04d6a92 | 374 | |
3f6e57e9 JB |
375 | %clean |
376 | rm -rf $RPM_BUILD_ROOT | |
377 | ||
22b12be3 | 378 | %post devel |
5610ebc0 | 379 | /sbin/ldconfig |
8317dfb8 | 380 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 |
a04d6a92 | 381 | |
0d93a603 | 382 | %postun devel |
5610ebc0 | 383 | /sbin/ldconfig |
8317dfb8 | 384 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 |
a04d6a92 | 385 | |
b438f025 JB |
386 | %post -n libasprintf -p /sbin/ldconfig |
387 | %postun -n libasprintf -p /sbin/ldconfig | |
388 | ||
389 | %post -n libasprintf-devel | |
390 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 | |
391 | ||
392 | %postun -n libasprintf-devel | |
393 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 | |
394 | ||
0b9000b2 | 395 | %files -f %{name}-runtime.lang |
fc2477e5 | 396 | %defattr(644,root,root,755) |
22b12be3 | 397 | %attr(755,root,root) /bin/* |
7e71e93c JB |
398 | %attr(755,root,root) %{_bindir}/envsubst |
399 | %{_mandir}/man1/envsubst.1* | |
477b7b4d MM |
400 | %{_mandir}/man1/gettext.1* |
401 | %{_mandir}/man1/ngettext.1* | |
fac9633f | 402 | %dir %{_libdir}/gettext |
5610ebc0 | 403 | %dir %{_datadir}/gettext |
22b12be3 | 404 | |
0b9000b2 | 405 | %files devel -f %{name}-tools.lang |
22b12be3 | 406 | %defattr(644,root,root,755) |
5610ebc0 | 407 | %doc AUTHORS ChangeLog NEWS README THANKS |
8731e3bb | 408 | %attr(755,root,root) %{_bindir}/* |
5610ebc0 | 409 | %exclude %{_bindir}/autopoint |
7e71e93c | 410 | %exclude %{_bindir}/envsubst |
5610ebc0 JB |
411 | %attr(755,root,root) %{_libdir}/libgettext*.so |
412 | %{_libdir}/libgettext*.la | |
b438f025 | 413 | # libgettextpo is for other programs, not used by gettext tools themselves |
5610ebc0 | 414 | %attr(755,root,root) %{_libdir}/libgettextpo.so.*.*.* |
b438f025 | 415 | %attr(755,root,root) %{_libdir}/preloadable_libintl.so |
f3086ae6 JB |
416 | %attr(755,root,root) %{_libdir}/gettext/hostname |
417 | %attr(755,root,root) %{_libdir}/gettext/project-id | |
418 | %attr(755,root,root) %{_libdir}/gettext/urlget | |
419 | %attr(755,root,root) %{_libdir}/gettext/user-email | |
b438f025 | 420 | %{_includedir}/gettext-po.h |
4139da97 | 421 | %{_aclocaldir}/* |
b438f025 JB |
422 | %{_infodir}/gettext*.info* |
423 | %{_mandir}/man1/gettextize.1* | |
424 | %{_mandir}/man1/msg*.1* | |
425 | %{_mandir}/man1/xgettext.1* | |
426 | %{_mandir}/man3/* | |
427 | ||
477b7b4d MM |
428 | %{_datadir}/gettext/ABOUT-NLS |
429 | %attr(755,root,root) %{_datadir}/gettext/config.rpath | |
430 | %{_datadir}/gettext/gettext.h | |
431 | %dir %{_datadir}/gettext/intl | |
5610ebc0 | 432 | %{_datadir}/gettext/intl/[!c]* |
477b7b4d MM |
433 | %attr(755,root,root) %{_datadir}/gettext/intl/config.charset |
434 | %{_datadir}/gettext/msgunfmt.tcl | |
477b7b4d MM |
435 | %{_datadir}/gettext/po |
436 | %dir %{_datadir}/gettext/projects | |
437 | %{_datadir}/gettext/projects/index | |
438 | %attr(755,root,root) %{_datadir}/gettext/projects/team-address | |
439 | %dir %{_datadir}/gettext/projects/GNOME | |
440 | %{_datadir}/gettext/projects/GNOME/teams.* | |
441 | %attr(755,root,root) %{_datadir}/gettext/projects/GNOME/team-address | |
442 | %attr(755,root,root) %{_datadir}/gettext/projects/GNOME/trigger | |
443 | %dir %{_datadir}/gettext/projects/KDE | |
444 | %{_datadir}/gettext/projects/KDE/teams.* | |
445 | %attr(755,root,root) %{_datadir}/gettext/projects/KDE/team-address | |
446 | %attr(755,root,root) %{_datadir}/gettext/projects/KDE/trigger | |
447 | %dir %{_datadir}/gettext/projects/TP | |
448 | %{_datadir}/gettext/projects/TP/teams.* | |
449 | %attr(755,root,root) %{_datadir}/gettext/projects/TP/team-address | |
450 | %attr(755,root,root) %{_datadir}/gettext/projects/TP/trigger | |
b438f025 JB |
451 | |
452 | %files static | |
453 | %defattr(644,root,root,755) | |
454 | %{_libdir}/libgettext*.a | |
455 | ||
7e71e93c | 456 | %if %{with asprintf} |
b438f025 JB |
457 | %files -n libasprintf |
458 | %defattr(644,root,root,755) | |
459 | %doc gettext-runtime/libasprintf/{AUTHORS,ChangeLog,README} | |
460 | %attr(755,root,root) %{_libdir}/libasprintf.so.*.*.* | |
461 | ||
462 | %files -n libasprintf-devel | |
463 | %defattr(644,root,root,755) | |
464 | %attr(755,root,root) %{_libdir}/libasprintf.so | |
465 | %{_libdir}/libasprintf.la | |
466 | %{_includedir}/autosprintf.h | |
467 | %{_infodir}/autosprintf.info* | |
468 | ||
469 | %files -n libasprintf-static | |
470 | %defattr(644,root,root,755) | |
471 | %{_libdir}/libasprintf.a | |
0fae75f7 | 472 | %endif |
e2f3a7d9 | 473 | |
5ad5427b | 474 | %if %{build_java} |
5610ebc0 JB |
475 | %files java |
476 | %defattr(644,root,root,755) | |
477 | %{_datadir}/gettext/libintl.jar | |
478 | ||
477b7b4d MM |
479 | %files java-devel |
480 | %defattr(644,root,root,755) | |
5610ebc0 | 481 | %doc gettext-runtime/intl-java/javadoc2 |
f3086ae6 JB |
482 | %attr(755,root,root) %{_libdir}/gettext/gnu.gettext.DumpResource |
483 | %attr(755,root,root) %{_libdir}/gettext/gnu.gettext.GetURL | |
477b7b4d MM |
484 | %endif |
485 | ||
7e71e93c | 486 | %if %{with xemacs} |
477b7b4d MM |
487 | %files -n xemacs-po-mode-pkg |
488 | %defattr(644,root,root,755) | |
489 | %dir %{_datadir}/xemacs-packages/lisp/po-mode | |
490 | %{_datadir}/xemacs-packages/lisp/po-mode/*.elc | |
491 | %endif | |
492 | ||
493 | %files autopoint | |
494 | %defattr(644,root,root,755) | |
495 | %attr(755,root,root) %{_bindir}/autopoint | |
496 | %{_datadir}/gettext/archive.tar.gz | |
7a725ce9 | 497 | %{_mandir}/man1/autopoint.1* |
fac9633f | 498 | |
18d689cd | 499 | %if %{with dotnet} |
fac9633f | 500 | %files -n dotnet-gettext |
501 | %defattr(644,root,root,755) | |
502 | %{_libdir}/GNU.Gettext.dll | |
503 | %{_libdir}/gettext/msgfmt.net.exe | |
504 | %{_libdir}/gettext/msgunfmt.net.exe | |
18d689cd | 505 | %endif |