]>
Commit | Line | Data |
---|---|---|
49d5fc91 JB |
1 | # |
2 | # Conditional build: | |
49d5fc91 JB |
3 | %bcond_without gnome # GNOME panel applet |
4 | %bcond_without kde # KDE panel applet | |
3caa2e4e | 5 | %bcond_with qt3 # Qt 3 support / immodule |
a224586e | 6 | %bcond_without qt4 # Qt 4 support / immodule |
d5e30092 JB |
7 | %bcond_without anthy # Anthy IM and dictionary support |
8 | %bcond_without canna # Canna IM and dictionary support | |
9 | %bcond_without eb # EB text search support | |
9b05171f JB |
10 | %bcond_without m17n # m17n IM support |
11 | %bcond_without mana # mana IM support | |
b2aa69ad JB |
12 | %bcond_with scim # scim support [broken acc. to configure] |
13 | %bcond_without wnn # Wnn IM support | |
49d5fc91 | 14 | # |
e899826e | 15 | Summary: Multilingual input method library |
57784c95 | 16 | Summary(pl.UTF-8): Biblioteka obsługująca wejście w wielu językach |
e899826e | 17 | Name: uim |
3caa2e4e | 18 | Version: 1.8.6 |
2656e5a1 | 19 | Release: 2 |
e899826e | 20 | License: GPL or BSD |
21 | Group: Libraries | |
49d5fc91 | 22 | #Source0Download: http://code.google.com/p/uim/downloads/list |
15d800b6 | 23 | Source0: http://uim.googlecode.com/files/%{name}-%{version}.tar.bz2 |
3caa2e4e | 24 | # Source0-md5: ecea4c597bab1fd4ba98ea84edcece59 |
f2675bdf JR |
25 | Source1: %{name}.xinputd |
26 | Source2: %{name}-init.el | |
26f033cf | 27 | Patch0: %{name}-emacs-utf8.patch |
e631d9b0 | 28 | URL: http://uim.freedesktop.org/ |
9b05171f | 29 | %{?with_canna:BuildRequires: Canna-devel} |
a224586e JB |
30 | %{?with_wnn:BuildRequires: FreeWnn-devel} |
31 | %{?with_qt4:BuildRequires: Qt3Support-devel >= 4} | |
9b05171f | 32 | %{?with_anthy:BuildRequires: anthy-devel >= 9100h-2} |
d5e30092 JB |
33 | #BuildRequires: autoconf >= 2.60b |
34 | #BuildRequires: automake >= 1:1.10 | |
49d5fc91 | 35 | %{?with_kde:BuildRequires: automoc4} |
a224586e JB |
36 | %{?with_kde:BuildRequires: cmake} |
37 | BuildRequires: curl-devel >= 7.16.4 | |
49d5fc91 | 38 | %{?with_eb:BuildRequires: eb-devel} |
a224586e JB |
39 | BuildRequires: expat-devel >= 1.95 |
40 | BuildRequires: gettext-devel >= 0.17 | |
41 | %{?with_gnome:BuildRequires: gnome-panel-devel >= 3} | |
42 | BuildRequires: gtk+2-devel >= 2:2.4.0 | |
43 | BuildRequires: gtk+3-devel >= 3.0 | |
44 | BuildRequires: intltool >= 0.36.3 | |
49d5fc91 | 45 | %{?with_kde:BuildRequires: kde4-kdelibs-devel} |
15d800b6 | 46 | BuildRequires: libedit-devel |
a224586e JB |
47 | BuildRequires: libffi-devel >= 3.0.0 |
48 | BuildRequires: libgcroots-devel >= 0.2.3 | |
49d5fc91 | 49 | %{?with_gnome:BuildRequires: libgnome-devel >= 2.4.0} |
a224586e JB |
50 | BuildRequires: libnotify-devel >= 0.4 |
51 | BuildRequires: libstdc++-devel | |
d5e30092 | 52 | #BuildRequires: libtool >= 2:1.5 |
a224586e JB |
53 | %{?with_m17n:BuildRequires: m17n-lib-devel >= 1.3.1} |
54 | BuildRequires: ncurses-devel | |
15d800b6 | 55 | BuildRequires: openssl-devel |
a224586e JB |
56 | BuildRequires: pkgconfig |
57 | BuildRequires: pkgconfig(libffi) >= 3.0.0 | |
58 | %{?with_qt3:BuildRequires: qt-devel >= 3.2.0} | |
59 | %{?with_qt4:BuildRequires: qt4-qmake >= 4} | |
60 | %{?with_scim:BuildRequires: scim-devel >= 1.3.0} | |
61 | BuildRequires: sqlite3-devel >= 3.0.0 | |
cdf5177b | 62 | BuildRequires: xorg-lib-libX11-devel |
cdf5177b JR |
63 | BuildRequires: xorg-lib-libXext-devel |
64 | BuildRequires: xorg-lib-libXft-devel | |
a224586e | 65 | Requires: libgcroots >= 0.2.3 |
d5e30092 JB |
66 | # for libuim-curl |
67 | Requires: curl-libs >= 7.16.4 | |
e899826e | 68 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
69 | ||
70 | %description | |
f2675bdf JR |
71 | Uim is a multilingual input method library. Uim aims to provide secure |
72 | and useful input methods for all languages. Currently, it can input to | |
9b05171f | 73 | applications which support GTK+'s immodule, Qt's immodule and XIM. |
f2675bdf JR |
74 | |
75 | This package provides the input method library, the XIM bridge and | |
76 | most of the input methods. | |
77 | ||
78 | For the Japanese input methods you need to install | |
79 | - uim-anthy for Anthy | |
80 | - uim-canna for Canna | |
81 | - uim-skk for SKK. | |
e899826e | 82 | |
acaba169 JR |
83 | %description -l pl.UTF-8 |
84 | Uim jest biblioteką obsługującą wejście w wielu językach. Celem | |
9b05171f JB |
85 | projektu jest udostępnienie bezpiecznych i użytecznych metod |
86 | wprowadzania dla wszystkich języków. Obecnie potrafi obsłużyć | |
87 | aplikacje obsługujące moduły IM z GTK+, moduły IM z Qt oraz XIM. | |
88 | ||
89 | Ten pakiet udostępnia bibliotekę metody wprowadzania, mostek XIM oraz | |
90 | większość metod wprowadzania. | |
91 | ||
92 | Do wprowadzania tekstu japońskiego trzeba zainstalować: | |
93 | - uim-anthy dla metody Anthy | |
94 | - uim-canna dla metody Canna | |
95 | - uim-skk dla SKK. | |
e899826e | 96 | |
97 | %package devel | |
98 | Summary: Header files for uim libraryi | |
57784c95 | 99 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki uim |
e899826e | 100 | Group: Development/Libraries |
e231434b | 101 | Requires: %{name} = %{version}-%{release} |
e899826e | 102 | |
103 | %description devel | |
104 | Header files for uim library. | |
105 | ||
acaba169 JR |
106 | %description devel -l pl.UTF-8 |
107 | Pliki nagłówkowe biblioteki uim. | |
e899826e | 108 | |
f2675bdf | 109 | %package gtk2 |
9b05171f JB |
110 | Summary: GTK+ 2 support for Uim |
111 | Summary(pl.UTF-8): Obsługa GTK+ 2 dla biblioteki Uim | |
f2675bdf | 112 | Group: X11/Applications |
ce8c7195 | 113 | Requires: %{name} = %{version}-%{release} |
f2675bdf | 114 | # for update-gtk-immodules |
9b05171f | 115 | Requires(post,postun): gtk+2 >= 2:2.9.1-2 |
a224586e | 116 | Requires: gtk+2 >= 2:2.4.0 |
f2675bdf JR |
117 | |
118 | %description gtk2 | |
119 | Uim is a multilingual input method library. Uim aims to provide secure | |
120 | and useful input methods for all languages. | |
121 | ||
9b05171f JB |
122 | This package provides the GTK+ 2 IM module and helper program. |
123 | ||
124 | %description gtk2 -l pl.UTF-8 | |
125 | Uim jest biblioteką obsługującą wejście w wielu językach. Celem | |
126 | projektu jest udostępnienie bezpiecznych i użytecznych metod | |
127 | wprowadzania dla wszystkich języków. | |
128 | ||
129 | Ten pakiet zawiera moduł IM GTK+ 2 oraz program pomocniczy. | |
f2675bdf JR |
130 | |
131 | %package gtk3 | |
9b05171f JB |
132 | Summary: GTK+ 3 support for Uim |
133 | Summary(pl.UTF-8): Obsługa GTK+ 3 dla biblioteki Uim | |
f2675bdf | 134 | Group: X11/Applications |
ce8c7195 | 135 | Requires: %{name} = %{version}-%{release} |
f2675bdf | 136 | # for update-gtk-immodules |
9b05171f | 137 | Requires(post,postun): gtk+3 |
f2675bdf JR |
138 | |
139 | %description gtk3 | |
140 | Uim is a multilingual input method library. Uim aims to provide secure | |
141 | and useful input methods for all languages. | |
142 | ||
9b05171f JB |
143 | This package provides the GTK+ 3 IM module and helper program. |
144 | ||
145 | %description gtk3 -l pl.UTF-8 | |
146 | Uim jest biblioteką obsługującą wejście w wielu językach. Celem | |
147 | projektu jest udostępnienie bezpiecznych i użytecznych metod | |
148 | wprowadzania dla wszystkich języków. | |
149 | ||
150 | Ten pakiet zawiera moduł IM GTK+ 3 oraz program pomocniczy. | |
f2675bdf JR |
151 | |
152 | %package gnome | |
9b05171f JB |
153 | Summary: GNOME 3 Applet for Uim |
154 | Summary(pl.UTF-8): Aplet GNOME 3 dla biblioteki Uim | |
f2675bdf | 155 | Group: X11/Applications |
ce8c7195 | 156 | Requires: %{name} = %{version}-%{release} |
9b05171f | 157 | Requires: %{name}-gtk3 = %{version}-%{release} |
f2675bdf JR |
158 | |
159 | %description gnome | |
160 | Uim is a multilingual input method library. Uim aims to provide secure | |
161 | and useful input methods for all languages. | |
162 | ||
9b05171f | 163 | This package provides the GNOME 3 panel applet. |
f2675bdf | 164 | |
9b05171f JB |
165 | %description gnome -l pl.UTF-8 |
166 | Uim jest biblioteką obsługującą wejście w wielu językach. Celem | |
167 | projektu jest udostępnienie bezpiecznych i użytecznych metod | |
168 | wprowadzania dla wszystkich języków. | |
169 | ||
170 | Ten pakiet zawiera aplet panelu GNOME 3. | |
171 | ||
172 | %package qt3 | |
173 | Summary: Qt 3 support for Uim | |
174 | Summary(pl.UTF-8): Obsługa Qt 3 dla biblioteki Uim | |
f2675bdf | 175 | Group: X11/Applications |
9b05171f JB |
176 | Requires: %{name} = %{version}-%{release} |
177 | Provides: %{name}-qt-common = %{version}-%{release} | |
f2675bdf | 178 | |
9b05171f | 179 | %description qt3 |
f2675bdf JR |
180 | Uim is a multilingual input method library. Uim aims to provide secure |
181 | and useful input methods for all languages. | |
182 | ||
9b05171f | 183 | This package provides the Qt 3 IM module and helper programs. |
f2675bdf | 184 | |
9b05171f JB |
185 | %description qt3 -l pl.UTF-8 |
186 | Uim jest biblioteką obsługującą wejście w wielu językach. Celem | |
187 | projektu jest udostępnienie bezpiecznych i użytecznych metod | |
188 | wprowadzania dla wszystkich języków. | |
189 | ||
190 | Ten pakiet zawiera moduł IM Qt 3 oraz programy pomocnicze. | |
191 | ||
192 | %package qt | |
193 | Summary: Qt 4 support for Uim | |
194 | Summary(pl.UTF-8): Obsługa Qt 4 dla biblioteki Uim | |
f2675bdf | 195 | Group: X11/Applications |
9b05171f | 196 | Requires: %{name} = %{version}-%{release} |
a224586e | 197 | Requires: qt >= 6:3.2.0 |
f2675bdf | 198 | |
9b05171f | 199 | %description qt |
f2675bdf JR |
200 | Uim is a multilingual input method library. Uim aims to provide secure |
201 | and useful input methods for all languages. | |
202 | ||
9b05171f JB |
203 | This package provides the Qt 4 IM module and helper programs. |
204 | ||
205 | %description qt -l pl.UTF-8 | |
206 | Uim jest biblioteką obsługującą wejście w wielu językach. Celem | |
207 | projektu jest udostępnienie bezpiecznych i użytecznych metod | |
208 | wprowadzania dla wszystkich języków. | |
209 | ||
210 | Ten pakiet zawiera moduł IM Qt 4 oraz programy pomocnicze. | |
f2675bdf JR |
211 | |
212 | %package kde | |
9b05171f JB |
213 | Summary: KDE 4 Applet for Uim |
214 | Summary(pl.UTF-8): Aplet KDE 4 dla biblioteki Uim | |
f2675bdf | 215 | Group: X11/Applications |
ce8c7195 | 216 | Requires: %{name} = %{version}-%{release} |
9b05171f | 217 | Requires: %{name}-qt = %{version}-%{release} |
f2675bdf JR |
218 | |
219 | %description kde | |
220 | Uim is a multilingual input method library. Uim aims to provide secure | |
221 | and useful input methods for all languages. | |
222 | ||
9b05171f | 223 | This package provides the KDE 4 applet. |
f2675bdf | 224 | |
9b05171f JB |
225 | %description kde -l pl.UTF-8 |
226 | Uim jest biblioteką obsługującą wejście w wielu językach. Celem | |
227 | projektu jest udostępnienie bezpiecznych i użytecznych metod | |
228 | wprowadzania dla wszystkich języków. | |
f2675bdf | 229 | |
9b05171f | 230 | Ten pakiet zawiera aplet KDE 4. |
f2675bdf JR |
231 | |
232 | %package -n emacs-common-uim | |
233 | Summary: Common package for Emacsen support for Uim | |
9b05171f | 234 | Summary(pl.UTF-8): Pakiet wspólny Uima dla emacsów |
f2675bdf | 235 | Group: Libraries |
ce8c7195 | 236 | Requires: %{name} = %{version}-%{release} |
f2675bdf JR |
237 | |
238 | %description -n emacs-common-uim | |
239 | This package provides an utility to use Emacsen support for Uim. | |
240 | ||
9b05171f JB |
241 | %description -n emacs-common-uim -l pl.UTF-8 |
242 | Ten pakiet zawiera narzędzia pozwalające na używanie Uima w emacsach. | |
243 | ||
244 | %package -n emacs-uim | |
245 | Summary: Emacs support for Uim | |
246 | Summary(pl.UTF-8): Obsługa Uima w Emacsie | |
247 | Group: Libraries | |
248 | Requires: emacs | |
249 | Requires: emacs-common-uim = %{version}-%{release} | |
250 | ||
251 | %description -n emacs-uim | |
252 | This package provides Emacs support for Uim. | |
253 | ||
254 | %description -n emacs-uim | |
255 | Ten pakiet zapewnia obsługę Uima w Emacsie. | |
256 | ||
f2675bdf JR |
257 | %package -n xemacs-uim |
258 | Summary: XEmacs support for Uim | |
9b05171f | 259 | Summary(pl.UTF-8): Obsługa Uima w XEmacsie |
f2675bdf JR |
260 | Group: Libraries |
261 | Requires: emacs-common-uim = %{version}-%{release} | |
262 | Requires: xemacs | |
263 | ||
264 | %description -n xemacs-uim | |
265 | This package provides XEmacs support. | |
266 | ||
9b05171f JB |
267 | %description -n xemacs-uim -l pl.UTF-8 |
268 | Ten pakiet zapewnia obsługę Uima w XEmacsie. | |
269 | ||
f2675bdf JR |
270 | %package anthy |
271 | Summary: Anthy support for Uim | |
9b05171f | 272 | Summary(pl.UTF-8): Obsługa metody Anthy w Uimie |
f2675bdf | 273 | Group: Libraries |
9b05171f | 274 | Requires(post,postun): %{_bindir}/uim-module-manager |
ce8c7195 | 275 | Requires: %{name} = %{version}-%{release} |
9b05171f | 276 | Requires: anthy >= 9100h |
f2675bdf JR |
277 | |
278 | %description anthy | |
279 | This package provides support for Anthy, a Japanese input method. | |
280 | ||
9b05171f JB |
281 | %description anthy -l pl.UTF-8 |
282 | Ten pakiet zawiera obsługę metody Anthy wprowadzania znaków | |
283 | japońskich. | |
284 | ||
f2675bdf JR |
285 | %package canna |
286 | Summary: Canna support for Uim | |
9b05171f | 287 | Summary(pl.UTF-8): Obsługa metody Canna w Uimie |
f2675bdf | 288 | Group: Libraries |
9b05171f | 289 | Requires(post,postun): %{_bindir}/uim-module-manager |
ce8c7195 | 290 | Requires: %{name} = %{version}-%{release} |
9b05171f | 291 | Requires: Canna |
f2675bdf JR |
292 | |
293 | %description canna | |
294 | This package provides support for Canna, a Japanese input method. | |
295 | ||
9b05171f JB |
296 | %description canna -l pl.UTF-8 |
297 | Ten pakiet zawiera obsługę metody Canna wprowadzania znaków | |
298 | japońskich. | |
299 | ||
d5e30092 JB |
300 | %package eb |
301 | Summary: EB search support for Uim | |
302 | Summary(pl.UTF-8): Obsługa wyszukiwania EB w Uimie | |
303 | Group: Libraries | |
304 | Requires(post,postun): %{_bindir}/uim-module-manager | |
305 | Requires: %{name} = %{version}-%{release} | |
306 | ||
307 | %description eb | |
308 | This package provides support for searching text in books in EB | |
309 | format. | |
310 | ||
311 | %description eb -l pl.UTF-8 | |
312 | Ten pakiet zawiera obsługę wyszukiwania tekstu w książkach w formacie | |
313 | EB. | |
314 | ||
9b05171f JB |
315 | %package m17n |
316 | Summary: m17n-lib support for Uim | |
317 | Summary(pl.UTF-8): Obsługa m17n-lib w Uimie | |
318 | Group: Libraries | |
319 | Requires(post,postun): %{_bindir}/uim-module-manager | |
320 | Requires: %{name} = %{version}-%{release} | |
a224586e | 321 | Requires: m17n-lib >= 1.3.1 |
9b05171f JB |
322 | |
323 | %description m17n | |
324 | This package provides support for m17n-lib, which allows input of many | |
325 | languages using the input table map from m17n-db. | |
326 | ||
327 | %description m17n -l pl.UTF-8 | |
328 | Ten pakiet zawiera obsługę m17n-lib, co pozwala na wprowadzanie znaków | |
329 | wielu języków przy użyciu tablic wejściowych z m17n-db. | |
330 | ||
f2675bdf JR |
331 | %package mana |
332 | Summary: Mana support for Uim | |
9b05171f | 333 | Summary(pl.UTF-8): Obsługa metody Mana w Uimie |
f2675bdf | 334 | Group: Libraries |
9b05171f JB |
335 | Requires(post,postun): %{_bindir}/uim-module-manager |
336 | Requires: %{name} = %{version}-%{release} | |
f2675bdf | 337 | Requires: mana |
ce8c7195 | 338 | Requires: mana-uim |
f2675bdf JR |
339 | |
340 | %description mana | |
341 | This package provides support for mana, a Japanese input method. | |
342 | ||
9b05171f JB |
343 | %description mana -l pl.UTF-8 |
344 | Ten pakiet zawiera obsługę metody Mana wprowadzania znaków | |
345 | japońskich. | |
346 | ||
ce8c7195 JR |
347 | %package prime |
348 | Summary: PRIME support for Uim | |
9b05171f | 349 | Summary(pl.UTF-8): Obsługa metody PRIME w Uimie |
ce8c7195 | 350 | Group: Libraries |
9b05171f | 351 | Requires(post,postun): %{_bindir}/uim-module-manager |
ce8c7195 | 352 | Requires: %{name} = %{version}-%{release} |
a224586e | 353 | Requires: prime >= 0.8.5.2 |
ce8c7195 JR |
354 | |
355 | %description prime | |
356 | This package provides support for PRIME, a Japanese input method. | |
357 | ||
9b05171f JB |
358 | %description prime -l pl.UTF-8 |
359 | Ten pakiet zawiera obsługę metody PRIME wprowadzania znaków | |
360 | japońskich. | |
361 | ||
d5e30092 JB |
362 | %package scim |
363 | Summary: SCIM support for Uim | |
364 | Summary(pl.UTF-8): Obsługa metod SCIM w Uimie | |
365 | Group: Libraries | |
366 | Requires(post,postun): %{_bindir}/uim-module-manager | |
367 | Requires: %{name} = %{version}-%{release} | |
368 | Requires: scim >= 1.3.0 | |
369 | ||
370 | %description scim | |
371 | This package provides support for SCIM-provided input methods. | |
372 | ||
373 | %description scim -l pl.UTF-8 | |
374 | Ten pakiet zawiera obsługę metod udostępnianych przez SCIM. | |
375 | ||
376 | %package sj3 | |
377 | Summary: SJ3 support for Uim | |
378 | Summary(pl.UTF-8): Obsługa metody SJ3 w Uimie | |
379 | Group: Libraries | |
380 | Requires(post,postun): %{_bindir}/uim-module-manager | |
381 | Requires: %{name} = %{version}-%{release} | |
382 | ||
383 | %description sj3 | |
384 | This package provides support for SJ3, a Japanese input method. | |
385 | ||
386 | %description sj3 -l pl.UTF-8 | |
387 | Ten pakiet zawiera obsługę metody SJ3 wprowadzania znaków | |
388 | japońskich. | |
389 | ||
f2675bdf JR |
390 | %package skk |
391 | Summary: SKK support for Uim | |
9b05171f | 392 | Summary(pl.UTF-8): Obsługa metody SKK w Uimie |
f2675bdf | 393 | Group: Libraries |
9b05171f | 394 | Requires(post,postun): %{_bindir}/uim-module-manager |
ce8c7195 | 395 | Requires: %{name} = %{version}-%{release} |
9b05171f | 396 | Requires: skkdic |
f2675bdf JR |
397 | |
398 | %description skk | |
399 | This package provides support for SKK, a Japanese input method. | |
400 | ||
9b05171f JB |
401 | %description skk -l pl.UTF-8 |
402 | Ten pakiet zawiera obsługę metody SKK wprowadzania znaków | |
403 | japońskich. | |
f2675bdf | 404 | |
d5e30092 JB |
405 | %package wnn |
406 | Summary: Wnn support for Uim | |
407 | Summary(pl.UTF-8): Obsługa metody Wnn w Uimie | |
408 | Group: Libraries | |
409 | Requires(post,postun): %{_bindir}/uim-module-manager | |
410 | Requires: %{name} = %{version}-%{release} | |
411 | ||
412 | %description wnn | |
413 | This package provides support for Wnn, a Japanese input method. | |
414 | ||
415 | %description wnn -l pl.UTF-8 | |
416 | Ten pakiet zawiera obsługę metody Wnn wprowadzania znaków | |
417 | japońskich. | |
418 | ||
e899826e | 419 | %prep |
420 | %setup -q | |
421 | %patch0 -p1 | |
f2675bdf JR |
422 | |
423 | cp -a fep/README fep/README.fep | |
424 | cp -a fep/README.ja fep/README.fep.ja | |
425 | cp -a fep/README.key fep/README.fep.key | |
426 | cp -a xim/README xim/README.xim | |
e899826e | 427 | |
428 | %build | |
15d800b6 | 429 | %configure \ |
a224586e | 430 | MANA=/usr/bin/mana \ |
15d800b6 JR |
431 | --enable-default-toolkit=gtk3 \ |
432 | --enable-dict \ | |
49d5fc91 JB |
433 | --disable-gnome2-applet \ |
434 | %{?with_gnome:--enable-gnome3-applet} \ | |
435 | %{?with_kde:--enable-kde4-applet} \ | |
15d800b6 | 436 | --enable-notify=libnotify \ |
49d5fc91 JB |
437 | --enable-openssl \ |
438 | --enable-pref \ | |
a224586e | 439 | %{?with_qt4:--enable-qt4-qt3support} \ |
ce8c7195 | 440 | --without-anthy \ |
9b05171f JB |
441 | %{?with_anthy:--with-anthy-utf8} \ |
442 | %{?with_canna:--with-canna} \ | |
15d800b6 | 443 | --with-curl \ |
49d5fc91 | 444 | %{?with_eb:--with-eb} \ |
15d800b6 | 445 | --with-expat \ |
15d800b6 | 446 | --with-ffi \ |
15d800b6 JR |
447 | --with-gtk2 \ |
448 | --with-gtk3 \ | |
49d5fc91 JB |
449 | --with-libedit \ |
450 | --with-libgcroots=installed \ | |
451 | --with-lispdir=%{_datadir}/emacs/site-lisp \ | |
a224586e | 452 | %{!?with_m17n:--without-m17nlib} \ |
49d5fc91 JB |
453 | %{?with_mana:--with-mana} \ |
454 | --with-prime \ | |
a224586e JB |
455 | %{?with_qt3:--with-qt --with-qt-immodule} \ |
456 | %{?with_qt4:--with-qt4 --with-qt4-immodule} \ | |
457 | %{?with_scim:--with-scim} \ | |
d5e30092 JB |
458 | --with-sj3 \ |
459 | --with-skk \ | |
49d5fc91 JB |
460 | --with-sqlite3 \ |
461 | --with-ssl-engine \ | |
b2aa69ad | 462 | %{?with_wnn:--with-wnn --with-wnn-includes=/usr/include/wnn} \ |
49d5fc91 JB |
463 | --with-x \ |
464 | --with-xft | |
15d800b6 | 465 | |
734a1f7a | 466 | %{__make} -j1 |
e899826e | 467 | |
468 | %install | |
469 | rm -rf $RPM_BUILD_ROOT | |
f2675bdf | 470 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/X11/xinit/xinput.d \ |
cda0d829 | 471 | $RPM_BUILD_ROOT%{_datadir}/{emacs/site-lisp,xemacs-packages/lisp}/site-start.d \ |
ce8c7195 | 472 | $RPM_BUILD_ROOT%{_localstatedir}/lib/uim |
e899826e | 473 | |
466aeaa9 | 474 | %{__make} -j1 install \ |
26f033cf | 475 | QT_PLUGINSDIR=%{_libdir}/qt/plugins-mt \ |
e899826e | 476 | DESTDIR=$RPM_BUILD_ROOT |
477 | ||
f2675bdf | 478 | # For XEmacs |
466aeaa9 | 479 | %{__make} -j1 install -C emacs \ |
f2675bdf | 480 | DESTDIR=$RPM_BUILD_ROOT \ |
cda0d829 | 481 | UIMEL_LISP_DIR=%{_datadir}/xemacs-packages/lisp/uim-el |
f2675bdf | 482 | |
04b5fc36 | 483 | %{__rm} $RPM_BUILD_ROOT%{_libdir}{,/gtk*/*/immodules,/uim/*%{?with_qt3:,/qt/plugins-mt/*}}/*.la |
15d800b6 | 484 | |
f2675bdf JR |
485 | %{__sed} -e 's|@@LIB@@|%{_lib}|g' %{SOURCE1} >$RPM_BUILD_ROOT%{_sysconfdir}/X11/xinit/xinput.d/uim.conf |
486 | install -p %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/site-start.d/ | |
cda0d829 | 487 | install -p %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/xemacs-packages/lisp/ |
f2675bdf | 488 | |
ce8c7195 JR |
489 | mv $RPM_BUILD_ROOT%{_datadir}/uim/{installed-modules,loader}.scm $RPM_BUILD_ROOT%{_localstatedir}/lib/uim/ |
490 | ln -sf %{_localstatedir}/lib/uim/installed-modules.scm $RPM_BUILD_ROOT%{_datadir}/uim/ | |
491 | ln -sf %{_localstatedir}/lib/uim/loader.scm $RPM_BUILD_ROOT%{_datadir}/uim/ | |
492 | ||
d5e30092 JB |
493 | # OSX-specific |
494 | %{__rm} $RPM_BUILD_ROOT%{_datadir}/uim/annotation-osx-dcs.scm | |
495 | ||
ce8c7195 JR |
496 | # Register additional input methods |
497 | LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir} \ | |
498 | LIBUIM_SYSTEM_SCM_FILES=$RPM_BUILD_ROOT%{_datadir}/uim/lib \ | |
499 | LIBUIM_SCM_FILES=$RPM_BUILD_ROOT%{_datadir}/uim \ | |
500 | LIBUIM_PLUGIN_LIB_DIR=$RPM_BUILD_ROOT%{_libdir}/uim/plugin \ | |
501 | UIM_DISABLE_NOTIFY=1 \ | |
502 | $RPM_BUILD_ROOT%{_bindir}/uim-module-manager \ | |
503 | --path $RPM_BUILD_ROOT%{_localstatedir}/lib/uim \ | |
504 | --register tcode trycode hangul | |
505 | ||
506 | # Unregister methods that come from separate packages | |
507 | LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir} \ | |
508 | LIBUIM_SYSTEM_SCM_FILES=$RPM_BUILD_ROOT%{_datadir}/uim/lib \ | |
509 | LIBUIM_SCM_FILES=$RPM_BUILD_ROOT%{_datadir}/uim \ | |
510 | LIBUIM_PLUGIN_LIB_DIR=$RPM_BUILD_ROOT%{_libdir}/uim/plugin \ | |
511 | UIM_DISABLE_NOTIFY=1 \ | |
512 | $RPM_BUILD_ROOT%{_bindir}/uim-module-manager \ | |
513 | --path $RPM_BUILD_ROOT%{_localstatedir}/lib/uim \ | |
d5e30092 | 514 | --unregister anthy-utf8 canna m17nlib mana prime scim sj3 skk wnn |
ce8c7195 | 515 | |
e899826e | 516 | %find_lang %{name} |
517 | ||
518 | %clean | |
519 | rm -rf $RPM_BUILD_ROOT | |
520 | ||
49d5fc91 JB |
521 | %post -p /sbin/ldconfig |
522 | %postun -p /sbin/ldconfig | |
ce8c7195 JR |
523 | |
524 | %post gtk2 | |
d5e30092 | 525 | %if "%{_lib}" == "lib64" |
879f273b | 526 | %{_bindir}/gtk-query-immodules-2.0-64 > %{_sysconfdir}/gtk64-2.0/gtk.immodules |
879f273b | 527 | %else |
e899826e | 528 | %{_bindir}/gtk-query-immodules-2.0 > %{_sysconfdir}/gtk-2.0/gtk.immodules |
879f273b | 529 | %endif |
e899826e | 530 | |
ce8c7195 | 531 | %postun gtk2 |
d5e30092 | 532 | %if "%{_lib}" == "lib64" |
879f273b | 533 | %{_bindir}/gtk-query-immodules-2.0-64 > %{_sysconfdir}/gtk64-2.0/gtk.immodules |
879f273b | 534 | %else |
5e1c7cdb | 535 | %{_bindir}/gtk-query-immodules-2.0 > %{_sysconfdir}/gtk-2.0/gtk.immodules |
ce8c7195 JR |
536 | %endif |
537 | ||
538 | %post gtk3 | |
d5e30092 | 539 | %if "%{_lib}" == "lib64" |
ce8c7195 JR |
540 | %{_bindir}/gtk-query-immodules-3.0-64 --update-cache |
541 | %else | |
879f273b JR |
542 | %{_bindir}/gtk-query-immodules-3.0 --update-cache |
543 | %endif | |
e899826e | 544 | |
ce8c7195 | 545 | %postun gtk3 |
d5e30092 | 546 | %if "%{_lib}" == "lib64" |
ce8c7195 JR |
547 | %{_bindir}/gtk-query-immodules-3.0-64 --update-cache |
548 | %else | |
549 | %{_bindir}/gtk-query-immodules-3.0 --update-cache | |
550 | %endif | |
551 | ||
552 | %post anthy | |
553 | %{_bindir}/uim-module-manager --path %{_localstatedir}/lib/uim --register anthy-utf8 | |
554 | ||
555 | %postun anthy | |
556 | if [ "$1" = "0" ]; then | |
557 | %{_bindir}/uim-module-manager --path %{_localstatedir}/lib/uim --unregister anthy-utf8 | |
558 | fi | |
559 | ||
560 | %post canna | |
561 | %{_bindir}/uim-module-manager --path %{_localstatedir}/lib/uim --register canna | |
562 | ||
563 | %postun canna | |
564 | if [ "$1" = "0" ]; then | |
565 | %{_bindir}/uim-module-manager --path %{_localstatedir}/lib/uim --unregister canna | |
566 | fi | |
567 | ||
9b05171f JB |
568 | %post m17n |
569 | %{_bindir}/uim-module-manager --path %{_localstatedir}/lib/uim --register m17nlib | |
ce8c7195 | 570 | |
9b05171f | 571 | %postun m17n |
ce8c7195 | 572 | if [ "$1" = "0" ]; then |
9b05171f | 573 | %{_bindir}/uim-module-manager --path %{_localstatedir}/lib/uim --unregister m17nlib |
ce8c7195 JR |
574 | fi |
575 | ||
576 | %post mana | |
577 | %{_bindir}/uim-module-manager --path %{_localstatedir}/lib/uim --register mana | |
578 | ||
579 | %postun mana | |
580 | if [ "$1" = "0" ]; then | |
581 | %{_bindir}/uim-module-manager --path %{_localstatedir}/lib/uim --unregister mana | |
582 | fi | |
583 | ||
9b05171f JB |
584 | %post prime |
585 | %{_bindir}/uim-module-manager --path %{_localstatedir}/lib/uim --register prime | |
ce8c7195 | 586 | |
9b05171f | 587 | %postun prime |
ce8c7195 | 588 | if [ "$1" = "0" ]; then |
9b05171f | 589 | %{_bindir}/uim-module-manager --path %{_localstatedir}/lib/uim --unregister prime |
ce8c7195 JR |
590 | fi |
591 | ||
d5e30092 JB |
592 | %post scim |
593 | %{_bindir}/uim-module-manager --path %{_localstatedir}/lib/uim --register scim | |
594 | ||
595 | %postun scim | |
596 | if [ "$1" = "0" ]; then | |
597 | %{_bindir}/uim-module-manager --path %{_localstatedir}/lib/uim --unregister scim | |
598 | fi | |
599 | ||
600 | %post sj3 | |
601 | %{_bindir}/uim-module-manager --path %{_localstatedir}/lib/uim --register sj3 | |
602 | ||
603 | %postun sj3 | |
604 | if [ "$1" = "0" ]; then | |
605 | %{_bindir}/uim-module-manager --path %{_localstatedir}/lib/uim --unregister sj3 | |
606 | fi | |
607 | ||
9b05171f JB |
608 | %post skk |
609 | %{_bindir}/uim-module-manager --path %{_localstatedir}/lib/uim --register skk | |
ce8c7195 | 610 | |
9b05171f | 611 | %postun skk |
ce8c7195 | 612 | if [ "$1" = "0" ]; then |
9b05171f | 613 | %{_bindir}/uim-module-manager --path %{_localstatedir}/lib/uim --unregister skk |
ce8c7195 JR |
614 | fi |
615 | ||
d5e30092 JB |
616 | %post wnn |
617 | %{_bindir}/uim-module-manager --path %{_localstatedir}/lib/uim --register wnn | |
618 | ||
619 | %postun wnn | |
620 | if [ "$1" = "0" ]; then | |
621 | %{_bindir}/uim-module-manager --path %{_localstatedir}/lib/uim --unregister wnn | |
622 | fi | |
623 | ||
e899826e | 624 | %files -f %{name}.lang |
625 | %defattr(644,root,root,755) | |
626 | %doc AUTHORS ChangeLog NEWS README | |
ce8c7195 | 627 | %doc fep/README.fep fep/README.fep.ja fep/README.fep.key xim/README.xim |
f2675bdf | 628 | %{_sysconfdir}/X11/xinit/xinput.d/uim.conf |
771d5eda JR |
629 | %attr(755,root,root) %{_bindir}/uim-fep |
630 | %attr(755,root,root) %{_bindir}/uim-fep-tick | |
631 | %attr(755,root,root) %{_bindir}/uim-help | |
771d5eda JR |
632 | %attr(755,root,root) %{_bindir}/uim-module-manager |
633 | %attr(755,root,root) %{_bindir}/uim-sh | |
634 | %attr(755,root,root) %{_bindir}/uim-xim | |
d5e30092 JB |
635 | %attr(755,root,root) %{_libdir}/libuim.so.*.*.* |
636 | %attr(755,root,root) %ghost %{_libdir}/libuim.so.8 | |
637 | %attr(755,root,root) %{_libdir}/libuim-custom.so.*.*.* | |
638 | %attr(755,root,root) %ghost %{_libdir}/libuim-custom.so.2 | |
639 | %attr(755,root,root) %{_libdir}/libuim-scm.so.*.*.* | |
640 | %attr(755,root,root) %ghost %{_libdir}/libuim-scm.so.0 | |
15d800b6 | 641 | %attr(755,root,root) %{_libdir}/uim-helper-server |
15d800b6 JR |
642 | %dir %{_libdir}/uim |
643 | %dir %{_libdir}/uim/notify | |
d5e30092 | 644 | %attr(755,root,root) %{_libdir}/uim/notify/libuimnotify-libnotify.so |
15d800b6 | 645 | %dir %{_libdir}/uim/plugin |
15d800b6 JR |
646 | %attr(755,root,root) %{_libdir}/uim/plugin/libuim-curl.so |
647 | %attr(755,root,root) %{_libdir}/uim/plugin/libuim-custom-enabler.so | |
15d800b6 JR |
648 | %attr(755,root,root) %{_libdir}/uim/plugin/libuim-editline.so |
649 | %attr(755,root,root) %{_libdir}/uim/plugin/libuim-expat.so | |
650 | %attr(755,root,root) %{_libdir}/uim/plugin/libuim-ffi.so | |
651 | %attr(755,root,root) %{_libdir}/uim/plugin/libuim-fileio.so | |
652 | %attr(755,root,root) %{_libdir}/uim/plugin/libuim-lolevel.so | |
653 | %attr(755,root,root) %{_libdir}/uim/plugin/libuim-look.so | |
15d800b6 JR |
654 | %attr(755,root,root) %{_libdir}/uim/plugin/libuim-openssl.so |
655 | %attr(755,root,root) %{_libdir}/uim/plugin/libuim-process.so | |
15d800b6 JR |
656 | %attr(755,root,root) %{_libdir}/uim/plugin/libuim-socket.so |
657 | %attr(755,root,root) %{_libdir}/uim/plugin/libuim-sqlite3.so | |
f2675bdf | 658 | %dir %{_datadir}/uim |
d5e30092 JB |
659 | %{_datadir}/uim/byeoru-data |
660 | %{_datadir}/uim/helperdata | |
661 | %{_datadir}/uim/lib | |
662 | %{_datadir}/uim/pixmaps | |
663 | %{_datadir}/uim/tables | |
664 | %{_datadir}/uim/*.scm | |
665 | # NOTE: scm and pixmaps files are always installed, even if particular part is disabled by bcond | |
666 | # by using unconditional exclude we avoid packaging them if bcond is disabled | |
26f033cf JR |
667 | %exclude %{_datadir}/uim/pixmaps/anthy*.png |
668 | %exclude %{_datadir}/uim/pixmaps/canna.png | |
d5e30092 | 669 | %exclude %{_datadir}/uim/pixmaps/m17n*png |
26f033cf | 670 | %exclude %{_datadir}/uim/pixmaps/mana.png |
d5e30092 JB |
671 | %exclude %{_datadir}/uim/pixmaps/mana.svg |
672 | %exclude %{_datadir}/uim/pixmaps/prime*.png | |
673 | %exclude %{_datadir}/uim/pixmaps/scim.png | |
674 | %exclude %{_datadir}/uim/pixmaps/scim.svg | |
675 | %exclude %{_datadir}/uim/pixmaps/sj3.png | |
676 | %exclude %{_datadir}/uim/pixmaps/sj3.svg | |
26f033cf JR |
677 | %exclude %{_datadir}/uim/pixmaps/skk*.png |
678 | %exclude %{_datadir}/uim/pixmaps/skk*.svg | |
d5e30092 JB |
679 | %exclude %{_datadir}/uim/pixmaps/wnn.png |
680 | %exclude %{_datadir}/uim/pixmaps/wnn.svg | |
c34027a2 | 681 | %exclude %{_datadir}/uim/annotation-eb.scm |
d5e30092 JB |
682 | %exclude %{_datadir}/uim/anthy*.scm |
683 | %exclude %{_datadir}/uim/canna*.scm | |
684 | %exclude %{_datadir}/uim/m17nlib*.scm | |
685 | %exclude %{_datadir}/uim/mana*.scm | |
686 | %exclude %{_datadir}/uim/prime*.scm | |
687 | %exclude %{_datadir}/uim/scim.scm | |
c34027a2 | 688 | %exclude %{_datadir}/uim/sj3*.scm |
d5e30092 JB |
689 | %exclude %{_datadir}/uim/skk*.scm |
690 | %exclude %{_datadir}/uim/wnn*.scm | |
15d800b6 | 691 | %{_desktopdir}/uim.desktop |
d5e30092 | 692 | %{_mandir}/man1/uim-xim.1* |
ce8c7195 | 693 | %dir %{_localstatedir}/lib/uim |
d5e30092 JB |
694 | %verify(not md5 mtime size) %{_localstatedir}/lib/uim/installed-modules.scm |
695 | %verify(not md5 mtime size) %{_localstatedir}/lib/uim/loader.scm | |
e899826e | 696 | |
f2675bdf JR |
697 | %files devel |
698 | %defattr(644,root,root,755) | |
d5e30092 JB |
699 | %attr(755,root,root) %{_libdir}/libuim.so |
700 | %attr(755,root,root) %{_libdir}/libuim-custom.so | |
701 | %attr(755,root,root) %{_libdir}/libuim-scm.so | |
f2675bdf | 702 | %{_includedir}/%{name} |
d5e30092 | 703 | %{_pkgconfigdir}/uim.pc |
f2675bdf JR |
704 | |
705 | %files gtk2 | |
706 | %defattr(644,root,root,755) | |
771d5eda JR |
707 | %attr(755,root,root) %{_bindir}/uim-dict-gtk |
708 | %attr(755,root,root) %{_bindir}/uim-im-switcher-gtk | |
f2675bdf | 709 | %attr(755,root,root) %{_bindir}/uim-input-pad-ja |
771d5eda JR |
710 | %attr(755,root,root) %{_bindir}/uim-pref-gtk |
711 | %attr(755,root,root) %{_bindir}/uim-toolbar-gtk | |
712 | %attr(755,root,root) %{_bindir}/uim-toolbar-gtk-systray | |
d5e30092 | 713 | %attr(755,root,root) %{_libdir}/gtk-2.0/*/immodules/im-uim.so |
771d5eda JR |
714 | %attr(755,root,root) %{_libdir}/uim-candwin-gtk |
715 | %attr(755,root,root) %{_libdir}/uim-candwin-tbl-gtk | |
26f033cf | 716 | %attr(755,root,root) %{_libdir}/uim-candwin-horizontal-gtk |
771d5eda | 717 | |
f2675bdf JR |
718 | %files gtk3 |
719 | %defattr(644,root,root,755) | |
771d5eda JR |
720 | %attr(755,root,root) %{_bindir}/uim-dict-gtk3 |
721 | %attr(755,root,root) %{_bindir}/uim-im-switcher-gtk3 | |
722 | %attr(755,root,root) %{_bindir}/uim-input-pad-ja-gtk3 | |
723 | %attr(755,root,root) %{_bindir}/uim-pref-gtk3 | |
724 | %attr(755,root,root) %{_bindir}/uim-toolbar-gtk3 | |
725 | %attr(755,root,root) %{_bindir}/uim-toolbar-gtk3-systray | |
d5e30092 | 726 | %attr(755,root,root) %{_libdir}/gtk-3.0/*/immodules/im-uim.so |
771d5eda JR |
727 | %attr(755,root,root) %{_libdir}/uim-candwin-gtk3 |
728 | %attr(755,root,root) %{_libdir}/uim-candwin-tbl-gtk3 | |
26f033cf | 729 | %attr(755,root,root) %{_libdir}/uim-candwin-horizontal-gtk3 |
771d5eda | 730 | |
49d5fc91 | 731 | %if %{with gnome} |
f2675bdf JR |
732 | %files gnome |
733 | %defattr(644,root,root,755) | |
734 | %attr(755,root,root) %{_libdir}/uim-toolbar-applet-gnome3 | |
735 | %{_datadir}/dbus-1/services/org.gnome.panel.applet.UimAppletFactory.service | |
736 | %{_datadir}/gnome-panel/4.0/applets/UimApplet.panel-applet | |
49d5fc91 | 737 | %endif |
f2675bdf | 738 | |
a224586e | 739 | %if %{with qt3} |
26f033cf | 740 | %files qt3 |
e899826e | 741 | %defattr(644,root,root,755) |
f2675bdf JR |
742 | %attr(755,root,root) %{_bindir}/uim-chardict-qt |
743 | %attr(755,root,root) %{_bindir}/uim-im-switcher-qt | |
744 | %attr(755,root,root) %{_bindir}/uim-pref-qt | |
745 | %attr(755,root,root) %{_bindir}/uim-toolbar-qt | |
746 | %attr(755,root,root) %{_libdir}/uim-candwin-qt | |
d5e30092 | 747 | %attr(755,root,root) %{_libdir}/qt/plugins-mt/inputmethods/libquiminputcontextplugin.so |
49d5fc91 | 748 | %endif |
f2675bdf | 749 | |
a224586e | 750 | %if %{with qt4} |
9b05171f JB |
751 | %files qt |
752 | %defattr(644,root,root,755) | |
753 | %attr(755,root,root) %{_bindir}/uim-chardict-qt4 | |
754 | %attr(755,root,root) %{_bindir}/uim-im-switcher-qt4 | |
755 | %attr(755,root,root) %{_bindir}/uim-pref-qt4 | |
756 | %attr(755,root,root) %{_bindir}/uim-toolbar-qt4 | |
d5e30092 | 757 | %attr(755,root,root) %{_libdir}/qt4/plugins/inputmethods/libuiminputcontextplugin.so |
9b05171f | 758 | %attr(755,root,root) %{_libdir}/uim-candwin-qt4 |
a224586e JB |
759 | %endif |
760 | ||
761 | %if %{with kde} | |
762 | %files kde | |
763 | %defattr(644,root,root,755) | |
764 | %attr(755,root,root) %{_libdir}/kde4/plasma_applet_uim.so | |
765 | %{_datadir}/kde4/services/plasma-applet-uim.desktop | |
766 | %endif | |
9b05171f JB |
767 | |
768 | %files -n emacs-common-uim | |
769 | %defattr(644,root,root,755) | |
770 | %doc emacs/README | |
771 | %lang(ja) %doc emacs/README.ja | |
772 | %attr(755,root,root) %{_bindir}/uim-el-agent | |
773 | %attr(755,root,root) %{_bindir}/uim-el-helper-agent | |
774 | ||
f2675bdf JR |
775 | %files -n emacs-uim |
776 | %defattr(644,root,root,755) | |
777 | %{_datadir}/emacs/site-lisp/uim-el | |
778 | %{_datadir}/emacs/site-lisp/site-start.d/uim-init.el | |
779 | ||
780 | %files -n xemacs-uim | |
781 | %defattr(644,root,root,755) | |
cda0d829 JR |
782 | %{_datadir}/xemacs-packages/lisp/uim-el |
783 | %{_datadir}/xemacs-packages/lisp/uim-init.el | |
f2675bdf | 784 | |
9b05171f | 785 | %if %{with anthy} |
f2675bdf JR |
786 | %files anthy |
787 | %defattr(644,root,root,755) | |
d5e30092 | 788 | %attr(755,root,root) %{_libdir}/uim/plugin/libuim-anthy-utf8.so |
f2675bdf JR |
789 | %{_datadir}/uim/anthy*.scm |
790 | %{_datadir}/uim/pixmaps/anthy*.png | |
9b05171f | 791 | %endif |
f2675bdf | 792 | |
9b05171f | 793 | %if %{with canna} |
f2675bdf JR |
794 | %files canna |
795 | %defattr(644,root,root,755) | |
796 | %{_datadir}/uim/canna*.scm | |
797 | %{_datadir}/uim/pixmaps/canna.png | |
9b05171f JB |
798 | %endif |
799 | ||
d5e30092 JB |
800 | %if %{with eb} |
801 | %files eb | |
802 | %defattr(644,root,root,755) | |
803 | %attr(755,root,root) %{_libdir}/uim/plugin/libuim-eb.so | |
804 | %{_datadir}/uim/annotation-eb.scm | |
805 | %endif | |
806 | ||
9b05171f JB |
807 | %if %{with m17n} |
808 | %files m17n | |
809 | %defattr(644,root,root,755) | |
810 | %attr(755,root,root) %{_bindir}/uim-m17nlib-relink-icons | |
811 | %attr(755,root,root) %{_libdir}/uim/plugin/libuim-m17nlib.so | |
d5e30092 JB |
812 | %{_datadir}/uim/m17nlib*.scm |
813 | %{_datadir}/uim/pixmaps/m17n*.png | |
9b05171f | 814 | %endif |
f2675bdf | 815 | |
49d5fc91 | 816 | %if %{with mana} |
f2675bdf JR |
817 | %files mana |
818 | %defattr(644,root,root,755) | |
819 | %attr(755,root,root) %{_libdir}/uim/plugin/libuim-mana.so | |
820 | %{_datadir}/uim/mana*.scm | |
821 | %{_datadir}/uim/pixmaps/mana.png | |
d5e30092 | 822 | %{_datadir}/uim/pixmaps/mana.svg |
49d5fc91 | 823 | %endif |
f2675bdf | 824 | |
ce8c7195 JR |
825 | %files prime |
826 | %defattr(644,root,root,755) | |
827 | %{_datadir}/uim/prime*.scm | |
d5e30092 JB |
828 | %{_datadir}/uim/pixmaps/prime*.png |
829 | ||
830 | %if %{with scim} | |
831 | %files scim | |
832 | %defattr(644,root,root,755) | |
833 | %attr(755,root,root) %{_libdir}/uim/plugin/libuim-scim.so | |
834 | %{_datadir}/uim/scim.scm | |
835 | %{_datadir}/uim/pixmaps/scim.png | |
836 | %{_datadir}/uim/pixmaps/scim.svg | |
837 | %endif | |
838 | ||
839 | %files sj3 | |
840 | %defattr(644,root,root,755) | |
841 | %{_datadir}/uim/sj3*.scm | |
842 | %{_datadir}/uim/pixmaps/sj3.png | |
843 | %{_datadir}/uim/pixmaps/sj3.svg | |
ce8c7195 | 844 | |
f2675bdf JR |
845 | %files skk |
846 | %defattr(644,root,root,755) | |
847 | %attr(755,root,root) %{_libdir}/uim/plugin/libuim-skk.so | |
848 | %{_datadir}/uim/skk*.scm | |
04b5fc36 JB |
849 | %{_datadir}/uim/pixmaps/skk*.png |
850 | %{_datadir}/uim/pixmaps/skk*.svg | |
d5e30092 JB |
851 | |
852 | %if %{with wnn} | |
853 | %files wnn | |
854 | %defattr(644,root,root,755) | |
855 | %attr(755,root,root) %{_libdir}/uim/plugin/libuim-wnn.so | |
856 | %{_datadir}/uim/wnn*.scm | |
857 | %{_datadir}/uim/pixmaps/wnn.png | |
858 | %{_datadir}/uim/pixmaps/wnn.svg | |
859 | %endif |