SHA256
1
0
forked from pool/fcitx

Accepting request 120765 from home:MargueriteSu:branches:M17N

OBS-URL: https://build.opensuse.org/request/show/120765
OBS-URL: https://build.opensuse.org/package/show/M17N/fcitx?expand=0&rev=27
This commit is contained in:
Xing Yin 2012-05-16 19:17:48 +00:00 committed by Git OBS Bridge
parent 68e4925e05
commit 7009eb094b
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