uim-vl.spec 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326
  1. %global commit c79432cb5aba3a67fb7e7557f4817c749865cc8a
  2. %global shortcommit %(c=%{commit}; echo ${c:0:7})
  3. %global sigscheme_commit cfcb6dd2ae93fd7b22b5e3a1403e2f0197602c79
  4. %global sigscheme_shortcommit %(c=%{sigscheme_commit}; echo ${c:0:7})
  5. %global sigscheme_version 0.9.0
  6. %global libgcroots_commit 514c4fe1af59b39e2b4b68f0a3c55b8bf573b4dc
  7. %global libgcroots_shortcommit %(c=%{libgcroots_commit}; echo ${c:0:7})
  8. %global libgcroots_version 0.3.1
  9. # build emacsen uim bridge ("--without emacs" to disable)
  10. %bcond_without emacsen
  11. # do not build gtk2 immodule ("--with qt3" to enable qt3)
  12. %bcond_with gtk2
  13. # do not build qt3 immodule ("--with qt3" to enable qt3)
  14. %bcond_with qt3
  15. # build qt4 immodule ("--without qt4" to disable qt4)
  16. %bcond_without qt4
  17. # build qt5 immodule ("--without qt5" to disable qt4)
  18. %bcond_without qt5
  19. # do not build KDE applet ("--with kde" to enable kde)
  20. %bcond_with kde
  21. # build mana support ("--without mana" to disable mana)
  22. %bcond_without mana
  23. # do not build GNOME applet ("--with gnome" to enable gnome)
  24. %bcond_with gnome
  25. # do not build Canna module ("--with canna" to enable canna)
  26. %bcond_with canna
  27. %if %{with qt3}
  28. # Qt3 version detection
  29. %define qt3_ver 3.3.8
  30. %define _qt3_version %(pkg-config --modversion --silence-errors qt-mt 2>/dev/null || echo %{qt3_ver})
  31. %define _qt3_prefix %{_libdir}/qt-%{_qt3_version}
  32. %define _qt3_plugindir %{_qt3_prefix}/plugins
  33. %endif
  34. %if %{with qt4}
  35. # Qt4 version detection
  36. %define qt4_ver 4.8.6
  37. %define _qt4_version %(pkg-config --modversion --silence-errors Qt 2>/dev/null || echo %{qt4_ver})
  38. %define _qt4_prefix %(pkg-config --variable prefix --silence-errors Qt 2>/dev/null || echo %{_libdir}/qt4)
  39. %define _qt4_plugindir %(pkg-config --variable plugindir --silence-errors Qt 2>/dev/null || echo %{_qt4_prefix}/plugins)
  40. %endif
  41. %if %{with qt5}
  42. # Qt5 version detection
  43. %define qt5_ver 5.6.3
  44. %define _qt5_version %(pkg-config --modversion --silence-errors Qt5 2>/dev/null || echo %{qt4_ver})
  45. %define _qt5_prefix %(pkg-config --variable prefix --silence-errors Qt5 2>/dev/null || echo %{_libdir}/qt4)
  46. %define _qt5_plugindir %(pkg-config --variable plugindir --silence-errors Qt5 2>/dev/null || echo %{_qt4_prefix}/plugins)
  47. %endif
  48. #define extraver beta
  49. Name: uim
  50. Summary: Uim an input method library
  51. Summary(ja): 入力メソッドライブラリ
  52. Version: 1.8.8
  53. #Release: 6.git%{shortcommit}%{?_dist_release}
  54. Release: 3%{?_dist_release}
  55. Group: System Environment/Libraries
  56. Vendor: Project Vine
  57. Distribution: Vine Linux
  58. Packager: iwaim
  59. # pinyin-big5.scm and elatin-rules.scm are licensed under GPL
  60. License: BSD, LGPLv2 and GPL
  61. URL: https://github.com/uim/uim
  62. Source0: https://github.com/uim/uim/releases/download/%{version}/uim-%{version}.tar.bz2
  63. Source1: uim-el-install.sh
  64. Source2: uim-el-remove.sh
  65. Source3: uim-update-installed-modules.sh.in
  66. Source4: vine-default-uim-el.el
  67. Source5: uim-el-init.el
  68. Source6: https://github.com/uim/sigscheme/releases/download/%{sigscheme_version}/sigscheme-%{sigscheme_version}.tar.bz2
  69. Source7: https://github.com/uim/libgcroots/releases/download/%{libgcroots_version}/libgcroots-%{libgcroots_version}.tar.bz2
  70. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  71. BuildRequires: libXft-devel libX11-devel libXext-devel
  72. BuildRequires: libXrender-devel libXau-devel libXdmcp-devel libXt-devel
  73. BuildRequires: gtk3-devel
  74. BuildRequires: ncurses-devel
  75. BuildRequires: anthy-devel m17n-lib-devel eb-devel
  76. BuildRequires: libedit-devel libffi-devel expat-devel curl-devel
  77. BuildRequires: gettext-devel desktop-file-utils
  78. %if %{with gnome}
  79. BuildRequires: gnome-panel-devel
  80. BuildRequires: libgnomeui-devel
  81. %endif
  82. %if %{with kde}
  83. BuildRequires: kdelibs4-devel
  84. BuildRequires: cmake
  85. %endif
  86. %if %{with canna}
  87. BuildRequires: Canna-devel
  88. %endif
  89. %if %{with mana}
  90. BuildRequires: mana
  91. %endif
  92. %if %{with emacsen}
  93. BuildRequires: emacs
  94. %endif
  95. # for Git
  96. BuildRequires: librsvg2, ruby, perl, asciidoc
  97. BuildConflicts: uim-devel < 1.4.0
  98. Requires(post): coreutils, grep, sed
  99. Requires(postun): coreutils, grep, sed
  100. %description
  101. The uim is a collection of input method for a lot of languages.
  102. %description -l ja
  103. uim は様々な言語の入力メソッドのコレクションです。
  104. %package xim
  105. Summary: XIM frontend for Uim
  106. Summary(ja): uim を利用した XIM サーバ
  107. License: BSD and LGPLv2
  108. Group: User Interface/X
  109. Requires: %{name} = %{version}-%{release}
  110. %description xim
  111. uim-xim is a XIM bridge of libuim.
  112. %description -l ja xim
  113. uim-xim は libuim を利用した XIM サーバです。
  114. XIM 経由で入力を行う場合に必要です。
  115. %if %{with gtk2}
  116. %package gtk
  117. Summary: GTK helper for uim
  118. Summary(ja): uim の GTK ヘルパー
  119. License: BSD and LGPLv2
  120. Group: User Interface/Desktops
  121. BuildRequires: gtk2-devel
  122. Requires: %{name} = %{version}-%{release}
  123. Requires: gtk2
  124. Requires(post): gtk2 >= 2.10.0
  125. Requires(post): %{name} = %{version}-%{release}
  126. Requires(postun): gtk2 >= 2.10.0
  127. %description gtk
  128. This package contains some applications like toolbar, system tray,
  129. input pad, candidate window, and preference tool using GTK.
  130. %description -l ja gtk
  131. このパッケージには、GTK を使ったツールバーやシステムトレイ、入力パッド、
  132. 候補ウィンドウ、設定ツールなどが含まれています。
  133. %endif
  134. %package gtk3
  135. Summary: GTK3 helper for uim
  136. Summary(ja): uim の GTK3 ヘルパー
  137. License: BSD and LGPLv2
  138. Group: User Interface/Desktops
  139. Requires: %{name} = %{version}-%{release}
  140. Requires: gtk3
  141. Requires(post): gtk3
  142. Requires(post): %{name} = %{version}-%{release}
  143. Requires(postun): gtk3
  144. %description gtk3
  145. This package contains some applications like toolbar, system tray,
  146. input pad, candidate window, and preference tool using GTK3.
  147. %description -l ja gtk3
  148. このパッケージには、GTK3 を使ったツールバーやシステムトレイ、入力パッド、
  149. 候補ウィンドウ、設定ツールなどが含まれています。
  150. %if %{with qt3}
  151. %package qt
  152. Summary: Qt3 support for Uim
  153. Summary(ja): uim の Qt3 サポート
  154. Group: User Interface/Desktops
  155. License: BSD and LGPLv2
  156. BuildRequires: qt-devel
  157. Requires: %{name}-xim = %{version}-%{release}
  158. Requires: qt >= %{_qt3_version}
  159. Obsoletes: %{name}-qt-immodule < 1.5.6-2
  160. Obsoletes: %{name}-qt-common < %{version}-%{release}
  161. Obsoletes: uim-qtkde-helper
  162. Provides: %{name}-qt-immodule = %{version}-%{release}
  163. Provides: uim-qtkde-helper
  164. %description qt
  165. This package contains some applications like toolbar, candidate window,
  166. and preference tool using Qt.
  167. %description -l ja qt
  168. このパッケージには、Qt を使ったツールバーや候補ウィンドウ、設定ツールなど
  169. が含まれています。
  170. %endif
  171. %if %{with qt4}
  172. %package qt4
  173. Summary: Qt4 support for Uim
  174. Summary(ja): Uim の Qt4 サポート
  175. License: BSD and LGPLv2
  176. Group: User Interface/Desktops
  177. BuildRequires: qt4-devel
  178. Requires: %{name}-xim = %{version}-%{release}
  179. Requires: qt4 >= %{_qt4_version}
  180. Obsoletes: %{name}-qt-common < %{version}-%{release}
  181. %description qt4
  182. This package contains some applications like toolbar, candidate window,
  183. and preference tool using Qt4.
  184. %description -l ja qt4
  185. このパッケージには、Qt4 を使ったツールバーや候補ウィンドウ、設定ツールなど
  186. が含まれています。
  187. %endif
  188. %if %{with qt5}
  189. %package qt5
  190. Summary: Qt5 support for Uim
  191. Summary(ja): Uim の Qt5 サポート
  192. License: BSD and LGPLv2
  193. Group: User Interface/Desktops
  194. BuildRequires: qt5-qtbase-devel qt5-qtx11extras-devel qt5-rpm-macros
  195. Requires: %{name}-xim = %{version}-%{release}
  196. Obsoletes: %{name}-qt-common < %{version}-%{release}
  197. %description qt5
  198. This package contains some applications like toolbar, candidate window,
  199. and preference tool using Qt5.
  200. %description -l ja qt5
  201. このパッケージには、Qt5 を使ったツールバーや候補ウィンドウ、設定ツールなど
  202. が含まれています。
  203. %endif
  204. %if %{with gnome}
  205. %package applet
  206. Summary: GNOME panel applet for Uim
  207. Summary(ja): uim の GNOME 用パネルアプレット
  208. License: BSD and LGPLv2
  209. Group: User Interface/Desktops
  210. Requires: %{name}-xim = %{version}-%{release}
  211. Requires: %{name}-gtk3 = %{version}-%{release}
  212. %description applet
  213. uim-applet is GNOME panel applet for uim.
  214. %description -l ja applet
  215. uim-applet は uim の入力状態を表示する GNOME 用パネルアプレットです。
  216. %endif
  217. %if %{with kde}
  218. %package kde-applet
  219. Summary: KDE panel applet for Uim
  220. Summary(ja): uim の KDE 用パネルアプレット
  221. License: BSD and LGPLv2
  222. Group: User Interface/Desktops
  223. Requires: kdelibs4
  224. Requires: %{name}-qt4 = %{version}-%{release}
  225. Requires: %{name}-xim = %{version}-%{release}
  226. %description kde-applet
  227. uim-kde-applet is KDE panel applet for uim.
  228. %description -l ja kde-applet
  229. uim-kde-applet は uim の入力状態を表示する KDE 用パネルアプレットです。
  230. %endif
  231. %package fep
  232. Summary: an Input Method for console
  233. Summary(ja): コンソール用インプットメソッド
  234. License: BSD
  235. Group: Applications/System
  236. Requires: %{name} = %{version}-%{release}
  237. Requires: ncurses
  238. Obsoletes: uim-screen
  239. %description fep
  240. uim-fep is a FEP (Front End Processer) using uim as backend.
  241. %description -l ja fep
  242. uim-fep は uim を利用してコンソールで日本語を入力するための
  243. FEP (フロントエンドプロセッサ) です。
  244. %package anthy
  245. Summary: Anthy support for Uim
  246. Summary(ja): uim の Anthy モジュール
  247. License: BSD and LGPLv2
  248. Group: System Environment/Libraries
  249. Requires: %{name} = %{version}-%{release}
  250. Requires: anthy
  251. Requires(post): %{name} = %{version}-%{release}
  252. Requires(postun): %{name}
  253. Obsoletes: %{name} < 1.0.0
  254. %description anthy
  255. This package provides support for Anthy, a Japanese input method.
  256. %description -l ja anthy
  257. 連文節かな漢字変換エンジン Anthy を使って日本語を入力・変換するための
  258. モジュールです。
  259. %if %{with canna}
  260. %package canna
  261. Summary: Canna support for Uim
  262. Summary(ja): uim の Canna モジュール
  263. License: BSD and LGPLv2
  264. Group: System Environment/Libraries
  265. Requires: %{name} = %{version}-%{release}
  266. Requires: Canna
  267. Requires(post): %{name} = %{version}-%{release}
  268. Requires(postun): %{name}
  269. %description canna
  270. This package provides support for Canna, a Japanese input method.
  271. %description -l ja canna
  272. 連文節かな漢字変換エンジン Canna を使って日本語を入力・変換するための
  273. モジュールです。
  274. %endif
  275. %package skk
  276. Summary: SKK support for Uim
  277. Summary(ja): uim の SKK モジュール
  278. Group: System Environment/Libraries
  279. Requires: %{name} = %{version}-%{release}
  280. Requires: skkdic
  281. Requires(post): %{name} = %{version}-%{release}
  282. Requires(postun): %{name}
  283. %description skk
  284. This package provides support for SKK, a Japanese input method.
  285. %description -l ja skk
  286. SKK 入力方式で日本語を入力・変換するためのモジュールです。
  287. %if %{with mana}
  288. %package mana
  289. Summary: Mana support for Uim
  290. Summary(ja): uim の真字モジュール
  291. License: BSD
  292. Group: System Environment/Libraries
  293. Requires: %{name} = %{version}-%{release}
  294. Requires: mana, manadic
  295. Requires(post): %{name} = %{version}-%{release}
  296. Requires(postun): %{name}
  297. %description mana
  298. This package provides support for mana, a Japanese input method.
  299. %description -l ja mana
  300. 連文節かな漢字変換エンジン 真字 (Mana) を使って日本語を入力・変換するための
  301. モジュールです。
  302. %endif
  303. %if %{with emacsen}
  304. %package el
  305. Summary: Emacsen uim bridge
  306. Summary(ja): Emacsen-uim ブリッジ
  307. License: BSD
  308. Group: Applications/Editors/Emacs
  309. Requires: %{name} = %{version}-%{release}
  310. Requires: emacsen
  311. Requires(post): emacsen-common
  312. Requires(preun): emacsen-common
  313. %description el
  314. uim.el is a bridge software between Emacsen and uim.
  315. uim.el makes you able to use uim supported IMs from Emacs
  316. directly.
  317. %description -l ja el
  318. uim.el は uim と Emacsen を結ぶブリッジです。
  319. uim.el を導入すると、Emacsen 上で uim を利用した文字入力が可能と
  320. なります。
  321. %endif
  322. %package m17n
  323. Summary: m17n-lib support for Uim
  324. Summary(ja): uim の m17n-lib モジュール
  325. License: BSD
  326. Group: System Environment/Libraries
  327. Requires: uim = %{version}-%{release}
  328. Requires(post): gtk2 /usr/bin/uim-module-manager
  329. Requires(postun): gtk2 /usr/bin/uim-module-manager
  330. %description m17n
  331. This package provides support for m17n-lib, which allows input of
  332. many languages using the input table map from m17n-db.
  333. %package devel
  334. Summary: Development tools for libuim applications.
  335. Summary(ja): libuim を使ったアプリケーションを開発するためのファイル
  336. License: BSD and LGPLv2
  337. Group: Development/Libraries
  338. Requires: %{name} = %{version}-%{release}
  339. %description devel
  340. uim-devel package contains the header files and static libraries to
  341. develop a libuim applications.
  342. %description -l ja devel
  343. uim-devel パッケージには libuim を利用したアプリケーションを開発
  344. するためのヘッダファイルとライブラリが含まれています。
  345. %prep
  346. %setup -q -n %{name}-%{version}%{?extraver:-%extraver}
  347. #%setup -q -a 6 -a 7 -n %{name}-%{commit}
  348. # for Git
  349. #%{__rm} -rf sigscheme
  350. #%{__mv} sigscheme-%{sigscheme_commit} sigscheme
  351. #%{__rm} -rf sigscheme/libgcroots
  352. #%{__mv} libgcroots-%{libgcroots_commit} sigscheme/libgcroots
  353. %build
  354. %if %{with qt3}
  355. unset QTDIR
  356. export QTDIR=%{_qt3_prefix}
  357. %endif
  358. #for Git
  359. #pushd sigscheme/libgcroots
  360. #./autogen.sh
  361. #popd
  362. #pushd sigscheme
  363. #./autogen.sh
  364. #popd
  365. #./autogen.sh
  366. %configure --with-x --with-xft \
  367. --with-anthy --with-anthy-utf8 \
  368. --without-scim --without-prime \
  369. --with-gtk3 \
  370. --with-m17nlib \
  371. --with-curl \
  372. --with-expat \
  373. --with-ffi \
  374. --with-eb --with-eb-conf=%{_sysconfdir}/eb.conf \
  375. --disable-static \
  376. --enable-maintainer-mode \
  377. --enable-default-toolkit=gtk3 \
  378. %if %{with gnome}
  379. --enable-gnome3-applet \
  380. %else
  381. --disable-gnome-applet \
  382. %endif
  383. %if %{with gtk2}
  384. --with-gtk2 \
  385. %else
  386. --without-gtk2 \
  387. %endif
  388. %if %{with qt3}
  389. --with-qt \
  390. --with-qt-immodule \
  391. %else
  392. --without-qt \
  393. --without-qt-immodule \
  394. %endif
  395. %if %{with qt4}
  396. --with-qt4 \
  397. --with-qt4-immodule \
  398. %else
  399. --without-qt4 \
  400. --without-qt4-immodule \
  401. %endif
  402. %if %{with qt5}
  403. --with-qt5 \
  404. --with-qt5-immodule \
  405. %else
  406. --without-qt5 \
  407. --without-qt5-immodule \
  408. %endif
  409. %if %{with kde}
  410. --disable-kde-applet \
  411. --enable-kde4-applet \
  412. %else
  413. --disable-kde-applet \
  414. --disable-kde4-applet \
  415. %endif
  416. %if %{with canna}
  417. --with-canna \
  418. %else
  419. --without-canna \
  420. %endif
  421. %if %{without emacsen}
  422. --disable-emacs \
  423. %endif
  424. %if %{with mana}
  425. --with-mana
  426. %else
  427. --without-mana
  428. %endif
  429. #sed -i -e 's/^\(hardcode_direct=\)$/\1no/' -e 's/^\(hardcode_minus_L=\)$/\1no/' -e 's/^\(libext=\)$/\1"a"/' libtool
  430. #LD_LIBRARY_PATH=$RPM_BUILD_DIR/%{name}-%{version}/uim/.libs:$LD_LIBRARY_PATH make
  431. make %{_smp_mflags}
  432. %install
  433. [ "%{buildroot}" != "/" ] && %__rm -rf %{buildroot}
  434. # remove anthy,canna,skk,mana from {installed-modules,loader}.scm
  435. #pushd scm
  436. #srcdir=%{_builddir}/%{buildsubdir}
  437. #LIBUIM_SCM_FILES=${srcdir}/scm LIBUIM_PLUGIN_LIB_DIR=${srcdir}/uim/.libs \
  438. # %{_builddir}/%{buildsubdir}/uim/uim-module-manager \
  439. # --path ${srcdir}/scm --unregister anthy skk mana
  440. #popd
  441. make install DESTDIR=%{buildroot}
  442. %find_lang %{name}
  443. # remove unneeded files
  444. %__rm -f %{buildroot}%{_libdir}/lib*.la
  445. %__rm -f %{buildroot}%{_datadir}/uim/scim.scm
  446. #__rm -f %{buildroot}%{_datadir}/uim/m17nlib.scm
  447. %__rm -f %{buildroot}%{_datadir}/uim/prime.scm
  448. %__rm -f %{buildroot}%{_datadir}/uim/prime-*.scm
  449. %__rm -f %{buildroot}%{_libdir}/gtk-2.0/*/immodules/*.{a,la}
  450. %__rm -f %{buildroot}%{_libdir}/gtk-3.0/*/immodules/*.{a,la}
  451. %__rm -f %{buildroot}%{_libdir}/uim/plugin/*.{a,la}
  452. %__rm -f %{buildroot}%{_datadir}/uim/pixmaps/scim.*
  453. %__rm -f %{buildroot}%{_datadir}/uim/pixmaps/prime*.*
  454. %__rm -f %{buildroot}%{_qt3_plugindir}/inputmethods/*.{a,la}
  455. %__rm -f %{buildroot}%{_qt4_plugindir}/inputmethods/*.{a,la}
  456. %if %{without canna}
  457. %__rm -f %{buildroot}%{_libdir}/uim/plugin/libuim-canna.so
  458. %__rm -f %{buildroot}%{_datadir}/uim/canna*.scm
  459. %__rm -f %{buildroot}%{_datadir}/uim/pixmaps/canna.*
  460. %endif
  461. %if %{without mana}
  462. %__rm -f %{buildroot}%{_libdir}/uim/plugin/libuim-mana.so
  463. %__rm -f %{buildroot}%{_datadir}/uim/mana.scm
  464. %__rm -f %{buildroot}%{_datadir}/uim/mana-*.scm
  465. %__rm -f %{buildroot}%{_datadir}/uim/pixmaps/mana.*
  466. %endif
  467. %if %{without qt3}
  468. %__rm -f %{buildroot}%{_datadir}/locale/*/LC_MESSAGES/uim-chardict-qt.mo
  469. %endif
  470. %if %{without qt4}
  471. %__rm -f %{buildroot}%{_datadir}/locale/*/LC_MESSAGES/uim-chardict-qt4.mo
  472. %endif
  473. %if %{without qt5}
  474. %__rm -f %{buildroot}%{_datadir}/locale/*/LC_MESSAGES/uim-chardict-qt5.mo
  475. %endif
  476. %if %{with emacsen}
  477. %__mkdir_p %{buildroot}%{emacsen_pkgdir}/install
  478. %__mkdir_p %{buildroot}%{emacsen_pkgdir}/remove
  479. %_installemacsenscript %{name}-el %{SOURCE1}
  480. %_removeemacsenscript %{name}-el %{SOURCE2}
  481. %__cp -p %{SOURCE4} %{SOURCE5} %{buildroot}%{_datadir}/emacs/site-lisp/uim-el
  482. %endif
  483. # move documents for sigscheme
  484. rm -rf installed-doc
  485. mkdir -p installed-doc/sigscheme
  486. cp -p sigscheme/doc/*.txt installed-doc/sigscheme
  487. #cp -p sigscheme/doc/*.html installed-doc/sigscheme
  488. # script to register prefered engine
  489. %__cat %{SOURCE3} \
  490. | sed -e "s|@BINDIR@|%{_bindir}|g" \
  491. -e "s|@SYSCONFDIR@|%{_sysconfdir}|g" \
  492. -e "s|@DATADIR@|%{_datadir}|g" \
  493. > update-installed-modules.sh
  494. %__install -m755 update-installed-modules.sh %{buildroot}%{_datadir}/%{name}
  495. # prefered engines
  496. %__mkdir_p %{buildroot}%{_sysconfdir}/sysconfig
  497. %__cat << EOF > %{buildroot}%{_sysconfdir}/sysconfig/uim
  498. PREFERED_ENGINE=anthy
  499. EOF
  500. perl -pi -e 's/uim-pref-gtk$/uim-pref-gtk3/' %{buildroot}%{_datadir}/applications/uim.desktop
  501. %clean
  502. [ "%{buildroot}" != "/" ] && %__rm -rf %{buildroot}
  503. %post -p /sbin/ldconfig
  504. %postun -p /sbin/ldconfig
  505. %if %{with gtk2}
  506. %post gtk
  507. %{_bindir}/gtk-query-immodules-2.0 > %{_sysconfdir}/gtk-2.0/%{_arch}/gtk.immodules ||:
  508. %postun gtk
  509. if [ $1 = 0 ] ; then
  510. %{_bindir}/gtk-query-immodules-2.0 > %{_sysconfdir}/gtk-2.0/%{_arch}/gtk.immodules ||:
  511. fi
  512. %endif
  513. %post gtk3
  514. %{_bindir}/gtk-query-immodules-3.0 --update-cache || : > /dev/null 2>&1
  515. %postun gtk3
  516. if [ $1 = 0 ] ; then
  517. %{_bindir}/gtk-query-immodules-3.0 --update-cache || : > /dev/null 2>&1
  518. fi
  519. %post anthy
  520. %{_datadir}/uim/update-installed-modules.sh --register anthy > /dev/null 2>&1
  521. %preun anthy
  522. if [ $1 = 0 ] ; then
  523. %{_bindir}/uim-module-manager --unregister anthy > /dev/null 2>&1
  524. fi
  525. %if %{with canna}
  526. %post canna
  527. %{_datadir}/uim/update-installed-modules.sh --register canna > /dev/null 2>&1
  528. %preun canna
  529. if [ $1 = 0 ] ; then
  530. %{_bindir}/uim-module-manager --unregister canna > /dev/null 2>&1
  531. fi
  532. %endif
  533. %post skk
  534. %{_datadir}/uim/update-installed-modules.sh --register skk > /dev/null 2>&1
  535. %preun skk
  536. if [ $1 = 0 ] ; then
  537. %{_bindir}/uim-module-manager --unregister skk > /dev/null 2>&1
  538. fi
  539. %if %{with mana}
  540. %post mana
  541. %{_datadir}/uim/update-installed-modules.sh --register mana > /dev/null 2>&1
  542. %preun mana
  543. if [ $1 = 0 ] ; then
  544. %{_bindir}/uim-module-manager --unregister mana > /dev/null 2>&1
  545. fi
  546. %endif
  547. %if %{with emacsen}
  548. %post el
  549. if [ $1 = 2 ] ; then
  550. %_emacsenPackageRemove %{name}-el
  551. fi
  552. %_addemacsenlist %{name}-el
  553. %_emacsenPackageInstall %{name}-el
  554. %preun el
  555. if [ $1 = 0 ] ; then
  556. %_emacsenPackageRemove %{name}-el
  557. %_removeemacsenlist %{name}-el
  558. fi
  559. %endif
  560. %post m17n
  561. %{_datadir}/uim/update-installed-modules.sh --register m17nlib > /dev/null 2>&1
  562. %preun m17n
  563. if [ $1 = 0 ] ; then
  564. %{_bindir}/uim-module-manager --unregister m17nlib > /dev/null 2>&1
  565. fi
  566. %files -f %{name}.lang
  567. %defattr(-,root,root)
  568. %{!?_licensedir:%global license %%doc}
  569. %license COPYING
  570. %doc AUTHORS ChangeLog* NEWS README RELNOTE
  571. %config(noreplace) %{_sysconfdir}/sysconfig/uim
  572. %{_bindir}/uim-help
  573. %{_bindir}/uim-sh
  574. %{_bindir}/uim-module-manager
  575. %{_libdir}/*.so.*
  576. %{_datadir}/uim
  577. %exclude %{_datadir}/uim/anthy*.scm
  578. %exclude %{_datadir}/uim/skk*.scm
  579. %exclude %{_datadir}/uim/pixmaps/anthy.*
  580. %exclude %{_datadir}/uim/pixmaps/skk.*
  581. %if %{with canna}
  582. %exclude %{_datadir}/uim/canna*.scm
  583. %exclude %{_datadir}/uim/pixmaps/canna.*
  584. %endif
  585. %if %{with mana}
  586. %exclude %{_datadir}/uim/mana.scm
  587. %exclude %{_datadir}/uim/mana-*.scm
  588. %exclude %{_datadir}/uim/pixmaps/mana.*
  589. %endif
  590. %dir %{_libdir}/uim
  591. %dir %{_libdir}/uim/plugin
  592. %{_libdir}/uim/plugin/libuim-curl.so
  593. %{_libdir}/uim/plugin/libuim-custom-enabler.so
  594. %{_libdir}/uim/plugin/libuim-eb.so
  595. %{_libdir}/uim/plugin/libuim-editline.so
  596. %{_libdir}/uim/plugin/libuim-expat.so
  597. %{_libdir}/uim/plugin/libuim-ffi.so
  598. %{_libdir}/uim/plugin/libuim-fileio.so
  599. %{_libdir}/uim/plugin/libuim-lolevel.so
  600. %{_libdir}/uim/plugin/libuim-look.so
  601. %{_libdir}/uim/plugin/libuim-process.so
  602. %{_libdir}/uim/plugin/libuim-socket.so
  603. %{_libexecdir}/uim-helper-server
  604. %files xim
  605. %defattr(-,root,root)
  606. %doc xim/README
  607. %{_bindir}/uim-xim
  608. %{_mandir}/man1/uim-xim.1*
  609. %if %{with gtk2}
  610. %files gtk
  611. %defattr(-,root,root)
  612. %{_bindir}/uim-im-switcher-gtk
  613. %{_bindir}/uim-input-pad-ja
  614. %{_bindir}/uim-pref-gtk
  615. %{_bindir}/uim-toolbar-gtk
  616. %{_bindir}/uim-toolbar-gtk-systray
  617. %{_libexecdir}/uim-candwin-gtk
  618. %{_libexecdir}/uim-candwin-horizontal-gtk
  619. %{_libexecdir}/uim-candwin-tbl-gtk
  620. %{_libdir}/gtk-2.0/*/immodules/*.so
  621. %{_datadir}/applications/uim.desktop
  622. %endif
  623. %files gtk3
  624. %defattr(-,root,root)
  625. %{_bindir}/uim-im-switcher-gtk3
  626. %{_bindir}/uim-input-pad-ja-gtk3
  627. %{_bindir}/uim-pref-gtk3
  628. %{_bindir}/uim-toolbar-gtk3
  629. %{_bindir}/uim-toolbar-gtk3-systray
  630. %{_libexecdir}/uim-candwin-gtk3
  631. %{_libexecdir}/uim-candwin-horizontal-gtk3
  632. %{_libexecdir}/uim-candwin-tbl-gtk3
  633. %{_libdir}/gtk-3.0/*/immodules/*.so
  634. %{_datadir}/applications/uim.desktop
  635. %if %{with qt3}
  636. %files qt
  637. %defattr(-,root,root)
  638. # BSD and LGPLv2+
  639. %{_bindir}/uim-chardict-qt
  640. # BSD
  641. %{_bindir}/uim-im-switcher-qt
  642. # BSD and LGPLv2+
  643. %{_bindir}/uim-pref-qt
  644. # BSD
  645. %{_bindir}/uim-toolbar-qt
  646. %{_libexecdir}/uim-candwin-qt
  647. %{_qt3_plugindir}/inputmethods/*.so
  648. %endif
  649. %if %{with qt4}
  650. %files qt4
  651. %defattr(-,root,root)
  652. # BSD and LGPLv2+
  653. %{_bindir}/uim-chardict-qt4
  654. # BSD
  655. %{_bindir}/uim-im-switcher-qt4
  656. # BSD and LGPLv2+
  657. %{_bindir}/uim-pref-qt4
  658. # BSD
  659. %{_bindir}/uim-toolbar-qt4
  660. %{_libexecdir}/uim-candwin-qt4
  661. %{_qt4_plugindir}/inputmethods/*.so
  662. %endif
  663. %if %{with qt5}
  664. %files qt5
  665. %defattr(-,root,root)
  666. # BSD and LGPLv2+
  667. %{_bindir}/uim-chardict-qt5
  668. # BSD
  669. %{_bindir}/uim-im-switcher-qt5
  670. # BSD and LGPLv2+
  671. %{_bindir}/uim-pref-qt5
  672. # BSD
  673. %{_bindir}/uim-toolbar-qt5
  674. %{_libexecdir}/uim-candwin-qt5
  675. %{_qt5_plugindir}/platforminputcontexts/*.so
  676. %endif
  677. %if %{with gnome}
  678. %files applet
  679. %defattr(-,root,root)
  680. %{_libexecdir}/uim-toolbar-applet-gnome3
  681. %{_datadir}/dbus-1/services/org.gnome.panel.applet.UimAppletFactory.service
  682. %{_datadir}/gnome-panel/4.0/applets/UimApplet.panel-applet
  683. %endif
  684. %if %{with kde}
  685. %files kde-applet
  686. %defattr(-,root,root)
  687. %{_libdir}/kde4/plasma_applet_uim.*
  688. %{_datadir}/kde4/services/plasma-applet-uim.desktop
  689. %endif
  690. %files fep
  691. %defattr(-,root,root)
  692. %license fep/COPYING
  693. %doc fep/README* fep/INSTALL
  694. %{_bindir}/uim-fep
  695. %{_bindir}/uim-fep-tick
  696. %files anthy
  697. %defattr(-,root,root)
  698. %{_libdir}/uim/plugin/libuim-anthy.so
  699. %{_libdir}/uim/plugin/libuim-anthy-utf8.so
  700. %{_datadir}/uim/anthy*.scm
  701. %{_datadir}/uim/pixmaps/anthy.*
  702. %if %{with canna}
  703. %files canna
  704. %defattr(-,root,root)
  705. %{_libdir}/uim/plugin/libuim-canna.so
  706. %{_datadir}/uim/canna*.scm
  707. %{_datadir}/uim/pixmaps/canna.*
  708. %endif
  709. %files skk
  710. %defattr(-,root,root)
  711. %{_libdir}/uim/plugin/libuim-skk.so
  712. %{_datadir}/uim/skk*.scm
  713. %{_datadir}/uim/pixmaps/skk.*
  714. %if %{with mana}
  715. %files mana
  716. %defattr(-,root,root)
  717. %{_libdir}/uim/plugin/libuim-mana.so
  718. %{_datadir}/uim/mana.scm
  719. %{_datadir}/uim/mana-*.scm
  720. %{_datadir}/uim/pixmaps/mana.*
  721. %endif
  722. %if %{with emacsen}
  723. %files el
  724. %defattr(-,root,root)
  725. %license emacs/COPYING
  726. %doc emacs/README*
  727. %{_bindir}/uim-el-agent
  728. %{_bindir}/uim-el-helper-agent
  729. %{_datadir}/emacs/site-lisp/uim-el
  730. %{emacsen_pkgdir}/*/%{name}-el
  731. %endif
  732. %files m17n
  733. %defattr (-, root, root, -)
  734. %license COPYING
  735. %doc AUTHORS ChangeLog* NEWS README
  736. %{_bindir}/uim-m17nlib-relink-icons
  737. %{_libdir}/uim/plugin/libuim-m17nlib.so
  738. %{_datadir}/uim/m17nlib.scm
  739. %dir %{_datadir}/uim
  740. %files devel
  741. %defattr(-,root,root)
  742. %doc doc/PLUGIN installed-doc/sigscheme
  743. %{_libdir}/*.so
  744. %{_libdir}/uim/plugin/*.so
  745. %{_includedir}/*.h
  746. %{_includedir}/uim
  747. %{_libdir}/pkgconfig/*
  748. %changelog
  749. * Thu Apr 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.8.8-3
  750. - rebuilt with libffi-3.3.
  751. * Sun Sep 01 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.8.8-2
  752. - disabled gtk2, qt3 and kde.
  753. * Sat May 19 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.8.8-1
  754. - update to 1.8.8
  755. - add Packager
  756. * Sat Mar 24 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.8.6-6.gitc79432c
  757. - update to current Git master
  758. - add BuildRequires: librsvg2
  759. - add BuildRequres: perl, ruby, asciidoc
  760. - add '--enable-maintainer-mode'
  761. - drop Patch1: upstream fixed (#76)
  762. * Thu Dec 14 2017 Toshiaki Ara <ara_t@384.jp> 1.8.6-5
  763. - add Patch1 (uim-gtk2_immodule_uim-cand-win-gtk.c.patch)
  764. - fix the issue that conversion candidates are not displayed
  765. * Thu Jul 28 2016 Toshiaki Ara <ara_t@384.jp> 1.8.6-4
  766. - add %{!?_licensedir:%global license %%doc}
  767. * Thu Jul 7 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.8.6-3
  768. - rebuilt with new toolchain.
  769. * Thu Apr 2 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.8.6-2
  770. - fixed Requires in qt4 subpackage
  771. - used bcond macros
  772. * Sun Jul 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.6-1
  773. - new upstream release
  774. - drop %%{name}-applet subpackage
  775. * Sat Sep 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.1-4
  776. - rebuild with qt4-4.8.3
  777. * Tue Sep 04 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.1-3
  778. - rebuild with qt4-4.8.2
  779. * Sat Jan 7 2012 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.7.1-2
  780. - rebuilt with qt4-4.8.0
  781. * Sun Aug 21 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.7.1-1
  782. - new upstream release
  783. - built with gtk3 and GNOME3
  784. * Tue Mar 8 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.1-2
  785. - rebuilt with qt4-4.7.2
  786. * Sun Jan 30 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.1-1
  787. - new upstream release
  788. - built with qt4-4.7.1
  789. * Sun Jan 2 2011 IWAI, Masaharu <iwai@alib.jp> 1.6.0-4
  790. - build with eb 4.4.3
  791. * Mon Sep 27 2010 Shu KONNO <owa@bg.wakwak.com> 1.6.0-3
  792. - rebuilt with rpm-4.8.1 for pkg-config
  793. * Mon Aug 30 2010 IWAI, Masaharu <iwai@alib.jp> 1.6.0-2
  794. - apply vine-default for el subpackage
  795. - add vine-default-uim-el.el (Source4)
  796. - add uim-el-init.el (Source5)
  797. - update uim-el-{install,remove}.sh (Source1,2)
  798. - update BuildRequires for with_emacsen: emacsen to emacs
  799. - using emacsen_pkgdir rpm macro
  800. * Sat Aug 14 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.0-1
  801. - new upstream release
  802. - dropt Patch0
  803. - Obsoletes: uim-qt-common
  804. * Sun Jul 25 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.5.7-1
  805. - new upstream release
  806. - added Patch0
  807. - added BR: cmake
  808. - provides KDE4 applets
  809. - updated Qt version auto detection macros
  810. * Sun Jan 31 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.5.6-6
  811. - updated Qt version detection macros to build properly
  812. * Fri Jan 22 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.5.6-5
  813. - rebuilt with qt-4.6.1
  814. * Sun Oct 25 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.5.6-4
  815. - fixed kde-applet Requires:
  816. * Sat Oct 24 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.5.6-3
  817. - fixed kde-applet BR
  818. * Fri Oct 23 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.5.6-2
  819. - made uim-qt4, uim-qt-common sub-package
  820. * Thu Jul 23 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.5.6-1
  821. - applied new versioning policy, spec in UTF-8
  822. - new upstream release
  823. - disabled canna subpackage
  824. - added m17n subpackage
  825. - removed lib*.la, lib*.a from devel package
  826. * Sun Apr 6 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.2-1vl5
  827. - new upstream release
  828. * Sun Aug 19 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.1-0vl5
  829. - rebuild with qt-3.3.8-0vl2
  830. * Tue May 15 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.1-0vl4
  831. - rebuild with new environment/toolchain
  832. * Sun Apr 29 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.1-0vl3
  833. - rebuild with gtk+-2.10
  834. * Mon Mar 26 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.4.1-0vl2
  835. - add BuildConflicts: uim-devel < 1.4.0
  836. * Sun Mar 25 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.4.1-0vl1
  837. - upstream release
  838. * Sat Feb 10 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.4.0-0vl1
  839. - upstream release
  840. - run uim-module-manager with absolute path in %%install section
  841. - add '--disable-static' option to %%configure
  842. * Mon Dec 25 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.1-0vl2
  843. - add Requires: manadic to uim-mana package
  844. - add Japanese summaries and descriptions
  845. - add new sub-package: uim-kde-applet
  846. * Fri Dec 22 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.1-0vl1
  847. - upstream release
  848. * Sun Dec 17 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3.0-0vl1
  849. - upstream release
  850. - drop obsolete workaround-for-flashplayer.patch (patch11)
  851. * Sun Oct 29 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.2.1-0vl6
  852. - add workaround-for-flashplayer.patch (svn trunk r3938:r3941)
  853. * Tue Sep 26 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.2.1-0vl5
  854. - add support for immodule for Qt
  855. * Thu Sep 14 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.2.1-0vl4.0qtimm.1
  856. - add Requires: %%{name}-qt-immodule (qt) if qtimm is enabled
  857. * Thu Sep 14 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.2.1-0vl4.0qtimm
  858. - add support for immodule for Qt
  859. * Tue Sep 12 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.2.1-0vl4
  860. - add --without-eb option to %%configure
  861. * Mon Sep 11 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.1-0vl3
  862. - changed uim-el Group to Appliations/Editors/Emacs <BTS:VineLinux:163>
  863. - changed uim-applet Group to User Interface/Desktops
  864. * Fri Sep 01 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.2.1-0vl2
  865. - add %%with_canna, %%with_gnome
  866. - use %%{_prefix}/lib instead of %%{_libdir} for elisp directory
  867. - for biarch support
  868. - update required gtk2 version (>= 2.8.13)
  869. - use %%{_sysconfdir}/gtk-2.0/%%{_arch}/gtk.immodules
  870. * Mon Aug 14 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.2.1-0vl1
  871. - upstream release
  872. * Fri Aug 11 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.2.0-0vl1
  873. - upstream release
  874. - add Makefile.patch (patch1)
  875. * Sat Jul 08 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.1-0vl1
  876. - upstream release
  877. - drop Obsoletes: %%{name} < 1.0.0 from uim-mana
  878. - move %%postun el script to %%preun el
  879. * Sat Jun 10 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.0-0vl1
  880. - upstream release
  881. * Sun Jun 04 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.0-0vl0.0beta.1
  882. - add Requires(post): %{name} = %{version} for uim-gtk
  883. * Fri Jun 02 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.0-0vl0.0beta
  884. - update to uim-1.1.0-beta
  885. * Sun May 28 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.0-0vl0.0alpha.1
  886. - update uim-update-installed-modules.sh (source3) for uim-1.1.0-alpha
  887. * Sun May 28 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.0-0vl0.0alpha
  888. - update to uim-1.1.0-alpha
  889. - update desktop.patch (patch0), kanji-key.patch (patch10)
  890. - update %%files
  891. * Sun May 28 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0.1-0vl5
  892. - fix %%preun script to avoid incorrect re-registration
  893. - add mana support
  894. * Wed Apr 12 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0.1-0vl4
  895. - add uim-update-installed-modules.sh (source3)
  896. * Tue Jan 10 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0.1-0vl3
  897. - fix typo
  898. - remove prime*.scm
  899. * Sat Dec 31 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0.1-0vl2
  900. - separate uim-{anthy,canna,skk} sub-packages
  901. - update {installed-modules,loader}.scm at %%install
  902. * Fri Dec 30 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0.1-0vl1
  903. - upstream release
  904. - drop anthy-use-with-vi.patch
  905. - update desktop.patch
  906. - change groups
  907. - add Requires: libgnomeui to uim-applet sub-package
  908. - add uim-gtk sub-package
  909. - move uim-*-gtk, uim.desktop from main package
  910. - move uim-candwin-gtk from uim-xim sub-package
  911. - add uim-qt sub-package
  912. - BuildRequires: qt-devel
  913. - Obsoletes/Provides: uim-qtkde-helper
  914. - add uim-el sub-package
  915. - add uim-el-{install,remove}.sh (source1,2)
  916. - BuildRequires: emacsen
  917. * Sat Oct 01 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.4.9.1-0vl1
  918. - [SECURITY] upstream release
  919. - fix privilege escalation
  920. - reverse-import desktop.patch (patch0) from momonga
  921. * Fri Sep 30 2005 Ichiro Nakai <ichiro@n.email.ne.jp>
  922. - (0.4.9.1-2m)
  923. - revise Patch10: uim-0.4.9.1-desktop.patch
  924. * Thu Sep 29 2005 Ichiro Nakai <ichiro@n.email.ne.jp>
  925. - (0.4.9.1-1m)
  926. - import and modify desktop.patch from VineSeedPlus
  927. * Sat Sep 17 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.4.9-0vl1
  928. - upstream release
  929. * Tue Aug 23 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.4.8-0vl1
  930. - upstream release
  931. - update anthy-use-with-vi patch (patch11)
  932. - implemented in svn r1197
  933. - update desktop.patch (patch0)
  934. * Sat Aug 06 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.4.7.1-0vl2
  935. - make uim-anthy friendly for vi users (patch11)
  936. - exit vi's insert mode and switch IM to Latin mode
  937. * Wed Aug 03 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.4.7.1-0vl1
  938. - upstream release
  939. * Sat Jul 23 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.4.7-0vl3
  940. - remove %%{_libdir}/uim/plugin/*.{a,la}
  941. - add doc/PLUGIN instead of doc/LIB (uim-devel)
  942. * Mon Jul 18 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.4.7-0vl2
  943. - update uim.desktop (patch0)
  944. * Sun Jul 17 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.4.7-0vl1
  945. - [SECURITY] new upstream release
  946. - use ja.po in source archive
  947. - add BuildRequires:
  948. - ncurses-devel, libbonoboui-devel, libgnomeui-devel, anthy-devel
  949. - add new files:
  950. - uim package:
  951. - %%{_bindir}/uim-pref-gtk
  952. - %%{_bindir}/uim-im-swicher-gtk (instead of uim-im-switcher)
  953. - %%{_libdir}/uim
  954. - %%{_datadir}/applications/uim.desktop
  955. - use %%find_lang macro
  956. - update kanji-key.patch (patch10)
  957. * Wed Oct 20 2004 IWAI, Masaharu <iwai@alib.jp> 0.4.5-0vl1
  958. - new upstream release
  959. - add new files:
  960. - uim package: uim-toolbar-gtk, uim-toolbar-gtk-systray
  961. uim-im-switcher and uim-input-pad-ja in %%{_bindir}
  962. - uim-xim package: %%{_bindir}/uim-candwin-gtk
  963. - uim-applet package: %%{_libexecdir}/uim-toolbar-applet
  964. - update ja.po ( Source10 ): based original po file
  965. - update kanji-key patch ( Patch10 )
  966. - drop unnecessary patches:
  967. - skk.scm patch ( Patch1 )
  968. - prime patch ( Patch2 )
  969. - xim_crash patch ( Patch3 )
  970. * Sat Sep 11 2004 IWAI, Masaharu <iwai@alib.jp> 0.4.3-0vl1
  971. - new upstream release
  972. - add some files in devel package
  973. - update ja.po ( Source10 )
  974. - update kanji-key patch ( Patch10 )
  975. - add skk.scm patch ( Patch1 ): from subversion repository ( [Anthy-dev 1029] )
  976. - add prime patch ( Patch2 ): from [Anthy-dev 1031]
  977. - add xim_crash patch ( Patch3 ): from [Anthy-dev 1033]
  978. * Wed Jun 23 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.1-0vl1
  979. - new upstream release
  980. - obsoletes uim-screen
  981. - add uim-fep
  982. * Mon Jun 14 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.9-0vl1
  983. - new upstream release
  984. * Tue May 18 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.8-0vl1
  985. - new upstream release
  986. * Mon May 17 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.7-0vl1
  987. - new upstream release
  988. * Thu May 6 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.6-0vl1
  989. - new upstream release
  990. * Wed Apr 7 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.4.2-0vl1
  991. - new upstream release
  992. * Wed Apr 7 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.4.1-0vl1
  993. - new upstream release
  994. * Sun Mar 21 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.3-0vl1
  995. - new upstream release
  996. * Fri Mar 19 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.2-0vl2
  997. - rebuild with gtk+-2.4.0
  998. - add Patch0 to use \$(GTK_VERSION) in gtk/Makefile
  999. * Sun Mar 7 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.2-0vl1
  1000. - new upstream release
  1001. * Mon Mar 1 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.1-0vl1
  1002. - new upstream release
  1003. * Sun Feb 29 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.0.1-0vl1
  1004. - new upstream release
  1005. * Mon Feb 23 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.0-0vl1
  1006. - new upstream release
  1007. - add uim-screen subpackage
  1008. - add documentations
  1009. - drop obsolete patches
  1010. * Thu Feb 05 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.8-0vl1
  1011. - new upstream release
  1012. * Tue Jan 27 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.7-0vl1
  1013. - new upstream release
  1014. * Sat Jan 24 2004 IWAI, Masaharu <iwai@alib.jp> 0.2.5.2-0vl1
  1015. - new upstream release
  1016. * Mon Jan 12 2004 IWAI, Masaharu <iwai@alib.jp> 0.2.4-0vl2
  1017. - add %%{_includedir}/uim directory in uim-devel package
  1018. - update URL and Source0 values: moved the project web site
  1019. * Sun Jan 11 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.4-0vl1
  1020. - new upstream release
  1021. * Tue Jan 06 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.3.1-0vl1
  1022. - new upstream release
  1023. * Wed Dec 31 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.2-0vl1
  1024. - new upstream release
  1025. * Tue Dec 23 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.1-0vl1
  1026. - new upstream release
  1027. * Mon Dec 08 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.0-0vl1
  1028. - new upstream release
  1029. * Tue Dec 02 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.7-0vl1
  1030. - new upstream release
  1031. * Thu Nov 27 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.6-0vl1
  1032. - new upstream release
  1033. * Mon Nov 10 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.5-0vl1
  1034. - new upstream release
  1035. * Sun Nov 02 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.4.1-0vl1
  1036. - new upstream release
  1037. - split xim/uim-applet stuff to sub packages
  1038. * Tue Oct 14 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.2-0vl1
  1039. - new upstream release
  1040. * Wed Oct 08 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.0-0vl2
  1041. - add patch10 to use "Kanji" keysyms instead of "Zenkaku-Hankaku"
  1042. - update ja.po
  1043. * Wed Oct 08 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.0-0vl1
  1044. - new upstream release
  1045. - add patch0 to make status window smaller.
  1046. * Sun Oct 05 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.9-0vl1
  1047. - new upstream release
  1048. * Mon Sep 29 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.8-0vl1
  1049. - new upstream release
  1050. * Sat Sep 27 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.7-0vl1
  1051. - new upstream release
  1052. * Sun Sep 14 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.6-0vl1
  1053. - new upstream release
  1054. - split development files to uim-devel subpackage.
  1055. * Sun Sep 07 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.4-0vl1
  1056. - new upstream release
  1057. * Sat Aug 30 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.2.1-0vl1
  1058. - new upstream release
  1059. * Fri Aug 29 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.1-0vl2
  1060. - run ldconfig in %%post and %%postun script
  1061. - remove uim entry from gtk.immodule when uim is removed
  1062. * Fri Aug 29 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.1-0vl1
  1063. - build for Vine Linux
  1064. - add Japanese summary and description
  1065. * Wed Aug 27 2003 Yuhei Matsunaga <yuhei@users.sourceforge.jp> 0.0.1-1
  1066. - Version updated.
  1067. - Added serial for version number.
  1068. - Added uim-comm-client and uim-comm-server.
  1069. * Fri Aug 15 2003 Yuhei Matsunaga <yuhei@users.sourceforge.jp> 2013-1
  1070. - Version updated.
  1071. - Added Japanese locale file.
  1072. * Tue Aug 12 2003 Yuhei Matsunaga <yuhei@users.sourceforge.jp> 2010-1
  1073. - Version updated.
  1074. * Sun Aug 10 2003 Yuhei Matsunaga <yuhei@users.sourceforge.jp> 2005-1
  1075. - Version updated.
  1076. - Removed --without-canna option at configure.
  1077. - Added Canna-devel to BuildRequires.
  1078. - Changed command for cleaning rpm_build_root because of the safety.
  1079. * Tue Aug 5 2003 Yuhei Matsunaga <yuhei@users.sourceforge.jp> 2002-1
  1080. - Version updated.
  1081. - Used _prefix variable.
  1082. - Added uim-xim.
  1083. - Added BuildRequires.
  1084. * Sat Jul 5 2003 Yuhei Matsunaga <yuhei@users.sourceforge.jp> 1928-1
  1085. - Version updated.
  1086. * Sat Jul 5 2003 Yuhei Matsunaga <yuhei@users.sourceforge.jp> 1903-1
  1087. - Version updated.
  1088. - Added description.
  1089. * Sat Dec 7 2002 TABATA Yusuke <yusuke@localhost.localdomain>
  1090. - Initial build.