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