rpms/scim-anthy/FC-3 scim-anthy.spec,1.9,1.10

Ryo Dairiki (ryo) fedora-extras-commits at redhat.com
Mon Aug 1 05:06:19 UTC 2005


Author: ryo

Update of /cvs/extras/rpms/scim-anthy/FC-3
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21816

Modified Files:
	scim-anthy.spec 
Log Message:
sync with FC-4 branch



Index: scim-anthy.spec
===================================================================
RCS file: /cvs/extras/rpms/scim-anthy/FC-3/scim-anthy.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- scim-anthy.spec	29 Jul 2005 11:12:16 -0000	1.9
+++ scim-anthy.spec	1 Aug 2005 05:06:17 -0000	1.10
@@ -1,6 +1,6 @@
 Name:           scim-anthy
 Version:        0.5.3
-Release:        1%{?dist}
+Release:        3%{?dist}
 Summary:        SCIM IMEngine for anthy for Japanese input
 
 Group:          System Environment/Libraries
@@ -9,8 +9,11 @@
 Source0:        http://sourceforge.jp/projects/scim-imengine/files/%{name}-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
+Provides:       scim-ja_JP
 Requires:       anthy
 BuildRequires:  scim-devel anthy-devel
+# for alternatives in install scripts
+PreReq: %{_sysconfdir}/X11/xinit/xinput.d/scim, %{_libdir}/scim-1.0/update-xinput-scim
 
 %description
 Scim-anthy is a SCIM IMEngine module for anthy to support Japanese input.
@@ -38,6 +41,14 @@
 rm -rf $RPM_BUILD_ROOT
 
 
+%post
+%{_libdir}/scim-1.0/update-xinput-scim install ja_JP
+
+
+%postun
+%{_libdir}/scim-1.0/update-xinput-scim remove ja_JP
+
+
 %files -f %{name}.lang
 %defattr(-,root,root,-)
 %doc AUTHORS COPYING NEWS README TODO
@@ -46,6 +57,19 @@
 
 
 %changelog
+* Sat Jul 30 2005 Ryo Dairiki <ryo-dairiki at mbm.nifty.com> - 0.5.3-3
+- modify to use update-xinput-scim script
+
+* Sat Jul 30 2005 Jens Petersen <petersen at redhat.com> - 0.5.3-2
+- prereq scim xinput.d script
+- count scim-ja_JP providers before removing xinput.d alternative
+
+* Fri Jul 29 2005 Ryo Dairiki <ryo-dairiki at mbm.nifty.com>
+- add xinput.d alternatives setup in %%post and %%po
+stun
+- provide scim-ja_JP and only uninstall xinput.d-ja_JP alternative if
+  no other scim-ja_JP left
+
 * Fri Jul 29 2005 Jens Petersen <petersen at redhat.com> - 0.5.3-1
 - update to 0.5.3 release
 




More information about the scm-commits mailing list