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