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