Accepting request 121241 from M17N

(forwarded request 120765 from MargueriteSu)

OBS-URL: https://build.opensuse.org/request/show/121241
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fcitx?expand=0&rev=6
This commit is contained in:
Stephan Kulow 2012-05-21 05:24:28 +00:00 committed by Git OBS Bridge
commit a05e5841b3
2 changed files with 10 additions and 2 deletions

View File

@ -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

View File

@ -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