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