uim-vl.spec 30 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048
  1. # disable feature if you run rpmbuild with '--without feature'
  2. %define with_emacsen %{?_without_emacsen:0}%{!?_without_emacsen:1}
  3. %define with_qt %{?_without_qt:0}%{!?_without_qt:1}
  4. %define with_qt4 %{?_without_qt4:0}%{!?_without_qt4:1}
  5. %define with_gnome %{?_without_gnome:0}%{!?_without_gnome:1}
  6. %define with_kde %{?_without_kde:0}%{!?_without_kde:1}
  7. %define with_mana %{?_without_mana:0}%{!?_without_mana:1}
  8. #define with_canna %{?_without_canna:0}%{!?_without_canna:1}
  9. %define with_canna 0
  10. %define qtver 3.3.8
  11. %define qtdir %{_libdir}/qt-%{qtver}
  12. #%%define extraver beta
  13. Summary: Uim an input method library
  14. Summary(ja): uim - 入力メソッドライブラリ
  15. Name: uim
  16. Version: 1.5.6
  17. Release: 5%{?_dist_release}
  18. URL: http://code.google.com/p/uim/
  19. Source0: http://uim.googlecode.com/files/uim-%{version}%{?extraver:-%extraver}.tar.bz2
  20. Source1: uim-el-install.sh
  21. Source2: uim-el-remove.sh
  22. Source3: uim-update-installed-modules.sh.in
  23. License: LGPLv2/BSD
  24. Group: System Environment/Libraries
  25. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  26. BuildRequires: libXft-devel libX11-devel libXext-devel
  27. BuildRequires: libXrender-devel libXau-devel libXdmcp-devel libXt-devel
  28. BuildRequires: gtk2-devel gnome-panel qt-devel qt4-devel
  29. BuildRequires: ncurses-devel libgnomeui-devel
  30. BuildRequires: anthy-devel m17n-lib-devel eb-devel
  31. BuildRequires: gettext-devel desktop-file-utils
  32. #BuildRequires: emacs libtool automake autoconf intltool
  33. BuildConflicts: uim-devel < 1.4.0
  34. Requires(post): ldconfig, coreutils, grep, sed
  35. Requires(postun): ldconfig, coreutils, grep, sed
  36. %description
  37. The uim is a collection of input method for a lot of languages.
  38. %description -l ja
  39. uim は様々な言語の入力メソッドのコレクションです。
  40. %package xim
  41. Summary: XIM frontend for Uim
  42. Summary(ja): uim を利用した XIM サーバ
  43. Group: User Interface/Desktops
  44. Requires: %{name} = %{version}-%{release}
  45. %description xim
  46. uim-xim is a XIM bridge of libuim.
  47. %description -l ja xim
  48. uim-xim は libuim を利用した XIM サーバです。
  49. XIM 経由で入力を行う場合に必要です。
  50. %package gtk
  51. Summary: GTK helper for uim
  52. Summary(ja): uim の GTK ヘルパー
  53. Group: User Interface/Desktops
  54. Requires: %{name} = %{version}-%{release}
  55. Requires: gtk2
  56. Requires(post): gtk2 >= 2.10.0, %{name} = %{version}
  57. Requires(postun): gtk2 >= 2.10.0
  58. %description gtk
  59. This package contains some applications like toolbar, system tray,
  60. input pad, candidate window, and preference tool using GTK.
  61. %description -l ja gtk
  62. このパッケージには、GTK を使ったツールバーやシステムトレイ、入力パッド、
  63. 候補ウィンドウ、設定ツールなどが含まれています。
  64. %if %{with_qt}
  65. %package qt
  66. Summary: Qt helper for uim
  67. Summary(ja): uim の Qt ヘルパー
  68. Group: User Interface/Desktops
  69. Requires: %{name}-xim = %{version}-%{release}
  70. Requires: %{name}-qt-common = %{version}-%{release}
  71. Obsoletes: %{name}-qt-immodule < 1.5.6-2
  72. Obsoletes: uim-qtkde-helper
  73. Provides: %{name}-qt-immodule = %{version}-%{release}
  74. Provides: uim-qtkde-helper
  75. %description qt
  76. This package contains some applications like toolbar, candidate window,
  77. and preference tool using Qt.
  78. %description -l ja qt
  79. このパッケージには、Qt を使ったツールバーや候補ウィンドウ、設定ツールなど
  80. が含まれています。
  81. %endif
  82. %if %{with_qt4}
  83. %package qt4
  84. Summary: Qt4 helper for uim
  85. Summary(ja): uim の Qt4 ヘルパー
  86. Group: User Interface/Desktops
  87. Requires: %{name}-xim = %{version}-%{release}
  88. Requires: %{name}-qt-common = %{version}-%{release}
  89. %description qt4
  90. This package contains some applications like toolbar, candidate window,
  91. and preference tool using Qt4.
  92. %description -l ja qt4
  93. このパッケージには、Qt4 を使ったツールバーや候補ウィンドウ、設定ツールなど
  94. が含まれています。
  95. %endif
  96. %if (%{with_qt}%{with_qt4})
  97. %package qt-common
  98. Summary: Qt support for Uim
  99. Group: User Interface/Desktops
  100. Requires: uim = %{version}-%{release}
  101. Obsoletes: %{name}-qt < 1.5.6-2
  102. %description qt-common
  103. This package contains the helper applications for Qt support.
  104. %endif
  105. #%if %{with_qtimm}
  106. #%package qt-immodule
  107. #Summary: A plugin for using Uim with Qt
  108. #Summary(ja): Qt で uim を使うためのプラグイン
  109. #Group: System Environment/Libraries
  110. #Requires: %{name} = %{version}-%{release}
  111. #Requires: qt = %{qtver}
  112. #BuildRequires: qt-devel = %{qtver}
  113. #%description qt-immodule
  114. #A Plugin for using Uim with Qt.
  115. #
  116. #%description -l ja qt-immodule
  117. #Qt アプリケーションで uim を使うためのプラグインです。
  118. #%endif
  119. %if %{with_gnome}
  120. %package applet
  121. Summary: GNOME2 panel applet for Uim
  122. Summary(ja): uim の GNOME2 用パネルアプレット
  123. Group: User Interface/Desktops
  124. BuildRequires: libgnomeui-devel
  125. Requires: %{name}-xim = %{version}-%{release}
  126. Requires: %{name}-gtk = %{version}-%{release}
  127. Requires: libgnomeui
  128. %description applet
  129. uim-applet is GNOME2 panel applet for uim.
  130. %description -l ja applet
  131. uim-applet は uim の入力状態を表示する GNOME2 用パネルアプレットです。
  132. %endif
  133. %if %{with_kde}
  134. %package kde-applet
  135. Summary: KDE3 panel applet for Uim
  136. Summary(ja): uim の KDE3 用パネルアプレット
  137. Group: User Interface/Desktops
  138. %if %{?_dist_release} == "vl6"
  139. BuildRequires: kdelibs3-devel
  140. Requires: kdelibs3
  141. %else
  142. BuildRequires: kdelibs-devel
  143. Requires: kdelibs
  144. %endif
  145. Requires: %{name}-xim = %{version}-%{release}
  146. Requires: %{name}-qt = %{version}-%{release}
  147. %description kde-applet
  148. uim-kde-applet is KDE3 panel applet for uim.
  149. %description -l ja kde-applet
  150. uim-kde-applet は uim の入力状態を表示する KDE3 用パネルアプレットです。
  151. %endif
  152. %package fep
  153. Summary: an Input Method for console
  154. Summary(ja): コンソール用インプットメソッド
  155. Group: Applications/System
  156. Requires: %{name} = %{version}-%{release}
  157. Requires: ncurses
  158. Obsoletes: uim-screen
  159. %description fep
  160. uim-fep is a FEP (Front End Processer) using uim as backend.
  161. %description -l ja fep
  162. uim-fep は uim を利用してコンソールで日本語を入力するための
  163. FEP (フロントエンドプロセッサ) です。
  164. %package anthy
  165. Summary: Anthy support for Uim
  166. Summary(ja): uim の Anthy モジュール
  167. Group: System Environment/Libraries
  168. Requires: %{name} = %{version}-%{release}
  169. Requires: anthy
  170. Requires(post): %{name} = %{version}-%{release}
  171. Requires(postun): %{name}
  172. Obsoletes: %{name} < 1.0.0
  173. %description anthy
  174. This package provides support for Anthy, a Japanese input method.
  175. %description -l ja anthy
  176. 連文節かな漢字変換エンジン Anthy を使って日本語を入力・変換するための
  177. モジュールです。
  178. %if %{with_canna}
  179. %package canna
  180. Summary: Canna support for Uim
  181. Summary(ja): uim の Canna モジュール
  182. Group: System Environment/Libraries
  183. BuildRequires: Canna-devel
  184. Requires: %{name} = %{version}-%{release}
  185. Requires: Canna
  186. Requires(post): %{name} = %{version}-%{release}
  187. Requires(postun): %{name}
  188. %description canna
  189. This package provides support for Canna, a Japanese input method.
  190. %description -l ja canna
  191. 連文節かな漢字変換エンジン Canna を使って日本語を入力・変換するための
  192. モジュールです。
  193. %endif
  194. %package skk
  195. Summary: SKK support for Uim
  196. Summary(ja): uim の SKK モジュール
  197. Group: System Environment/Libraries
  198. Requires: %{name} = %{version}-%{release}
  199. Requires: skkdic
  200. Requires(post): %{name} = %{version}-%{release}
  201. Requires(postun): %{name}
  202. %description skk
  203. This package provides support for SKK, a Japanese input method.
  204. %description -l ja skk
  205. SKK 入力方式で日本語を入力・変換するためのモジュールです。
  206. %if %{with_mana}
  207. %package mana
  208. Summary: Mana support for Uim
  209. Summary(ja): uim の真字モジュール
  210. Group: System Environment/Libraries
  211. BuildRequires: mana
  212. Requires: %{name} = %{version}-%{release}
  213. Requires: mana, manadic
  214. Requires(post): %{name} = %{version}-%{release}
  215. Requires(postun): %{name}
  216. %description mana
  217. This package provides support for mana, a Japanese input method.
  218. %description -l ja mana
  219. 連文節かな漢字変換エンジン 真字 (Mana) を使って日本語を入力・変換するための
  220. モジュールです。
  221. %endif
  222. %if %{with_emacsen}
  223. %package el
  224. Summary: Emacsen uim bridge
  225. Summary(ja): Emacsen-uim ブリッジ
  226. Group: Applications/Editors/Emacs
  227. PreReq: emacsen-common
  228. Requires: %{name} = %{version}-%{release}, emacsen
  229. BuildRequires: emacsen
  230. %description el
  231. uim.el is a bridge software between Emacsen and uim.
  232. uim.el makes you able to use uim supported IMs from Emacs
  233. directly.
  234. %description -l ja el
  235. uim.el は uim と Emacsen を結ぶブリッジです。
  236. uim.el を導入すると、Emacsen 上で uim を利用した文字入力が可能と
  237. なります。
  238. %endif
  239. %package m17n
  240. Summary: m17n-lib support for Uim
  241. Group: System Environment/Libraries
  242. Requires: uim = %{version}-%{release}
  243. Requires(post): gtk2 /usr/bin/uim-module-manager
  244. Requires(postun): gtk2 /usr/bin/uim-module-manager
  245. %description m17n
  246. This package provides support for m17n-lib, which allows input of
  247. many languages using the input table map from m17n-db.
  248. %package devel
  249. Summary: Development tools for libuim applications.
  250. Summary(ja): libuim を使ったアプリケーションを開発するためのファイル
  251. Group: Development/Libraries
  252. Requires: %{name} = %{version}-%{release}
  253. %description devel
  254. uim-devel package contains the header files and static libraries to
  255. develop a libuim applications.
  256. %description -l ja devel
  257. uim-devel パッケージには libuim を利用したアプリケーションを開発
  258. するためのヘッダファイルとライブラリが含まれています。
  259. %prep
  260. %setup -q -n %{name}-%{version}%{?extraver:-%extraver}
  261. %build
  262. %if %{with_qt}
  263. export QTDIR=%{qtdir}
  264. %endif
  265. %configure --with-x --with-xft \
  266. --with-anthy --with-anthy-utf8 \
  267. --without-scim --without-prime \
  268. --with-gtk2 \
  269. --with-m17nlib \
  270. --with-eb --with-eb-conf=%{_sysconfdir}/eb.conf \
  271. --disable-static \
  272. %if %{with_gnome}
  273. --enable-gnome-applet \
  274. %else
  275. --disable-gnome-applet \
  276. %endif
  277. %if %{with_qt}
  278. --with-qt \
  279. --with-qt-immodule \
  280. %else
  281. --without-qt \
  282. --without-qt-immodule \
  283. %endif
  284. %if %{with_qt4}
  285. --with-qt4-immodule \
  286. %else
  287. --without-qt4-immodule \
  288. %endif
  289. %if %{with_kde}
  290. --enable-kde-applet \
  291. %else
  292. --disable-kde-applet \
  293. %endif
  294. %if %{with_canna}
  295. --with-canna \
  296. %else
  297. --without-canna \
  298. %endif
  299. %if !%{with_emacsen}
  300. --disable-emacs \
  301. %endif
  302. %if %{with_mana}
  303. --with-mana
  304. %else
  305. --without-mana
  306. %endif
  307. #%if %{with_qtimm}
  308. # --with-qt-immodule \
  309. #%else
  310. # --without-qt-immodule \
  311. #%endif
  312. sed -i -e 's/^\(hardcode_direct=\)$/\1no/' -e 's/^\(hardcode_minus_L=\)$/\1no/' -e 's/^\(libext=\)$/\1"a"/' libtool
  313. LD_LIBRARY_PATH=$RPM_BUILD_DIR/%{name}-%{version}/uim/.libs:$LD_LIBRARY_PATH make
  314. %install
  315. [ "%{buildroot}" != "/" ] && %__rm -rf %{buildroot}
  316. # remove anthy,canna,skk,mana from {installed-modules,loader}.scm
  317. #pushd scm
  318. #srcdir=%{_builddir}/%{buildsubdir}
  319. #LIBUIM_SCM_FILES=${srcdir}/scm LIBUIM_PLUGIN_LIB_DIR=${srcdir}/uim/.libs \
  320. # %{_builddir}/%{buildsubdir}/uim/uim-module-manager \
  321. # --path ${srcdir}/scm --unregister anthy skk mana
  322. #popd
  323. make install DESTDIR=%{buildroot}
  324. %find_lang %{name}
  325. # remove unneeded files
  326. %__rm -f %{buildroot}%{_libdir}/lib*.la
  327. %__rm -f %{buildroot}%{_datadir}/uim/scim.scm
  328. #__rm -f %{buildroot}%{_datadir}/uim/m17nlib.scm
  329. %__rm -f %{buildroot}%{_datadir}/uim/prime.scm
  330. %__rm -f %{buildroot}%{_datadir}/uim/prime-*.scm
  331. %__rm -f %{buildroot}%{_libdir}/gtk-2.0/*/immodules/*.{a,la}
  332. %__rm -f %{buildroot}%{_libdir}/uim/plugin/*.{a,la}
  333. %__rm -f %{buildroot}%{_datadir}/uim/pixmaps/scim.*
  334. %__rm -f %{buildroot}%{_datadir}/uim/pixmaps/prime*.*
  335. %__rm -f %{buildroot}%{qtdir}/plugins/inputmethods/*.{a,la}
  336. %if ! %{with_canna}
  337. %__rm -f %{buildroot}%{_libdir}/uim/plugin/libuim-canna.so
  338. %__rm -f %{buildroot}%{_datadir}/uim/canna*.scm
  339. %__rm -f %{buildroot}%{_datadir}/uim/pixmaps/canna.*
  340. %endif
  341. %if ! %{with_mana}
  342. %__rm -f %{buildroot}%{_libdir}/uim/plugin/libuim-mana.so
  343. %__rm -f %{buildroot}%{_datadir}/uim/mana.scm
  344. %__rm -f %{buildroot}%{_datadir}/uim/mana-*.scm
  345. %__rm -f %{buildroot}%{_datadir}/uim/pixmaps/mana.*
  346. %endif
  347. %if %{with_qt}
  348. #find_lang %{name}-chardict-qt
  349. %else
  350. %__rm -f %{buildroot}%{_datadir}/locale/*/LC_MESSAGES/uim-chardict-qt.mo
  351. %endif
  352. %if %{with_emacsen}
  353. %__mkdir_p %{buildroot}%{_prefix}/lib/emacsen-common/packages/install
  354. %__mkdir_p %{buildroot}%{_prefix}/lib/emacsen-common/packages/remove
  355. %_installemacsenscript %{name}-el %{SOURCE1}
  356. %_removeemacsenscript %{name}-el %{SOURCE2}
  357. %endif
  358. # move documents for sigscheme
  359. %__rm -rf installed-doc
  360. %__mkdir installed-doc
  361. %__mv -f %{buildroot}%{_docdir}/sigscheme installed-doc/
  362. # script to register prefered engine
  363. %__cat %{SOURCE3} \
  364. | sed -e "s|@BINDIR@|%{_bindir}|g" \
  365. -e "s|@SYSCONFDIR@|%{_sysconfdir}|g" \
  366. -e "s|@DATADIR@|%{_datadir}|g" \
  367. > update-installed-modules.sh
  368. %__install -m755 update-installed-modules.sh %{buildroot}%{_datadir}/%{name}
  369. # prefered engines
  370. %__mkdir_p %{buildroot}%{_sysconfdir}/sysconfig
  371. %__cat << EOF > %{buildroot}%{_sysconfdir}/sysconfig/uim
  372. PREFERED_ENGINE=anthy
  373. EOF
  374. %clean
  375. [ "%{buildroot}" != "/" ] && %__rm -rf %{buildroot}
  376. %post -p /sbin/ldconfig
  377. %postun -p /sbin/ldconfig
  378. %post gtk
  379. %{_bindir}/gtk-query-immodules-2.0 > %{_sysconfdir}/gtk-2.0/%{_arch}/gtk.immodules ||:
  380. %postun gtk
  381. if [ $1 = 0 ] ; then
  382. %{_bindir}/gtk-query-immodules-2.0 > %{_sysconfdir}/gtk-2.0/%{_arch}/gtk.immodules ||:
  383. fi
  384. %post anthy
  385. %{_datadir}/uim/update-installed-modules.sh --register anthy > /dev/null 2>&1
  386. %preun anthy
  387. if [ $1 = 0 ] ; then
  388. %{_bindir}/uim-module-manager --unregister anthy > /dev/null 2>&1
  389. fi
  390. %if %{with_canna}
  391. %post canna
  392. %{_datadir}/uim/update-installed-modules.sh --register canna > /dev/null 2>&1
  393. %preun canna
  394. if [ $1 = 0 ] ; then
  395. %{_bindir}/uim-module-manager --unregister canna > /dev/null 2>&1
  396. fi
  397. %endif
  398. %post skk
  399. %{_datadir}/uim/update-installed-modules.sh --register skk > /dev/null 2>&1
  400. %preun skk
  401. if [ $1 = 0 ] ; then
  402. %{_bindir}/uim-module-manager --unregister skk > /dev/null 2>&1
  403. fi
  404. %if %{with_mana}
  405. %post mana
  406. %{_datadir}/uim/update-installed-modules.sh --register mana > /dev/null 2>&1
  407. %preun mana
  408. if [ $1 = 0 ] ; then
  409. %{_bindir}/uim-module-manager --unregister mana > /dev/null 2>&1
  410. fi
  411. %endif
  412. %if %{with_emacsen}
  413. %post el
  414. if [ $1 = 2 ] ; then
  415. %_emacsenPackageRemove %{name}-el
  416. fi
  417. %_addemacsenlist %{name}-el
  418. %_emacsenPackageInstall %{name}-el
  419. %preun el
  420. if [ $1 = 0 ] ; then
  421. %_emacsenPackageRemove %{name}-el
  422. %_removeemacsenlist %{name}-el
  423. fi
  424. %endif
  425. %post m17n
  426. %{_datadir}/uim/update-installed-modules.sh --register m17nlib > /dev/null 2>&1
  427. %preun m17n
  428. if [ $1 = 0 ] ; then
  429. %{_bindir}/uim-module-manager --unregister m17nlib > /dev/null 2>&1
  430. fi
  431. %files -f %{name}.lang
  432. %defattr(-,root,root)
  433. %doc README* ChangeLog* INSTALL* AUTHORS COPYING
  434. %config(noreplace) %{_sysconfdir}/sysconfig/uim
  435. %{_bindir}/uim-sh
  436. %{_bindir}/uim-module-manager
  437. %{_libdir}/*.so.*
  438. %{_datadir}/uim
  439. %exclude %{_datadir}/uim/anthy*.scm
  440. %exclude %{_datadir}/uim/skk*.scm
  441. %exclude %{_datadir}/uim/pixmaps/anthy.*
  442. %exclude %{_datadir}/uim/pixmaps/skk.*
  443. %if %{with_canna}
  444. %exclude %{_datadir}/uim/canna*.scm
  445. %exclude %{_datadir}/uim/pixmaps/canna.*
  446. %endif
  447. %if %{with_mana}
  448. %exclude %{_datadir}/uim/mana.scm
  449. %exclude %{_datadir}/uim/mana-*.scm
  450. %exclude %{_datadir}/uim/pixmaps/mana.*
  451. %endif
  452. %dir %{_libdir}/uim
  453. %dir %{_libdir}/uim/plugin
  454. %{_libdir}/uim/plugin/libuim-custom-enabler.so
  455. %{_libdir}/uim/plugin/libuim-look.so
  456. %{_libexecdir}/uim-helper-server
  457. %files xim
  458. %defattr(-,root,root)
  459. %doc xim/README
  460. %{_bindir}/uim-xim
  461. %{_mandir}/man1/uim-xim.1*
  462. %files gtk
  463. %defattr(-,root,root)
  464. %{_bindir}/uim-*-gtk*
  465. %{_bindir}/uim-input-pad-ja
  466. %{_libexecdir}/uim-candwin-gtk
  467. %{_libdir}/gtk-2.0/*/immodules/*.so
  468. %{_datadir}/applications/uim.desktop
  469. %if %{with_qt}
  470. #%files qt -f %{name}-chardict-qt.lang
  471. %files qt
  472. %defattr(-,root,root)
  473. %doc AUTHORS COPYING ChangeLog* NEWS README
  474. %{qtdir}/plugins/inputmethods/*.so
  475. %endif
  476. %if %{with_qt4}
  477. %files qt4
  478. %defattr(-,root,root)
  479. %doc AUTHORS COPYING ChangeLog* NEWS qt4/immodule/README.en
  480. %lang(ja) %doc qt4/immodule/README.ja
  481. %{_libdir}/qt-4*/plugins/inputmethods/*.so
  482. %endif
  483. %if (%{with_qt}%{with_qt4})
  484. %files qt-common
  485. %defattr(-,root,root)
  486. %doc AUTHORS COPYING ChangeLog* NEWS README
  487. # BSD and LGPLv2+
  488. %{_bindir}/uim-chardict-qt
  489. # BSD
  490. %{_bindir}/uim-im-switcher-qt
  491. # BSD and LGPLv2+
  492. %{_bindir}/uim-pref-qt
  493. # BSD
  494. %{_bindir}/uim-toolbar-qt
  495. %{_libexecdir}/uim-candwin-qt
  496. %endif
  497. #%if %{with_qtimm}
  498. #%files qt-immodule
  499. #%defattr(-,root,root)
  500. #%endif
  501. %if %{with_gnome}
  502. %files applet
  503. %defattr(-,root,root)
  504. %{_libdir}/bonobo/servers/*
  505. %{_libexecdir}/uim-toolbar-applet
  506. %endif
  507. %if %{with_kde}
  508. %files kde-applet
  509. %defattr(-,root,root)
  510. %{_libdir}/kde3/uim_panelapplet.*
  511. %{_datadir}/apps/kicker/applets/uimapplet.desktop
  512. %endif
  513. %files fep
  514. %defattr(-,root,root)
  515. %doc fep/README* fep/INSTALL fep/COPYING
  516. %{_bindir}/uim-fep
  517. %{_bindir}/uim-fep-tick
  518. %files anthy
  519. %defattr(-,root,root)
  520. %{_libdir}/uim/plugin/libuim-anthy.so
  521. %{_libdir}/uim/plugin/libuim-anthy-utf8.so
  522. %{_datadir}/uim/anthy*.scm
  523. %{_datadir}/uim/pixmaps/anthy.*
  524. %if %{with_canna}
  525. %files canna
  526. %defattr(-,root,root)
  527. %{_libdir}/uim/plugin/libuim-canna.so
  528. %{_datadir}/uim/canna*.scm
  529. %{_datadir}/uim/pixmaps/canna.*
  530. %endif
  531. %files skk
  532. %defattr(-,root,root)
  533. %{_libdir}/uim/plugin/libuim-skk.so
  534. %{_datadir}/uim/skk*.scm
  535. %{_datadir}/uim/pixmaps/skk.*
  536. %if %{with_mana}
  537. %files mana
  538. %defattr(-,root,root)
  539. %{_libdir}/uim/plugin/libuim-mana.so
  540. %{_datadir}/uim/mana.scm
  541. %{_datadir}/uim/mana-*.scm
  542. %{_datadir}/uim/pixmaps/mana.*
  543. %endif
  544. %if %{with_emacsen}
  545. %files el
  546. %defattr(-,root,root)
  547. %doc emacs/COPYING emacs/README*
  548. %{_bindir}/uim-el-agent
  549. %{_bindir}/uim-el-helper-agent
  550. %{_datadir}/emacs/site-lisp/uim-el
  551. %{_prefix}/lib/emacsen-common/packages/*/%{name}-el
  552. %endif
  553. %files m17n
  554. %defattr (-, root, root, -)
  555. %doc AUTHORS COPYING ChangeLog* NEWS README
  556. %{_bindir}/uim-m17nlib-relink-icons
  557. %{_libdir}/uim/plugin/libuim-m17nlib.so
  558. %{_datadir}/uim/m17nlib.scm
  559. #{_datadir}/uim/pixmaps/m17n*png
  560. %dir %{_datadir}/uim
  561. %files devel
  562. %defattr(-,root,root)
  563. %doc doc/PLUGIN installed-doc/sigscheme
  564. %{_libdir}/*.so
  565. #{_libdir}/*.a
  566. #{_libdir}/*.la
  567. %{_includedir}/*.h
  568. %{_includedir}/uim
  569. %{_includedir}/sigscheme
  570. %{_libdir}/pkgconfig/*
  571. %changelog
  572. * Fri Jan 22 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.5.6-5
  573. - rebuilt with qt-4.6.1
  574. * Sun Oct 25 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.5.6-4
  575. - fixed kde-applet Requires:
  576. * Sat Oct 24 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.5.6-3
  577. - fixed kde-applet BR
  578. * Fri Oct 23 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.5.6-2
  579. - made uim-qt4, uim-qt-common sub-package
  580. * Thu Jul 23 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.5.6-1
  581. - applied new versioning policy, spec in UTF-8
  582. - new upstream release
  583. - disabled canna subpackage
  584. - added m17n subpackage
  585. - removed lib*.la, lib*.a from devel package
  586. * Sun Apr 6 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.2-1vl5
  587. - new upstream release
  588. * Sun Aug 19 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.1-0vl5
  589. - rebuild with qt-3.3.8-0vl2
  590. * Tue May 15 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.1-0vl4
  591. - rebuild with new environment/toolchain
  592. * Sun Apr 29 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.1-0vl3
  593. - rebuild with gtk+-2.10
  594. * Mon Mar 26 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.4.1-0vl2
  595. - add BuildConflicts: uim-devel < 1.4.0
  596. * Sun Mar 25 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.4.1-0vl1
  597. - upstream release
  598. * Sat Feb 10 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.4.0-0vl1
  599. - upstream release
  600. - run uim-module-manager with absolute path in %%install section
  601. - add '--disable-static' option to %%configure
  602. * Mon Dec 25 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.1-0vl2
  603. - add Requires: manadic to uim-mana package
  604. - add Japanese summaries and descriptions
  605. - add new sub-package: uim-kde-applet
  606. * Fri Dec 22 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.1-0vl1
  607. - upstream release
  608. * Sun Dec 17 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.0-0vl1
  609. - upstream release
  610. - drop obsolete workaround-for-flashplayer.patch (patch11)
  611. * Sun Oct 29 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.2.1-0vl6
  612. - add workaround-for-flashplayer.patch (svn trunk r3938:r3941)
  613. * Tue Sep 26 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.2.1-0vl5
  614. - add support for immodule for Qt
  615. * Thu Sep 14 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.2.1-0vl4.0qtimm.1
  616. - add Requires: %%{name}-qt-immodule (qt) if qtimm is enabled
  617. * Thu Sep 14 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.2.1-0vl4.0qtimm
  618. - add support for immodule for Qt
  619. * Tue Sep 12 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.2.1-0vl4
  620. - add --without-eb option to %%configure
  621. * Mon Sep 11 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.1-0vl3
  622. - changed uim-el Group to Appliations/Editors/Emacs <BTS:VineLinux:163>
  623. - changed uim-applet Group to User Interface/Desktops
  624. * Fri Sep 01 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.2.1-0vl2
  625. - add %%with_canna, %%with_gnome
  626. - use %%{_prefix}/lib instead of %%{_libdir} for elisp directory
  627. - for biarch support
  628. - update required gtk2 version (>= 2.8.13)
  629. - use %%{_sysconfdir}/gtk-2.0/%%{_arch}/gtk.immodules
  630. * Mon Aug 14 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.2.1-0vl1
  631. - upstream release
  632. * Fri Aug 11 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.2.0-0vl1
  633. - upstream release
  634. - add Makefile.patch (patch1)
  635. * Sat Jul 08 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.1-0vl1
  636. - upstream release
  637. - drop Obsoletes: %%{name} < 1.0.0 from uim-mana
  638. - move %%postun el script to %%preun el
  639. * Sat Jun 10 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.0-0vl1
  640. - upstream release
  641. * Sun Jun 04 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.0-0vl0.0beta.1
  642. - add Requires(post): %{name} = %{version} for uim-gtk
  643. * Fri Jun 02 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.0-0vl0.0beta
  644. - update to uim-1.1.0-beta
  645. * Sun May 28 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.0-0vl0.0alpha.1
  646. - update uim-update-installed-modules.sh (source3) for uim-1.1.0-alpha
  647. * Sun May 28 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.0-0vl0.0alpha
  648. - update to uim-1.1.0-alpha
  649. - update desktop.patch (patch0), kanji-key.patch (patch10)
  650. - update %%files
  651. * Sun May 28 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0.1-0vl5
  652. - fix %%preun script to avoid incorrect re-registration
  653. - add mana support
  654. * Wed Apr 12 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0.1-0vl4
  655. - add uim-update-installed-modules.sh (source3)
  656. * Tue Jan 10 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0.1-0vl3
  657. - fix typo
  658. - remove prime*.scm
  659. * Sat Dec 31 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0.1-0vl2
  660. - separate uim-{anthy,canna,skk} sub-packages
  661. - update {installed-modules,loader}.scm at %%install
  662. * Fri Dec 30 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0.1-0vl1
  663. - upstream release
  664. - drop anthy-use-with-vi.patch
  665. - update desktop.patch
  666. - change groups
  667. - add Requires: libgnomeui to uim-applet sub-package
  668. - add uim-gtk sub-package
  669. - move uim-*-gtk, uim.desktop from main package
  670. - move uim-candwin-gtk from uim-xim sub-package
  671. - add uim-qt sub-package
  672. - BuildRequires: qt-devel
  673. - Obsoletes/Provides: uim-qtkde-helper
  674. - add uim-el sub-package
  675. - add uim-el-{install,remove}.sh (source1,2)
  676. - BuildRequires: emacsen
  677. * Sat Oct 01 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.4.9.1-0vl1
  678. - [SECURITY] upstream release
  679. - fix privilege escalation
  680. - reverse-import desktop.patch (patch0) from momonga
  681. * Fri Sep 30 2005 Ichiro Nakai <ichiro@n.email.ne.jp>
  682. - (0.4.9.1-2m)
  683. - revise Patch10: uim-0.4.9.1-desktop.patch
  684. * Thu Sep 29 2005 Ichiro Nakai <ichiro@n.email.ne.jp>
  685. - (0.4.9.1-1m)
  686. - import and modify desktop.patch from VineSeedPlus
  687. * Sat Sep 17 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.4.9-0vl1
  688. - upstream release
  689. * Tue Aug 23 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.4.8-0vl1
  690. - upstream release
  691. - update anthy-use-with-vi patch (patch11)
  692. - implemented in svn r1197
  693. - update desktop.patch (patch0)
  694. * Sat Aug 06 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.4.7.1-0vl2
  695. - make uim-anthy friendly for vi users (patch11)
  696. - exit vi's insert mode and switch IM to Latin mode
  697. * Wed Aug 03 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.4.7.1-0vl1
  698. - upstream release
  699. * Sat Jul 23 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.4.7-0vl3
  700. - remove %%{_libdir}/uim/plugin/*.{a,la}
  701. - add doc/PLUGIN instead of doc/LIB (uim-devel)
  702. * Mon Jul 18 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.4.7-0vl2
  703. - update uim.desktop (patch0)
  704. * Sun Jul 17 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.4.7-0vl1
  705. - [SECURITY] new upstream release
  706. - use ja.po in source archive
  707. - add BuildRequires:
  708. - ncurses-devel, libbonoboui-devel, libgnomeui-devel, anthy-devel
  709. - add new files:
  710. - uim package:
  711. - %%{_bindir}/uim-pref-gtk
  712. - %%{_bindir}/uim-im-swicher-gtk (instead of uim-im-switcher)
  713. - %%{_libdir}/uim
  714. - %%{_datadir}/applications/uim.desktop
  715. - use %%find_lang macro
  716. - update kanji-key.patch (patch10)
  717. * Wed Oct 20 2004 IWAI, Masaharu <iwai@alib.jp> 0.4.5-0vl1
  718. - new upstream release
  719. - add new files:
  720. - uim package: uim-toolbar-gtk, uim-toolbar-gtk-systray
  721. uim-im-switcher and uim-input-pad-ja in %%{_bindir}
  722. - uim-xim package: %%{_bindir}/uim-candwin-gtk
  723. - uim-applet package: %%{_libexecdir}/uim-toolbar-applet
  724. - update ja.po ( Source10 ): based original po file
  725. - update kanji-key patch ( Patch10 )
  726. - drop unnecessary patches:
  727. - skk.scm patch ( Patch1 )
  728. - prime patch ( Patch2 )
  729. - xim_crash patch ( Patch3 )
  730. * Sat Sep 11 2004 IWAI, Masaharu <iwai@alib.jp> 0.4.3-0vl1
  731. - new upstream release
  732. - add some files in devel package
  733. - update ja.po ( Source10 )
  734. - update kanji-key patch ( Patch10 )
  735. - add skk.scm patch ( Patch1 ): from subversion repository ( [Anthy-dev 1029] )
  736. - add prime patch ( Patch2 ): from [Anthy-dev 1031]
  737. - add xim_crash patch ( Patch3 ): from [Anthy-dev 1033]
  738. * Wed Jun 23 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.1-0vl1
  739. - new upstream release
  740. - obsoletes uim-screen
  741. - add uim-fep
  742. * Mon Jun 14 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.9-0vl1
  743. - new upstream release
  744. * Tue May 18 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.8-0vl1
  745. - new upstream release
  746. * Mon May 17 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.7-0vl1
  747. - new upstream release
  748. * Thu May 6 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.6-0vl1
  749. - new upstream release
  750. * Wed Apr 7 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.4.2-0vl1
  751. - new upstream release
  752. * Wed Apr 7 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.4.1-0vl1
  753. - new upstream release
  754. * Sun Mar 21 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.3-0vl1
  755. - new upstream release
  756. * Fri Mar 19 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.2-0vl2
  757. - rebuild with gtk+-2.4.0
  758. - add Patch0 to use \$(GTK_VERSION) in gtk/Makefile
  759. * Sun Mar 7 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.2-0vl1
  760. - new upstream release
  761. * Mon Mar 1 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.1-0vl1
  762. - new upstream release
  763. * Sun Feb 29 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.0.1-0vl1
  764. - new upstream release
  765. * Mon Feb 23 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.0-0vl1
  766. - new upstream release
  767. - add uim-screen subpackage
  768. - add documentations
  769. - drop obsolete patches
  770. * Thu Feb 05 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.8-0vl1
  771. - new upstream release
  772. * Tue Jan 27 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.7-0vl1
  773. - new upstream release
  774. * Sat Jan 24 2004 IWAI, Masaharu <iwai@alib.jp> 0.2.5.2-0vl1
  775. - new upstream release
  776. * Mon Jan 12 2004 IWAI, Masaharu <iwai@alib.jp> 0.2.4-0vl2
  777. - add %%{_includedir}/uim directory in uim-devel package
  778. - update URL and Source0 values: moved the project web site
  779. * Sun Jan 11 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.4-0vl1
  780. - new upstream release
  781. * Tue Jan 06 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.3.1-0vl1
  782. - new upstream release
  783. * Wed Dec 31 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.2-0vl1
  784. - new upstream release
  785. * Tue Dec 23 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.1-0vl1
  786. - new upstream release
  787. * Mon Dec 08 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.0-0vl1
  788. - new upstream release
  789. * Tue Dec 02 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.7-0vl1
  790. - new upstream release
  791. * Thu Nov 27 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.6-0vl1
  792. - new upstream release
  793. * Mon Nov 10 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.5-0vl1
  794. - new upstream release
  795. * Sun Nov 02 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.4.1-0vl1
  796. - new upstream release
  797. - split xim/uim-applet stuff to sub packages
  798. * Wed Oct 14 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.2-0vl1
  799. - new upstream release
  800. * Wed Oct 08 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.0-0vl2
  801. - add patch10 to use "Kanji" keysyms instead of "Zenkaku-Hankaku"
  802. - update ja.po
  803. * Wed Oct 08 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.0-0vl1
  804. - new upstream release
  805. - add patch0 to make status window smaller.
  806. * Sun Oct 05 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.9-0vl1
  807. - new upstream release
  808. * Mon Sep 29 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.8-0vl1
  809. - new upstream release
  810. * Sat Sep 27 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.7-0vl1
  811. - new upstream release
  812. * Sun Sep 14 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.6-0vl1
  813. - new upstream release
  814. - split development files to uim-devel subpackage.
  815. * Sun Sep 07 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.4-0vl1
  816. - new upstream release
  817. * Sat Aug 30 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.2.1-0vl1
  818. - new upstream release
  819. * Fri Aug 29 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.1-0vl2
  820. - run ldconfig in %%post and %%postun script
  821. - remove uim entry from gtk.immodule when uim is removed
  822. * Fri Aug 29 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.1-0vl1
  823. - build for Vine Linux
  824. - add Japanese summary and description
  825. * Wed Aug 27 2003 Yuhei Matsunaga <yuhei@users.sourceforge.jp> 0.0.1-1
  826. - Version updated.
  827. - Added serial for version number.
  828. - Added uim-comm-client and uim-comm-server.
  829. * Fri Aug 15 2003 Yuhei Matsunaga <yuhei@users.sourceforge.jp> 2013-1
  830. - Version updated.
  831. - Added Japanese locale file.
  832. * Tue Aug 12 2003 Yuhei Matsunaga <yuhei@users.sourceforge.jp> 2010-1
  833. - Version updated.
  834. * Sun Aug 10 2003 Yuhei Matsunaga <yuhei@users.sourceforge.jp> 2005-1
  835. - Version updated.
  836. - Removed --without-canna option at configure.
  837. - Added Canna-devel to BuildRequires.
  838. - Changed command for cleaning rpm_build_root because of the safety.
  839. * Tue Aug 5 2003 Yuhei Matsunaga <yuhei@users.sourceforge.jp> 2002-1
  840. - Version updated.
  841. - Used _prefix variable.
  842. - Added uim-xim.
  843. - Added BuildRequires.
  844. * Sun Jul 5 2003 Yuhei Matsunaga <yuhei@users.sourceforge.jp> 1928-1
  845. - Version updated.
  846. * Sun Jul 5 2003 Yuhei Matsunaga <yuhei@users.sourceforge.jp> 1903-1
  847. - Version updated.
  848. - Added description.
  849. * Sat Dec 7 2002 TABATA Yusuke <yusuke@localhost.localdomain>
  850. - Initial build.