rpms/scim-pinyin/FC-4 scim-pinyin.spec,1.3,1.4
Ryo Dairiki (ryo)
fedora-extras-commits at redhat.com
Sun Jul 31 00:30:04 UTC 2005
Author: ryo
Update of /cvs/extras/rpms/scim-pinyin/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11724
Modified Files:
scim-pinyin.spec
Log Message:
modify to use update-xinput-scim script
Index: scim-pinyin.spec
===================================================================
RCS file: /cvs/extras/rpms/scim-pinyin/FC-4/scim-pinyin.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- scim-pinyin.spec 27 Jul 2005 08:12:41 -0000 1.3
+++ scim-pinyin.spec 31 Jul 2005 00:30:02 -0000 1.4
@@ -1,6 +1,6 @@
Name: scim-pinyin
Version: 0.5.0
-Release: 4%{?dist}
+Release: 4.1%{?dist}
Summary: Smart Pinyin IMEngine for Smart Common Input Method platform
License: GPL
@@ -10,7 +10,10 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Patch1: scim-pinyin-0.5.0-setup-ambiguity-cast.patch
+Provides: scim-zh_CN, scim-zh_TW
BuildRequires: scim-devel, gtk2-devel
+# for alternatives in install scripts
+PreReq: %{_sysconfdir}/X11/xinit/xinput.d/scim, %{_libdir}/scim-1.0/update-xinput-scim
%description
@@ -42,10 +45,18 @@
%post
/sbin/ldconfig
+%{_libdir}/scim-1.0/update-xinput-scim install zh_CN
+%{_libdir}/scim-1.0/update-xinput-scim install zh_TW
+
%postun
/sbin/ldconfig
+if [ "$1" = "0" ]; then
+ %{_libdir}/scim-1.0/update-xinput-scim remove zh_CN
+ %{_libdir}/scim-1.0/update-xinput-scim remove zh_TW
+fi
+
%files -f %{name}.lang
%defattr(-,root,root,-)
@@ -57,6 +68,9 @@
%changelog
+* Sun Jul 31 2005 Ryo Dairiki <ryo-dairiki at mbm.nifty.com> -0.5.0-4.1
+- Modify to use update-xinput-scim script
+
* Wed Jul 27 2005 Ryo Dairiki <ryo-dairiki at mbm.nifty.com> -0.5.0-4
- Rebuild for scim-1.4.0
More information about the scm-commits
mailing list