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