]>
Commit | Line | Data |
---|---|---|
e899826e | 1 | Summary: Multilingual input method library |
57784c95 | 2 | Summary(pl.UTF-8): Biblioteka obsługująca wejście w wielu językach |
e899826e | 3 | Name: uim |
15d800b6 | 4 | Version: 1.7.0 |
dd5b47a3 | 5 | Release: 1 |
e899826e | 6 | License: GPL or BSD |
7 | Group: Libraries | |
15d800b6 JR |
8 | Source0: http://uim.googlecode.com/files/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: 1633f131ea58b34fd85e15411e3cc363 | |
f2675bdf JR |
10 | Source1: %{name}.xinputd |
11 | Source2: %{name}-init.el | |
15d800b6 | 12 | Patch0: %{name}-link.patch |
c41f0e78 JR |
13 | Patch1: %{name}-emacs-utf8.patch |
14 | Patch2: %{name}-enable-libgcroots.patch | |
f2675bdf | 15 | Patch3: %{name}-qt-po.patch |
e631d9b0 | 16 | URL: http://uim.freedesktop.org/ |
f2675bdf JR |
17 | BuildRequires: Canna-devel |
18 | BuildRequires: Qt3Support-devel | |
15d800b6 | 19 | BuildRequires: anthy-devel >= 9100h-2 |
e899826e | 20 | BuildRequires: autoconf |
21 | BuildRequires: automake | |
f2675bdf JR |
22 | BuildRequires: automoc4 |
23 | BuildRequires: cmake | |
15d800b6 JR |
24 | BuildRequires: curl-devel |
25 | BuildRequires: eb-devel | |
26 | BuildRequires: expat-devel | |
27 | BuildRequires: gcc-objc | |
1f86603b | 28 | BuildRequires: gtk+2-devel >= 2:2.2.0 |
15d800b6 | 29 | BuildRequires: gtk+3-devel |
f2675bdf | 30 | BuildRequires: kde4-kdelibs-devel |
15d800b6 JR |
31 | BuildRequires: libedit-devel |
32 | BuildRequires: libffi-devel | |
cdf5177b | 33 | BuildRequires: libgcroots-devel |
e899826e | 34 | BuildRequires: libgnome-devel >= 2.4.0 |
35 | BuildRequires: libtool | |
15d800b6 JR |
36 | BuildRequires: m17n-lib-devel |
37 | BuildRequires: mana | |
38 | BuildRequires: openssl-devel | |
f2675bdf | 39 | BuildRequires: qt-devel |
15d800b6 JR |
40 | BuildRequires: qt4-qmake |
41 | BuildRequires: sqlite3-devel | |
cdf5177b JR |
42 | BuildRequires: xorg-lib-libX11-devel |
43 | BuildRequires: xorg-lib-libXau-devel | |
44 | BuildRequires: xorg-lib-libXdmcp-devel | |
45 | BuildRequires: xorg-lib-libXext-devel | |
46 | BuildRequires: xorg-lib-libXft-devel | |
47 | BuildRequires: xorg-lib-libXrender-devel | |
48 | BuildRequires: xorg-lib-libXt-devel | |
5e1c7cdb | 49 | Requires(post,postun): /sbin/ldconfig |
50 | Requires(post,postun): gtk+2 | |
e899826e | 51 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
52 | ||
53 | %description | |
f2675bdf JR |
54 | Uim is a multilingual input method library. Uim aims to provide secure |
55 | and useful input methods for all languages. Currently, it can input to | |
56 | applications which support Gtk+'s immodule, Qt's immodule and XIM. | |
57 | ||
58 | This package provides the input method library, the XIM bridge and | |
59 | most of the input methods. | |
60 | ||
61 | For the Japanese input methods you need to install | |
62 | - uim-anthy for Anthy | |
63 | - uim-canna for Canna | |
64 | - uim-skk for SKK. | |
e899826e | 65 | |
acaba169 JR |
66 | %description -l pl.UTF-8 |
67 | Uim jest biblioteką obsługującą wejście w wielu językach. Celem | |
68 | projektu jest udostępnienie bezpiecznej i użytecznej metody dla | |
69 | wszystkich języków. | |
e899826e | 70 | |
71 | %package devel | |
72 | Summary: Header files for uim libraryi | |
57784c95 | 73 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki uim |
e899826e | 74 | Group: Development/Libraries |
e231434b | 75 | Requires: %{name} = %{version}-%{release} |
e899826e | 76 | |
77 | %description devel | |
78 | Header files for uim library. | |
79 | ||
acaba169 JR |
80 | %description devel -l pl.UTF-8 |
81 | Pliki nagłówkowe biblioteki uim. | |
e899826e | 82 | |
f2675bdf JR |
83 | %package gtk2 |
84 | Summary: GTK+2 support for Uim | |
85 | Group: X11/Applications | |
ce8c7195 | 86 | Requires: %{name} = %{version}-%{release} |
f2675bdf JR |
87 | # for update-gtk-immodules |
88 | Requires(post): gtk+2 >= 2.9.1-2 | |
89 | Requires(postun): gtk+2 | |
90 | ||
91 | %description gtk2 | |
92 | Uim is a multilingual input method library. Uim aims to provide secure | |
93 | and useful input methods for all languages. | |
94 | ||
95 | This package provides the Gtk IM module and helper program. | |
96 | ||
97 | %package gtk3 | |
98 | Summary: GTK+3 support for Uim | |
99 | Group: X11/Applications | |
ce8c7195 | 100 | Requires: %{name} = %{version}-%{release} |
f2675bdf JR |
101 | # for update-gtk-immodules |
102 | Requires(post): gtk+3 | |
103 | Requires(postun): gtk+3 | |
104 | ||
105 | %description gtk3 | |
106 | Uim is a multilingual input method library. Uim aims to provide secure | |
107 | and useful input methods for all languages. | |
108 | ||
109 | This package provides the Gtk IM module and helper program. | |
110 | ||
111 | %package gnome | |
112 | Summary: GNOME Applet for Uim | |
113 | Group: X11/Applications | |
ce8c7195 | 114 | Requires: %{name} = %{version}-%{release} |
f2675bdf JR |
115 | Requires: uim-gtk3 |
116 | ||
117 | %description gnome | |
118 | Uim is a multilingual input method library. Uim aims to provide secure | |
119 | and useful input methods for all languages. | |
120 | ||
121 | This package provides the GNOME panel applet. | |
122 | ||
123 | %package qt | |
124 | Summary: Qt4 support for Uim | |
125 | Group: X11/Applications | |
126 | ||
127 | %description qt | |
128 | Uim is a multilingual input method library. Uim aims to provide secure | |
129 | and useful input methods for all languages. | |
130 | ||
131 | This package provides the Qt4 IM module and helper programs. | |
132 | ||
133 | %package qt3 | |
134 | Summary: Qt3 support for Uim | |
135 | Group: X11/Applications | |
136 | Provides: %{name}-qt-common = %{version}-%{release} | |
137 | ||
138 | %description qt3 | |
139 | Uim is a multilingual input method library. Uim aims to provide secure | |
140 | and useful input methods for all languages. | |
141 | ||
142 | This package provides the Qt3 IM module and helper programs. | |
143 | ||
144 | %package kde | |
145 | Summary: KDE Applet for Uim | |
146 | Group: X11/Applications | |
ce8c7195 | 147 | Requires: %{name} = %{version}-%{release} |
f2675bdf JR |
148 | Requires: uim-qt |
149 | ||
150 | %description kde | |
151 | Uim is a multilingual input method library. Uim aims to provide secure | |
152 | and useful input methods for all languages. | |
153 | ||
154 | This package provides the KDE applet. | |
155 | ||
156 | %package -n emacs-uim | |
157 | Summary: Emacs support for Uim | |
158 | Group: Libraries | |
159 | Requires: emacs | |
160 | Requires: emacs-common-uim = %{version}-%{release} | |
161 | ||
162 | %description -n emacs-uim | |
163 | This package provides Emacs support. | |
164 | ||
165 | %package -n emacs-common-uim | |
166 | Summary: Common package for Emacsen support for Uim | |
167 | Group: Libraries | |
ce8c7195 | 168 | Requires: %{name} = %{version}-%{release} |
f2675bdf JR |
169 | |
170 | %description -n emacs-common-uim | |
171 | This package provides an utility to use Emacsen support for Uim. | |
172 | ||
173 | %package -n xemacs-uim | |
174 | Summary: XEmacs support for Uim | |
175 | Group: Libraries | |
176 | Requires: emacs-common-uim = %{version}-%{release} | |
177 | Requires: xemacs | |
178 | ||
179 | %description -n xemacs-uim | |
180 | This package provides XEmacs support. | |
181 | ||
182 | %package anthy | |
183 | Summary: Anthy support for Uim | |
184 | Group: Libraries | |
185 | Requires: anthy >= 9100h | |
ce8c7195 JR |
186 | Requires: %{name} = %{version}-%{release} |
187 | Requires(post): %{_bindir}/uim-module-manager | |
188 | Requires(postun): %{_bindir}/uim-module-manager | |
f2675bdf JR |
189 | |
190 | %description anthy | |
191 | This package provides support for Anthy, a Japanese input method. | |
192 | ||
193 | %package canna | |
194 | Summary: Canna support for Uim | |
195 | Group: Libraries | |
196 | Requires: Canna | |
ce8c7195 JR |
197 | Requires: %{name} = %{version}-%{release} |
198 | Requires(post): %{_bindir}/uim-module-manager | |
199 | Requires(postun): %{_bindir}/uim-module-manager | |
f2675bdf JR |
200 | |
201 | %description canna | |
202 | This package provides support for Canna, a Japanese input method. | |
203 | ||
204 | %package mana | |
205 | Summary: Mana support for Uim | |
206 | Group: Libraries | |
207 | Requires: mana | |
ce8c7195 JR |
208 | Requires: mana-uim |
209 | Requires: %{name} = %{version}-%{release} | |
210 | Requires(post): %{_bindir}/uim-module-manager | |
211 | Requires(postun): %{_bindir}/uim-module-manager | |
f2675bdf JR |
212 | |
213 | %description mana | |
214 | This package provides support for mana, a Japanese input method. | |
215 | ||
ce8c7195 JR |
216 | %package prime |
217 | Summary: PRIME support for Uim | |
218 | Group: Libraries | |
219 | Requires: prime | |
220 | Requires: %{name} = %{version}-%{release} | |
221 | Requires(post): %{_bindir}/uim-module-manager | |
222 | Requires(postun): %{_bindir}/uim-module-manager | |
223 | ||
224 | %description prime | |
225 | This package provides support for PRIME, a Japanese input method. | |
226 | ||
f2675bdf JR |
227 | %package skk |
228 | Summary: SKK support for Uim | |
229 | Group: Libraries | |
230 | Requires: skkdic | |
ce8c7195 JR |
231 | Requires: %{name} = %{version}-%{release} |
232 | Requires(post): %{_bindir}/uim-module-manager | |
233 | Requires(postun): %{_bindir}/uim-module-manager | |
f2675bdf JR |
234 | |
235 | %description skk | |
236 | This package provides support for SKK, a Japanese input method. | |
237 | ||
238 | %package m17n | |
239 | Summary: m17n-lib support for Uim | |
240 | Group: Libraries | |
ce8c7195 JR |
241 | Requires: %{name} = %{version}-%{release} |
242 | Requires(post): %{_bindir}/uim-module-manager | |
243 | Requires(postun): %{_bindir}/uim-module-manager | |
f2675bdf JR |
244 | |
245 | %description m17n | |
246 | This package provides support for m17n-lib, which allows input of many | |
247 | languages using the input table map from m17n-db. | |
248 | ||
e899826e | 249 | %prep |
250 | %setup -q | |
251 | %patch0 -p1 | |
c41f0e78 JR |
252 | %patch1 -p1 |
253 | %patch2 -p1 | |
f2675bdf JR |
254 | %patch3 -p1 |
255 | ||
256 | cp -a fep/README fep/README.fep | |
257 | cp -a fep/README.ja fep/README.fep.ja | |
258 | cp -a fep/README.key fep/README.fep.key | |
259 | cp -a xim/README xim/README.xim | |
e899826e | 260 | |
261 | %build | |
15d800b6 | 262 | %{__aclocal} -I m4 |
e899826e | 263 | %{__autoconf} |
264 | %{__automake} | |
15d800b6 JR |
265 | %configure \ |
266 | --enable-openssl \ | |
267 | --enable-gnome2-applet \ | |
268 | --enable-gnome3-applet \ | |
f2675bdf | 269 | --enable-qt4-qt3support \ |
15d800b6 | 270 | --enable-default-toolkit=gtk3 \ |
f2675bdf | 271 | --with-lispdir=%{_datadir}/emacs/site-lisp \ |
15d800b6 JR |
272 | --enable-dict \ |
273 | --enable-pref \ | |
274 | --enable-notify=libnotify \ | |
275 | --without-scim \ | |
ce8c7195 | 276 | --without-anthy \ |
15d800b6 JR |
277 | --with-anthy-utf8 \ |
278 | --with-canna \ | |
f2675bdf | 279 | --with-m17nlib \ |
15d800b6 JR |
280 | --with-mana \ |
281 | --with-prime \ | |
282 | --without-sj3 \ | |
283 | --without-skk \ | |
284 | --with-curl \ | |
285 | --with-expat \ | |
286 | --with-ssl-engine \ | |
287 | --with-sqlite3 \ | |
288 | --with-ffi \ | |
289 | --with-x \ | |
290 | --with-xft \ | |
291 | --with-gtk2 \ | |
292 | --with-gtk3 \ | |
f2675bdf JR |
293 | --with-qt \ |
294 | --with-qt-immodule \ | |
15d800b6 JR |
295 | --with-qt4 \ |
296 | --with-qt4-immodule \ | |
f2675bdf | 297 | --enable-kde4-applet \ |
15d800b6 JR |
298 | --with-libedit \ |
299 | --with-eb | |
300 | ||
734a1f7a | 301 | %{__make} -j1 |
e899826e | 302 | |
303 | %install | |
304 | rm -rf $RPM_BUILD_ROOT | |
f2675bdf | 305 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/X11/xinit/xinput.d \ |
ce8c7195 JR |
306 | $RPM_BUILD_ROOT%{_datadir}/{emacs/site-lisp,xemacs/site-packages/lisp}/site-start.d \ |
307 | $RPM_BUILD_ROOT%{_localstatedir}/lib/uim | |
e899826e | 308 | |
466aeaa9 | 309 | %{__make} -j1 install \ |
e899826e | 310 | DESTDIR=$RPM_BUILD_ROOT |
311 | ||
f2675bdf | 312 | # For XEmacs |
466aeaa9 | 313 | %{__make} -j1 install -C emacs \ |
f2675bdf JR |
314 | DESTDIR=$RPM_BUILD_ROOT \ |
315 | UIMEL_LISP_DIR=%{_datadir}/xemacs/site-packages/lisp/uim-el | |
316 | ||
15d800b6 JR |
317 | %{__rm} $RPM_BUILD_ROOT%{_libdir}{,/gtk*/*/immodules,/uim/*}/*.la |
318 | ||
f2675bdf JR |
319 | %{__sed} -e 's|@@LIB@@|%{_lib}|g' %{SOURCE1} >$RPM_BUILD_ROOT%{_sysconfdir}/X11/xinit/xinput.d/uim.conf |
320 | install -p %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/site-start.d/ | |
321 | install -p %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/xemacs/site-packages/lisp/site-start.d/ | |
322 | ||
ce8c7195 JR |
323 | mv $RPM_BUILD_ROOT%{_datadir}/uim/{installed-modules,loader}.scm $RPM_BUILD_ROOT%{_localstatedir}/lib/uim/ |
324 | ln -sf %{_localstatedir}/lib/uim/installed-modules.scm $RPM_BUILD_ROOT%{_datadir}/uim/ | |
325 | ln -sf %{_localstatedir}/lib/uim/loader.scm $RPM_BUILD_ROOT%{_datadir}/uim/ | |
326 | ||
327 | # Register additional input methods | |
328 | LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir} \ | |
329 | LIBUIM_SYSTEM_SCM_FILES=$RPM_BUILD_ROOT%{_datadir}/uim/lib \ | |
330 | LIBUIM_SCM_FILES=$RPM_BUILD_ROOT%{_datadir}/uim \ | |
331 | LIBUIM_PLUGIN_LIB_DIR=$RPM_BUILD_ROOT%{_libdir}/uim/plugin \ | |
332 | UIM_DISABLE_NOTIFY=1 \ | |
333 | $RPM_BUILD_ROOT%{_bindir}/uim-module-manager \ | |
334 | --path $RPM_BUILD_ROOT%{_localstatedir}/lib/uim \ | |
335 | --register tcode trycode hangul | |
336 | ||
337 | # Unregister methods that come from separate packages | |
338 | LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir} \ | |
339 | LIBUIM_SYSTEM_SCM_FILES=$RPM_BUILD_ROOT%{_datadir}/uim/lib \ | |
340 | LIBUIM_SCM_FILES=$RPM_BUILD_ROOT%{_datadir}/uim \ | |
341 | LIBUIM_PLUGIN_LIB_DIR=$RPM_BUILD_ROOT%{_libdir}/uim/plugin \ | |
342 | UIM_DISABLE_NOTIFY=1 \ | |
343 | $RPM_BUILD_ROOT%{_bindir}/uim-module-manager \ | |
344 | --path $RPM_BUILD_ROOT%{_localstatedir}/lib/uim \ | |
345 | --unregister anthy anthy-utf8 canna mana skk m17nlib | |
346 | ||
e899826e | 347 | %find_lang %{name} |
f2675bdf JR |
348 | %find_lang %{name}-chardict-qt |
349 | %find_lang %{name}-chardict-qt4 | |
e899826e | 350 | |
351 | %clean | |
352 | rm -rf $RPM_BUILD_ROOT | |
353 | ||
ce8c7195 JR |
354 | %post -p /sbin/ldconfig |
355 | %postun -p /sbin/ldconfig | |
356 | ||
357 | %post gtk2 | |
879f273b JR |
358 | %if "%{_lib}" != "lib" |
359 | %{_bindir}/gtk-query-immodules-2.0-64 > %{_sysconfdir}/gtk64-2.0/gtk.immodules | |
879f273b | 360 | %else |
e899826e | 361 | %{_bindir}/gtk-query-immodules-2.0 > %{_sysconfdir}/gtk-2.0/gtk.immodules |
879f273b | 362 | %endif |
e899826e | 363 | |
ce8c7195 | 364 | %postun gtk2 |
879f273b JR |
365 | %if "%{_lib}" != "lib" |
366 | %{_bindir}/gtk-query-immodules-2.0-64 > %{_sysconfdir}/gtk64-2.0/gtk.immodules | |
879f273b | 367 | %else |
5e1c7cdb | 368 | %{_bindir}/gtk-query-immodules-2.0 > %{_sysconfdir}/gtk-2.0/gtk.immodules |
ce8c7195 JR |
369 | %endif |
370 | ||
371 | %post gtk3 | |
372 | %if "%{_lib}" != "lib" | |
373 | %{_bindir}/gtk-query-immodules-3.0-64 --update-cache | |
374 | %else | |
879f273b JR |
375 | %{_bindir}/gtk-query-immodules-3.0 --update-cache |
376 | %endif | |
e899826e | 377 | |
ce8c7195 JR |
378 | %postun gtk3 |
379 | %if "%{_lib}" != "lib" | |
380 | %{_bindir}/gtk-query-immodules-3.0-64 --update-cache | |
381 | %else | |
382 | %{_bindir}/gtk-query-immodules-3.0 --update-cache | |
383 | %endif | |
384 | ||
385 | %post anthy | |
386 | %{_bindir}/uim-module-manager --path %{_localstatedir}/lib/uim --register anthy-utf8 | |
387 | ||
388 | %postun anthy | |
389 | if [ "$1" = "0" ]; then | |
390 | %{_bindir}/uim-module-manager --path %{_localstatedir}/lib/uim --unregister anthy-utf8 | |
391 | fi | |
392 | ||
393 | %post canna | |
394 | %{_bindir}/uim-module-manager --path %{_localstatedir}/lib/uim --register canna | |
395 | ||
396 | %postun canna | |
397 | if [ "$1" = "0" ]; then | |
398 | %{_bindir}/uim-module-manager --path %{_localstatedir}/lib/uim --unregister canna | |
399 | fi | |
400 | ||
401 | %post prime | |
402 | %{_bindir}/uim-module-manager --path %{_localstatedir}/lib/uim --register prime | |
403 | ||
404 | %postun prime | |
405 | if [ "$1" = "0" ]; then | |
406 | %{_bindir}/uim-module-manager --path %{_localstatedir}/lib/uim --unregister prime | |
407 | fi | |
408 | ||
409 | %post mana | |
410 | %{_bindir}/uim-module-manager --path %{_localstatedir}/lib/uim --register mana | |
411 | ||
412 | %postun mana | |
413 | if [ "$1" = "0" ]; then | |
414 | %{_bindir}/uim-module-manager --path %{_localstatedir}/lib/uim --unregister mana | |
415 | fi | |
416 | ||
417 | %post skk | |
418 | %{_bindir}/uim-module-manager --path %{_localstatedir}/lib/uim --register skk | |
419 | ||
420 | %postun skk | |
421 | if [ "$1" = "0" ]; then | |
422 | %{_bindir}/uim-module-manager --path %{_localstatedir}/lib/uim --unregister skk | |
423 | fi | |
424 | ||
425 | %post m17n | |
426 | %{_bindir}/uim-module-manager --path %{_localstatedir}/lib/uim --register m17nlib | |
427 | ||
428 | %postun m17n | |
429 | if [ "$1" = "0" ]; then | |
430 | %{_bindir}/uim-module-manager --path %{_localstatedir}/lib/uim --unregister m17nlib | |
431 | fi | |
432 | ||
e899826e | 433 | %files -f %{name}.lang |
434 | %defattr(644,root,root,755) | |
435 | %doc AUTHORS ChangeLog NEWS README | |
ce8c7195 | 436 | %doc fep/README.fep fep/README.fep.ja fep/README.fep.key xim/README.xim |
f2675bdf | 437 | %{_sysconfdir}/X11/xinit/xinput.d/uim.conf |
771d5eda JR |
438 | %attr(755,root,root) %{_bindir}/uim-fep |
439 | %attr(755,root,root) %{_bindir}/uim-fep-tick | |
440 | %attr(755,root,root) %{_bindir}/uim-help | |
771d5eda JR |
441 | %attr(755,root,root) %{_bindir}/uim-module-manager |
442 | %attr(755,root,root) %{_bindir}/uim-sh | |
443 | %attr(755,root,root) %{_bindir}/uim-xim | |
e899826e | 444 | %attr(755,root,root) %{_libdir}/lib*.so.*.*.* |
15d800b6 | 445 | %attr(755,root,root) %ghost %{_libdir}/lib*.so.[0-9] |
15d800b6 | 446 | %attr(755,root,root) %{_libdir}/uim-helper-server |
15d800b6 JR |
447 | %dir %{_libdir}/uim |
448 | %dir %{_libdir}/uim/notify | |
449 | %attr(755,root,root) %{_libdir}/uim/notify/libuimnotify*.so | |
450 | %dir %{_libdir}/uim/plugin | |
15d800b6 JR |
451 | %attr(755,root,root) %{_libdir}/uim/plugin/libuim-curl.so |
452 | %attr(755,root,root) %{_libdir}/uim/plugin/libuim-custom-enabler.so | |
453 | %attr(755,root,root) %{_libdir}/uim/plugin/libuim-eb.so | |
454 | %attr(755,root,root) %{_libdir}/uim/plugin/libuim-editline.so | |
455 | %attr(755,root,root) %{_libdir}/uim/plugin/libuim-expat.so | |
456 | %attr(755,root,root) %{_libdir}/uim/plugin/libuim-ffi.so | |
457 | %attr(755,root,root) %{_libdir}/uim/plugin/libuim-fileio.so | |
458 | %attr(755,root,root) %{_libdir}/uim/plugin/libuim-lolevel.so | |
459 | %attr(755,root,root) %{_libdir}/uim/plugin/libuim-look.so | |
15d800b6 JR |
460 | %attr(755,root,root) %{_libdir}/uim/plugin/libuim-openssl.so |
461 | %attr(755,root,root) %{_libdir}/uim/plugin/libuim-process.so | |
15d800b6 JR |
462 | %attr(755,root,root) %{_libdir}/uim/plugin/libuim-socket.so |
463 | %attr(755,root,root) %{_libdir}/uim/plugin/libuim-sqlite3.so | |
f2675bdf JR |
464 | %dir %{_datadir}/uim |
465 | %{_datadir}/%{name}/* | |
15d800b6 | 466 | %{_desktopdir}/uim.desktop |
15d800b6 | 467 | %{_mandir}/man1/*.1* |
ce8c7195 JR |
468 | %dir %{_localstatedir}/lib/uim |
469 | %verify(not md5 mtime size) %{_localstatedir}/lib/uim/*.scm | |
e899826e | 470 | |
f2675bdf JR |
471 | %files devel |
472 | %defattr(644,root,root,755) | |
473 | %attr(755,root,root) %{_libdir}/lib*.so | |
474 | %{_includedir}/%{name} | |
475 | %{_pkgconfigdir}/*.pc | |
476 | ||
477 | %files gtk2 | |
478 | %defattr(644,root,root,755) | |
771d5eda JR |
479 | %attr(755,root,root) %{_bindir}/uim-dict-gtk |
480 | %attr(755,root,root) %{_bindir}/uim-im-switcher-gtk | |
f2675bdf | 481 | %attr(755,root,root) %{_bindir}/uim-input-pad-ja |
771d5eda JR |
482 | %attr(755,root,root) %{_bindir}/uim-pref-gtk |
483 | %attr(755,root,root) %{_bindir}/uim-toolbar-gtk | |
484 | %attr(755,root,root) %{_bindir}/uim-toolbar-gtk-systray | |
485 | %attr(755,root,root) %{_libdir}/gtk-2.0/*/immodules/*.so | |
486 | %attr(755,root,root) %{_libdir}/uim-candwin-gtk | |
487 | %attr(755,root,root) %{_libdir}/uim-candwin-tbl-gtk | |
488 | ||
f2675bdf JR |
489 | %files gtk3 |
490 | %defattr(644,root,root,755) | |
771d5eda JR |
491 | %attr(755,root,root) %{_bindir}/uim-dict-gtk3 |
492 | %attr(755,root,root) %{_bindir}/uim-im-switcher-gtk3 | |
493 | %attr(755,root,root) %{_bindir}/uim-input-pad-ja-gtk3 | |
494 | %attr(755,root,root) %{_bindir}/uim-pref-gtk3 | |
495 | %attr(755,root,root) %{_bindir}/uim-toolbar-gtk3 | |
496 | %attr(755,root,root) %{_bindir}/uim-toolbar-gtk3-systray | |
497 | %attr(755,root,root) %{_libdir}/gtk-3.0/*/immodules/*.so | |
498 | %attr(755,root,root) %{_libdir}/uim-candwin-gtk3 | |
499 | %attr(755,root,root) %{_libdir}/uim-candwin-tbl-gtk3 | |
500 | ||
f2675bdf JR |
501 | %files gnome |
502 | %defattr(644,root,root,755) | |
503 | %attr(755,root,root) %{_libdir}/uim-toolbar-applet-gnome3 | |
504 | %{_datadir}/dbus-1/services/org.gnome.panel.applet.UimAppletFactory.service | |
505 | %{_datadir}/gnome-panel/4.0/applets/UimApplet.panel-applet | |
506 | ||
507 | %files qt -f %{name}-chardict-qt4.lang | |
508 | %defattr(644,root,root,755) | |
771d5eda JR |
509 | %attr(755,root,root) %{_bindir}/uim-chardict-qt4 |
510 | %attr(755,root,root) %{_bindir}/uim-im-switcher-qt4 | |
511 | %attr(755,root,root) %{_bindir}/uim-pref-qt4 | |
512 | %attr(755,root,root) %{_bindir}/uim-toolbar-qt4 | |
513 | %attr(755,root,root) %{_libdir}/qt4/plugins/inputmethods/*.so | |
514 | %attr(755,root,root) %{_libdir}/uim-candwin-qt4 | |
515 | ||
f2675bdf | 516 | %files qt3 -f %{name}-chardict-qt.lang |
e899826e | 517 | %defattr(644,root,root,755) |
f2675bdf JR |
518 | %attr(755,root,root) %{_bindir}/uim-chardict-qt |
519 | %attr(755,root,root) %{_bindir}/uim-im-switcher-qt | |
520 | %attr(755,root,root) %{_bindir}/uim-pref-qt | |
521 | %attr(755,root,root) %{_bindir}/uim-toolbar-qt | |
522 | %attr(755,root,root) %{_libdir}/uim-candwin-qt | |
523 | ||
524 | %files kde | |
525 | %defattr(644,root,root,755) | |
526 | %{_libdir}/kde4/plasma_applet_uim.so | |
527 | %{_datadir}/kde4/services/plasma-applet-uim.desktop | |
528 | ||
529 | %files -n emacs-uim | |
530 | %defattr(644,root,root,755) | |
531 | %{_datadir}/emacs/site-lisp/uim-el | |
532 | %{_datadir}/emacs/site-lisp/site-start.d/uim-init.el | |
533 | ||
534 | %files -n xemacs-uim | |
535 | %defattr(644,root,root,755) | |
536 | %{_datadir}/xemacs/site-packages/lisp/uim-el | |
537 | %{_datadir}/xemacs/site-packages/lisp/site-start.d/uim-init.el | |
538 | ||
539 | %files -n emacs-common-uim | |
540 | %defattr(644,root,root,755) | |
541 | %doc emacs/README | |
542 | %lang(ja) %doc emacs/README.ja | |
543 | %attr(755,root,root) %{_bindir}/uim-el-agent | |
544 | %attr(755,root,root) %{_bindir}/uim-el-helper-agent | |
545 | ||
546 | %files anthy | |
547 | %defattr(644,root,root,755) | |
ce8c7195 | 548 | %attr(755,root,root) %{_libdir}/uim/plugin/libuim-anthy*.so |
f2675bdf JR |
549 | %{_datadir}/uim/anthy*.scm |
550 | %{_datadir}/uim/pixmaps/anthy*.png | |
551 | ||
552 | %files canna | |
553 | %defattr(644,root,root,755) | |
554 | %{_datadir}/uim/canna*.scm | |
555 | %{_datadir}/uim/pixmaps/canna.png | |
556 | ||
557 | %files mana | |
558 | %defattr(644,root,root,755) | |
559 | %attr(755,root,root) %{_libdir}/uim/plugin/libuim-mana.so | |
560 | %{_datadir}/uim/mana*.scm | |
561 | %{_datadir}/uim/pixmaps/mana.png | |
562 | ||
ce8c7195 JR |
563 | %files prime |
564 | %defattr(644,root,root,755) | |
565 | %{_datadir}/uim/prime*.scm | |
566 | %{_datadir}/uim/pixmaps/prime.png | |
567 | ||
f2675bdf JR |
568 | %files skk |
569 | %defattr(644,root,root,755) | |
570 | %attr(755,root,root) %{_libdir}/uim/plugin/libuim-skk.so | |
571 | %{_datadir}/uim/skk*.scm | |
572 | %{_datadir}/uim/pixmaps/skk*.png | |
573 | %{_datadir}/uim/pixmaps/skk*.svg | |
574 | ||
575 | %files m17n | |
576 | %defattr(644,root,root,755) | |
577 | %attr(755,root,root) %{_bindir}/uim-m17nlib-relink-icons | |
578 | %attr(755,root,root) %{_libdir}/uim/plugin/libuim-m17nlib.so | |
579 | %{_datadir}/uim/m17nlib.scm | |
580 | %{_datadir}/uim/pixmaps/m17n*png |