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:
commit
a05e5841b3
@ -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
|
Mon May 7 02:55:27 UTC 2012 - i@marguerite.su
|
||||||
|
|
||||||
|
@ -59,6 +59,7 @@ Requires: %{name}-gtk2 = %{version}-%{release}
|
|||||||
Requires: %{name}-gtk3 = %{version}-%{release}
|
Requires: %{name}-gtk3 = %{version}-%{release}
|
||||||
Requires: %{name}-qt4 = %{version}-%{release}
|
Requires: %{name}-qt4 = %{version}-%{release}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
Provides: locale(ko;zh_CN;zh_SG)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
FCITX is a simplified Chinese input server. It supports Tables,
|
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/
|
mkdir -p %{buildroot}%{_sysconfdir}/X11/xim.d/
|
||||||
install -m 644 %{S:1} %{buildroot}%{_sysconfdir}/X11/xim.d/fcitx
|
install -m 644 %{S:1} %{buildroot}%{_sysconfdir}/X11/xim.d/fcitx
|
||||||
|
|
||||||
|
priority=30
|
||||||
pushd %{buildroot}%{_sysconfdir}/X11/xim.d/
|
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
|
mkdir $lang
|
||||||
pushd $lang
|
pushd $lang
|
||||||
ln -s ../fcitx 30-fcitx
|
ln -s ../fcitx $priority-fcitx
|
||||||
popd
|
popd
|
||||||
done
|
done
|
||||||
popd
|
popd
|
||||||
|
Loading…
Reference in New Issue
Block a user