|
@@ -1,38 +1,43 @@
|
|
|
-# disable feature if you run rpmbuild with '--without feature'
|
|
|
-%define with_emacsen %{?_without_emacsen:0}%{!?_without_emacsen:1}
|
|
|
-%define with_qt %{?_without_qt:0}%{!?_without_qt:1}
|
|
|
-%define with_qt4 %{?_without_qt4:0}%{!?_without_qt4:1}
|
|
|
-#%define with_gnome %{?_without_gnome:0}%{!?_without_gnome:1}
|
|
|
-%define with_gnome 0
|
|
|
-%define with_kde %{?_without_kde:0}%{!?_without_kde:1}
|
|
|
-%define with_mana %{?_without_mana:0}%{!?_without_mana:1}
|
|
|
-
|
|
|
-#define with_canna %{?_without_canna:0}%{!?_without_canna:1}
|
|
|
-%define with_canna 0
|
|
|
+
|
|
|
+# build emacsen uim bridge ("--without emacs" to disable)
|
|
|
+%bcond_without emacsen
|
|
|
+# build qt3 immodule ("--without qt3" to disable qt3)
|
|
|
+%bcond_without qt3
|
|
|
+# build qt4 immodule ("--without qt4" to disable qt4)
|
|
|
+%bcond_without qt4
|
|
|
+# build KDE applet ("--without kde" to disable kde)
|
|
|
+%bcond_without kde
|
|
|
+# build mana support ("--without mana" to disable mana)
|
|
|
+%bcond_without mana
|
|
|
+
|
|
|
+# do not build GNOME applet ("--with gnome" to enable gnome)
|
|
|
+%bcond_with gnome
|
|
|
+# do not build Canna module ("--with canna" to enable canna)
|
|
|
+%bcond_with canna
|
|
|
|
|
|
%define qt3_ver 3.3.8
|
|
|
-%define qt4_ver 4.8.3
|
|
|
-# Qt3 version auto-detection -- inagaki
|
|
|
+%define qt4_ver 4.8.6
|
|
|
+
|
|
|
+# Qt3 version detection
|
|
|
%define _qt3_version %(pkg-config --modversion --silence-errors qt-mt 2>/dev/null || echo %{qt3_ver})
|
|
|
%define _qt3_prefix %{_libdir}/qt-%{_qt3_version}
|
|
|
%define _qt3_plugindir %{_qt3_prefix}/plugins
|
|
|
|
|
|
-# build qt4 immodule ("--without qt4" to disable qt4)
|
|
|
-%bcond_without qt4
|
|
|
-# Qt4 version auto-detection -- inagaki
|
|
|
+# Qt4 version detection
|
|
|
%define _qt4_version %(pkg-config --modversion --silence-errors Qt 2>/dev/null || echo %{qt4_ver})
|
|
|
%define _qt4_prefix %(pkg-config --variable prefix --silence-errors Qt 2>/dev/null || echo %{_libdir}/qt4)
|
|
|
%define _qt4_plugindir %(pkg-config --variable plugindir --silence-errors Qt 2>/dev/null || echo %{_qt4_prefix}/plugins)
|
|
|
|
|
|
-#%%define extraver beta
|
|
|
+#define extraver beta
|
|
|
|
|
|
Name: uim
|
|
|
Summary: Uim an input method library
|
|
|
Summary(ja): 入力メソッドライブラリ
|
|
|
Version: 1.8.6
|
|
|
-Release: 1%{?_dist_release}
|
|
|
+Release: 2%{?_dist_release}
|
|
|
|
|
|
-License: LGPLv2/BSD
|
|
|
+# pinyin-big5.scm and elatin-rules.scm are licensed under GPL
|
|
|
+License: BSD, LGPLv2 and GPL
|
|
|
Group: System Environment/Libraries
|
|
|
URL: http://code.google.com/p/uim/
|
|
|
|
|
@@ -52,24 +57,27 @@ BuildRequires: ncurses-devel
|
|
|
BuildRequires: anthy-devel m17n-lib-devel eb-devel
|
|
|
BuildRequires: libedit-devel libffi-devel expat-devel curl-devel
|
|
|
BuildRequires: gettext-devel desktop-file-utils
|
|
|
-%if %{with_qt}
|
|
|
+%if %{with qt3}
|
|
|
BuildRequires: qt-devel
|
|
|
%endif
|
|
|
-%if %{with_qt4}
|
|
|
+%if %{with qt4}
|
|
|
BuildRequires: qt4-devel
|
|
|
%endif
|
|
|
-%if %{with_gnome}
|
|
|
+%if %{with gnome}
|
|
|
BuildRequires: gnome-panel-devel
|
|
|
BuildRequires: libgnomeui-devel
|
|
|
%endif
|
|
|
-%if %{with_kde}
|
|
|
+%if %{with kde}
|
|
|
BuildRequires: kdelibs4-devel
|
|
|
BuildRequires: cmake
|
|
|
%endif
|
|
|
-%if %{with_mana}
|
|
|
+%if %{with canna}
|
|
|
+BuildRequires: Canna-devel
|
|
|
+%endif
|
|
|
+%if %{with mana}
|
|
|
BuildRequires: mana
|
|
|
%endif
|
|
|
-%if %{with_emacsen}
|
|
|
+%if %{with emacsen}
|
|
|
BuildRequires: emacs
|
|
|
%endif
|
|
|
|
|
@@ -86,7 +94,8 @@ uim は様々な言語の入力メソッドのコレクションです。
|
|
|
%package xim
|
|
|
Summary: XIM frontend for Uim
|
|
|
Summary(ja): uim を利用した XIM サーバ
|
|
|
-Group: User Interface/Desktops
|
|
|
+License: BSD and LGPLv2
|
|
|
+Group: User Interface/X
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
%description xim
|
|
@@ -99,6 +108,7 @@ XIM 経由で入力を行う場合に必要です。
|
|
|
%package gtk
|
|
|
Summary: GTK helper for uim
|
|
|
Summary(ja): uim の GTK ヘルパー
|
|
|
+License: BSD and LGPLv2
|
|
|
Group: User Interface/Desktops
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
Requires: gtk2
|
|
@@ -117,6 +127,7 @@ input pad, candidate window, and preference tool using GTK.
|
|
|
%package gtk3
|
|
|
Summary: GTK3 helper for uim
|
|
|
Summary(ja): uim の GTK3 ヘルパー
|
|
|
+License: BSD and LGPLv2
|
|
|
Group: User Interface/Desktops
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
Requires: gtk3
|
|
@@ -133,13 +144,14 @@ input pad, candidate window, and preference tool using GTK3.
|
|
|
候補ウィンドウ、設定ツールなどが含まれています。
|
|
|
|
|
|
|
|
|
-%if %{with_qt}
|
|
|
+%if %{with qt3}
|
|
|
%package qt
|
|
|
Summary: Qt3 support for Uim
|
|
|
Summary(ja): uim の Qt3 サポート
|
|
|
Group: User Interface/Desktops
|
|
|
+License: BSD and LGPLv2
|
|
|
Requires: %{name}-xim = %{version}-%{release}
|
|
|
-Requires: qt = %{_qt3_version}
|
|
|
+Requires: qt >= %{_qt3_version}
|
|
|
|
|
|
Obsoletes: %{name}-qt-immodule < 1.5.6-2
|
|
|
Obsoletes: %{name}-qt-common < %{version}-%{release}
|
|
@@ -156,13 +168,14 @@ and preference tool using Qt.
|
|
|
が含まれています。
|
|
|
%endif
|
|
|
|
|
|
-%if %{with_qt4}
|
|
|
+%if %{with qt4}
|
|
|
%package qt4
|
|
|
Summary: Qt4 support for Uim
|
|
|
Summary(ja): Uim の Qt4 サポート
|
|
|
+License: BSD and LGPLv2
|
|
|
Group: User Interface/Desktops
|
|
|
Requires: %{name}-xim = %{version}-%{release}
|
|
|
-Requires: qt4 = %{_qt4_version}
|
|
|
+Requires: qt4 >= %{_qt4_version}
|
|
|
Obsoletes: %{name}-qt-common < %{version}-%{release}
|
|
|
|
|
|
%description qt4
|
|
@@ -174,15 +187,14 @@ and preference tool using Qt4.
|
|
|
が含まれています。
|
|
|
%endif
|
|
|
|
|
|
-%if %{with_gnome}
|
|
|
+%if %{with gnome}
|
|
|
%package applet
|
|
|
Summary: GNOME panel applet for Uim
|
|
|
Summary(ja): uim の GNOME 用パネルアプレット
|
|
|
+License: BSD and LGPLv2
|
|
|
Group: User Interface/Desktops
|
|
|
-#BuildRequires: libgnomeui-devel
|
|
|
Requires: %{name}-xim = %{version}-%{release}
|
|
|
Requires: %{name}-gtk3 = %{version}-%{release}
|
|
|
-#Requires: libgnomeui
|
|
|
|
|
|
%description applet
|
|
|
uim-applet is GNOME panel applet for uim.
|
|
@@ -191,18 +203,14 @@ uim-applet is GNOME panel applet for uim.
|
|
|
uim-applet は uim の入力状態を表示する GNOME 用パネルアプレットです。
|
|
|
%endif
|
|
|
|
|
|
-%if %{with_kde}
|
|
|
+%if %{with kde}
|
|
|
%package kde-applet
|
|
|
Summary: KDE panel applet for Uim
|
|
|
Summary(ja): uim の KDE 用パネルアプレット
|
|
|
+License: BSD and LGPLv2
|
|
|
Group: User Interface/Desktops
|
|
|
-%if %{?_dist_release} == "vl5" || %{?_dist_release} == "vl4"
|
|
|
-Requires: kdelibs3
|
|
|
-Requires: %{name}-qt = %{version}-%{release}
|
|
|
-%else
|
|
|
Requires: kdelibs4
|
|
|
Requires: %{name}-qt4 = %{version}-%{release}
|
|
|
-%endif
|
|
|
Requires: %{name}-xim = %{version}-%{release}
|
|
|
|
|
|
%description kde-applet
|
|
@@ -210,27 +218,12 @@ uim-kde-applet is KDE panel applet for uim.
|
|
|
|
|
|
%description -l ja kde-applet
|
|
|
uim-kde-applet は uim の入力状態を表示する KDE 用パネルアプレットです。
|
|
|
-
|
|
|
-%if %{?_dist_release} == "vl5" || %{?_dist_release} == "vl4"
|
|
|
-%package kde4-applet
|
|
|
-Summary: KDE4 panel applet for Uim
|
|
|
-Summary(ja): uim の KDE4 用パネルアプレット
|
|
|
-Group: User Interface/Desktops
|
|
|
-Requires: kdelibs4
|
|
|
-Requires: %{name}-qt4 = %{version}-%{release}
|
|
|
-Requires: %{name}-xim = %{version}-%{release}
|
|
|
-
|
|
|
-%description kde4-applet
|
|
|
-uim-kde-applet is KDE4 panel applet for uim.
|
|
|
-
|
|
|
-%description -l ja kde4-applet
|
|
|
-uim-kde-applet は uim の入力状態を表示する KDE4 用パネルアプレットです。
|
|
|
-%endif
|
|
|
%endif
|
|
|
|
|
|
%package fep
|
|
|
Summary: an Input Method for console
|
|
|
Summary(ja): コンソール用インプットメソッド
|
|
|
+License: BSD
|
|
|
Group: Applications/System
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
Requires: ncurses
|
|
@@ -246,6 +239,7 @@ FEP (フロントエンドプロセッサ) です。
|
|
|
%package anthy
|
|
|
Summary: Anthy support for Uim
|
|
|
Summary(ja): uim の Anthy モジュール
|
|
|
+License: BSD and LGPLv2
|
|
|
Group: System Environment/Libraries
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
Requires: anthy
|
|
@@ -260,12 +254,12 @@ This package provides support for Anthy, a Japanese input method.
|
|
|
連文節かな漢字変換エンジン Anthy を使って日本語を入力・変換するための
|
|
|
モジュールです。
|
|
|
|
|
|
-%if %{with_canna}
|
|
|
+%if %{with canna}
|
|
|
%package canna
|
|
|
Summary: Canna support for Uim
|
|
|
Summary(ja): uim の Canna モジュール
|
|
|
+License: BSD and LGPLv2
|
|
|
Group: System Environment/Libraries
|
|
|
-BuildRequires: Canna-devel
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
Requires: Canna
|
|
|
Requires(post): %{name} = %{version}-%{release}
|
|
@@ -294,12 +288,12 @@ This package provides support for SKK, a Japanese input method.
|
|
|
%description -l ja skk
|
|
|
SKK 入力方式で日本語を入力・変換するためのモジュールです。
|
|
|
|
|
|
-%if %{with_mana}
|
|
|
+%if %{with mana}
|
|
|
%package mana
|
|
|
Summary: Mana support for Uim
|
|
|
Summary(ja): uim の真字モジュール
|
|
|
+License: BSD
|
|
|
Group: System Environment/Libraries
|
|
|
-BuildRequires: mana
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
Requires: mana, manadic
|
|
|
Requires(post): %{name} = %{version}-%{release}
|
|
@@ -313,10 +307,11 @@ This package provides support for mana, a Japanese input method.
|
|
|
モジュールです。
|
|
|
%endif
|
|
|
|
|
|
-%if %{with_emacsen}
|
|
|
+%if %{with emacsen}
|
|
|
%package el
|
|
|
Summary: Emacsen uim bridge
|
|
|
Summary(ja): Emacsen-uim ブリッジ
|
|
|
+License: BSD
|
|
|
Group: Applications/Editors/Emacs
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
Requires: emacsen
|
|
@@ -338,6 +333,8 @@ uim.el を導入すると、Emacsen 上で uim を利用した文字入力が可
|
|
|
|
|
|
%package m17n
|
|
|
Summary: m17n-lib support for Uim
|
|
|
+Summary(ja): uim の m17n-lib モジュール
|
|
|
+License: BSD
|
|
|
Group: System Environment/Libraries
|
|
|
Requires: uim = %{version}-%{release}
|
|
|
Requires(post): gtk2 /usr/bin/uim-module-manager
|
|
@@ -350,6 +347,7 @@ many languages using the input table map from m17n-db.
|
|
|
%package devel
|
|
|
Summary: Development tools for libuim applications.
|
|
|
Summary(ja): libuim を使ったアプリケーションを開発するためのファイル
|
|
|
+License: BSD and LGPLv2
|
|
|
Group: Development/Libraries
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
@@ -366,7 +364,7 @@ uim-devel パッケージには libuim を利用したアプリケーション
|
|
|
|
|
|
|
|
|
%build
|
|
|
-%if %{with_qt}
|
|
|
+%if %{with qt3}
|
|
|
unset QTDIR
|
|
|
export QTDIR=%{_qt3_prefix}
|
|
|
%endif
|
|
@@ -382,58 +380,46 @@ export QTDIR=%{_qt3_prefix}
|
|
|
--with-ffi \
|
|
|
--with-eb --with-eb-conf=%{_sysconfdir}/eb.conf \
|
|
|
--disable-static \
|
|
|
-%if %{with_gnome}
|
|
|
+%if %{with gnome}
|
|
|
--enable-gnome3-applet \
|
|
|
%else
|
|
|
--disable-gnome-applet \
|
|
|
%endif
|
|
|
-%if %{with_qt}
|
|
|
+%if %{with qt3}
|
|
|
--with-qt \
|
|
|
--with-qt-immodule \
|
|
|
%else
|
|
|
--without-qt \
|
|
|
--without-qt-immodule \
|
|
|
%endif
|
|
|
-%if %{with_qt4}
|
|
|
+%if %{with qt4}
|
|
|
--with-qt4 \
|
|
|
--with-qt4-immodule \
|
|
|
%else
|
|
|
--without-qt4 \
|
|
|
--without-qt4-immodule \
|
|
|
%endif
|
|
|
-%if %{with_kde}
|
|
|
- --enable-kde-applet \
|
|
|
+%if %{with kde}
|
|
|
+ --disable-kde-applet \
|
|
|
--enable-kde4-applet \
|
|
|
%else
|
|
|
--disable-kde-applet \
|
|
|
--disable-kde4-applet \
|
|
|
%endif
|
|
|
-%if %{with_canna}
|
|
|
+%if %{with canna}
|
|
|
--with-canna \
|
|
|
%else
|
|
|
--without-canna \
|
|
|
%endif
|
|
|
-%if !%{with_emacsen}
|
|
|
+%if %{without emacsen}
|
|
|
--disable-emacs \
|
|
|
%endif
|
|
|
-%if %{with_mana}
|
|
|
+%if %{with mana}
|
|
|
--with-mana
|
|
|
%else
|
|
|
--without-mana
|
|
|
%endif
|
|
|
|
|
|
-# generate Makefile properly for kde4-applets (ad-hoc)
|
|
|
-#if %{with_kde}
|
|
|
-#pushd qt4/toolbar/build
|
|
|
-#QTDIR=%{_qt4_prefix} {cmake} \
|
|
|
-# -DCMAKE_BUILD_TYPE=release \
|
|
|
-# -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
|
|
|
-# -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
|
|
|
-# -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
|
|
|
-# ..
|
|
|
-#popd
|
|
|
-#endif
|
|
|
-
|
|
|
sed -i -e 's/^\(hardcode_direct=\)$/\1no/' -e 's/^\(hardcode_minus_L=\)$/\1no/' -e 's/^\(libext=\)$/\1"a"/' libtool
|
|
|
LD_LIBRARY_PATH=$RPM_BUILD_DIR/%{name}-%{version}/uim/.libs:$LD_LIBRARY_PATH make
|
|
|
|
|
@@ -465,28 +451,28 @@ make install DESTDIR=%{buildroot}
|
|
|
%__rm -f %{buildroot}%{_qt3_plugindir}/inputmethods/*.{a,la}
|
|
|
%__rm -f %{buildroot}%{_qt4_plugindir}/inputmethods/*.{a,la}
|
|
|
|
|
|
-%if ! %{with_canna}
|
|
|
+%if %{without canna}
|
|
|
%__rm -f %{buildroot}%{_libdir}/uim/plugin/libuim-canna.so
|
|
|
%__rm -f %{buildroot}%{_datadir}/uim/canna*.scm
|
|
|
%__rm -f %{buildroot}%{_datadir}/uim/pixmaps/canna.*
|
|
|
%endif
|
|
|
|
|
|
-%if ! %{with_mana}
|
|
|
+%if %{without mana}
|
|
|
%__rm -f %{buildroot}%{_libdir}/uim/plugin/libuim-mana.so
|
|
|
%__rm -f %{buildroot}%{_datadir}/uim/mana.scm
|
|
|
%__rm -f %{buildroot}%{_datadir}/uim/mana-*.scm
|
|
|
%__rm -f %{buildroot}%{_datadir}/uim/pixmaps/mana.*
|
|
|
%endif
|
|
|
|
|
|
-%if ! %{with_qt}
|
|
|
+%if %{without qt3}
|
|
|
%__rm -f %{buildroot}%{_datadir}/locale/*/LC_MESSAGES/uim-chardict-qt.mo
|
|
|
%endif
|
|
|
|
|
|
-%if ! %{with_qt4}
|
|
|
+%if %{without qt4}
|
|
|
%__rm -f %{buildroot}%{_datadir}/locale/*/LC_MESSAGES/uim-chardict-qt4.mo
|
|
|
%endif
|
|
|
|
|
|
-%if %{with_emacsen}
|
|
|
+%if %{with emacsen}
|
|
|
%__mkdir_p %{buildroot}%{emacsen_pkgdir}/install
|
|
|
%__mkdir_p %{buildroot}%{emacsen_pkgdir}/remove
|
|
|
|
|
@@ -499,9 +485,10 @@ make install DESTDIR=%{buildroot}
|
|
|
%endif
|
|
|
|
|
|
# move documents for sigscheme
|
|
|
-#%__rm -rf installed-doc
|
|
|
-#%__mkdir installed-doc
|
|
|
-#%__mv -f %{buildroot}%{_docdir}/sigscheme installed-doc/
|
|
|
+rm -rf installed-doc
|
|
|
+mkdir -p installed-doc/sigscheme
|
|
|
+cp -p sigscheme/doc/*.txt installed-doc/sigscheme
|
|
|
+cp -p sigscheme/doc/*.html installed-doc/sigscheme
|
|
|
|
|
|
# script to register prefered engine
|
|
|
%__cat %{SOURCE3} \
|
|
@@ -548,7 +535,7 @@ if [ $1 = 0 ] ; then
|
|
|
%{_bindir}/uim-module-manager --unregister anthy > /dev/null 2>&1
|
|
|
fi
|
|
|
|
|
|
-%if %{with_canna}
|
|
|
+%if %{with canna}
|
|
|
%post canna
|
|
|
%{_datadir}/uim/update-installed-modules.sh --register canna > /dev/null 2>&1
|
|
|
|
|
@@ -566,7 +553,7 @@ if [ $1 = 0 ] ; then
|
|
|
%{_bindir}/uim-module-manager --unregister skk > /dev/null 2>&1
|
|
|
fi
|
|
|
|
|
|
-%if %{with_mana}
|
|
|
+%if %{with mana}
|
|
|
%post mana
|
|
|
%{_datadir}/uim/update-installed-modules.sh --register mana > /dev/null 2>&1
|
|
|
|
|
@@ -576,7 +563,7 @@ if [ $1 = 0 ] ; then
|
|
|
fi
|
|
|
%endif
|
|
|
|
|
|
-%if %{with_emacsen}
|
|
|
+%if %{with emacsen}
|
|
|
%post el
|
|
|
if [ $1 = 2 ] ; then
|
|
|
%_emacsenPackageRemove %{name}-el
|
|
@@ -606,7 +593,7 @@ fi
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
%defattr(-,root,root)
|
|
|
-%doc README* ChangeLog* INSTALL* AUTHORS COPYING
|
|
|
+%doc AUTHORS COPYING ChangeLog* NEWS README RELNOTE
|
|
|
%config(noreplace) %{_sysconfdir}/sysconfig/uim
|
|
|
%{_bindir}/uim-help
|
|
|
%{_bindir}/uim-sh
|
|
@@ -617,11 +604,11 @@ fi
|
|
|
%exclude %{_datadir}/uim/skk*.scm
|
|
|
%exclude %{_datadir}/uim/pixmaps/anthy.*
|
|
|
%exclude %{_datadir}/uim/pixmaps/skk.*
|
|
|
-%if %{with_canna}
|
|
|
+%if %{with canna}
|
|
|
%exclude %{_datadir}/uim/canna*.scm
|
|
|
%exclude %{_datadir}/uim/pixmaps/canna.*
|
|
|
%endif
|
|
|
-%if %{with_mana}
|
|
|
+%if %{with mana}
|
|
|
%exclude %{_datadir}/uim/mana.scm
|
|
|
%exclude %{_datadir}/uim/mana-*.scm
|
|
|
%exclude %{_datadir}/uim/pixmaps/mana.*
|
|
@@ -672,7 +659,7 @@ fi
|
|
|
%{_libexecdir}/uim-candwin-tbl-gtk3
|
|
|
%{_libdir}/gtk-3.0/*/immodules/*.so
|
|
|
|
|
|
-%if %{with_qt}
|
|
|
+%if %{with qt3}
|
|
|
%files qt
|
|
|
%defattr(-,root,root)
|
|
|
# BSD and LGPLv2+
|
|
@@ -687,7 +674,7 @@ fi
|
|
|
%{_qt3_plugindir}/inputmethods/*.so
|
|
|
%endif
|
|
|
|
|
|
-%if %{with_qt4}
|
|
|
+%if %{with qt4}
|
|
|
%files qt4
|
|
|
%defattr(-,root,root)
|
|
|
# BSD and LGPLv2+
|
|
@@ -702,7 +689,7 @@ fi
|
|
|
%{_qt4_plugindir}/inputmethods/*.so
|
|
|
%endif
|
|
|
|
|
|
-%if %{with_gnome}
|
|
|
+%if %{with gnome}
|
|
|
%files applet
|
|
|
%defattr(-,root,root)
|
|
|
%{_libexecdir}/uim-toolbar-applet-gnome3
|
|
@@ -710,22 +697,11 @@ fi
|
|
|
%{_datadir}/gnome-panel/4.0/applets/UimApplet.panel-applet
|
|
|
%endif
|
|
|
|
|
|
-%if %{with_kde}
|
|
|
+%if %{with kde}
|
|
|
%files kde-applet
|
|
|
%defattr(-,root,root)
|
|
|
-%if %{?_dist_release} == "vl5" || %{?_dist_release} == "vl4"
|
|
|
-%{_libdir}/kde3/uim_panelapplet.*
|
|
|
-%{_datadir}/apps/kicker/applets/uimapplet.desktop
|
|
|
-
|
|
|
-%files kde4-applet
|
|
|
-%defattr(-,root,root)
|
|
|
-%{_libdir}/kde4/plasma_applet_uim.*
|
|
|
-%{_datadir}/kde4/services/plasma-applet-uim.desktop
|
|
|
-%else
|
|
|
%{_libdir}/kde4/plasma_applet_uim.*
|
|
|
%{_datadir}/kde4/services/plasma-applet-uim.desktop
|
|
|
-
|
|
|
-%endif
|
|
|
%endif
|
|
|
|
|
|
%files fep
|
|
@@ -741,7 +717,7 @@ fi
|
|
|
%{_datadir}/uim/anthy*.scm
|
|
|
%{_datadir}/uim/pixmaps/anthy.*
|
|
|
|
|
|
-%if %{with_canna}
|
|
|
+%if %{with canna}
|
|
|
%files canna
|
|
|
%defattr(-,root,root)
|
|
|
%{_libdir}/uim/plugin/libuim-canna.so
|
|
@@ -755,7 +731,7 @@ fi
|
|
|
%{_datadir}/uim/skk*.scm
|
|
|
%{_datadir}/uim/pixmaps/skk.*
|
|
|
|
|
|
-%if %{with_mana}
|
|
|
+%if %{with mana}
|
|
|
%files mana
|
|
|
%defattr(-,root,root)
|
|
|
%{_libdir}/uim/plugin/libuim-mana.so
|
|
@@ -764,7 +740,7 @@ fi
|
|
|
%{_datadir}/uim/pixmaps/mana.*
|
|
|
%endif
|
|
|
|
|
|
-%if %{with_emacsen}
|
|
|
+%if %{with emacsen}
|
|
|
%files el
|
|
|
%defattr(-,root,root)
|
|
|
%doc emacs/COPYING emacs/README*
|
|
@@ -780,7 +756,6 @@ fi
|
|
|
%{_bindir}/uim-m17nlib-relink-icons
|
|
|
%{_libdir}/uim/plugin/libuim-m17nlib.so
|
|
|
%{_datadir}/uim/m17nlib.scm
|
|
|
-#{_datadir}/uim/pixmaps/m17n*png
|
|
|
%dir %{_datadir}/uim
|
|
|
|
|
|
%files devel
|
|
@@ -792,6 +767,10 @@ fi
|
|
|
%{_libdir}/pkgconfig/*
|
|
|
|
|
|
%changelog
|
|
|
+* Thu Apr 2 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.8.6-2
|
|
|
+- fixed Requires in qt4 subpackage
|
|
|
+- used bcond macros
|
|
|
+
|
|
|
* Sun Jul 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.6-1
|
|
|
- new upstream release
|
|
|
- drop %%{name}-applet subpackage
|