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