diff --git a/fcitx.changes b/fcitx.changes index aad67cc..637c9fc 100644 --- a/fcitx.changes +++ b/fcitx.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat May 12 12:49:11 UTC 2012 - i@marguerite.su + +- bring fcitx in as default IM in DVD. +- add Provides(en;ko;zh_CN;zh_SG). + ------------------------------------------------------------------- Mon May 7 02:55:27 UTC 2012 - i@marguerite.su diff --git a/fcitx.spec b/fcitx.spec index b014b9f..d0bb13f 100644 --- a/fcitx.spec +++ b/fcitx.spec @@ -59,6 +59,7 @@ Requires: %{name}-gtk2 = %{version}-%{release} Requires: %{name}-gtk3 = %{version}-%{release} Requires: %{name}-qt4 = %{version}-%{release} BuildRoot: %{_tmppath}/%{name}-%{version}-build +Provides: locale(ko;zh_CN;zh_SG) %description FCITX is a simplified Chinese input server. It supports Tables, @@ -157,11 +158,12 @@ sed -i "2iMimeType=applicatio\/x-fskin;" %{buildroot}%{_datadir}/applications/fc mkdir -p %{buildroot}%{_sysconfdir}/X11/xim.d/ install -m 644 %{S:1} %{buildroot}%{_sysconfdir}/X11/xim.d/fcitx +priority=30 pushd %{buildroot}%{_sysconfdir}/X11/xim.d/ - for lang in en zh_CN ; do + for lang in en ko zh_CN zh_SG ; do mkdir $lang pushd $lang - ln -s ../fcitx 30-fcitx + ln -s ../fcitx $priority-fcitx popd done popd