rpms/scim/FC-4 scim.spec,1.21,1.22
Jens Petersen (petersen)
fedora-extras-commits at redhat.com
Thu Sep 22 02:33:52 UTC 2005
Author: petersen
Update of /cvs/extras/rpms/scim/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24238
Modified Files:
scim.spec
Log Message:
- move libs and the gtk immodule to scim-libs for multilib
- make scim-devel require scim-libs
- add xinput.d entries for Indic langs
Index: scim.spec
===================================================================
RCS file: /cvs/extras/rpms/scim/FC-4/scim.spec,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- scim.spec 9 Sep 2005 05:47:23 -0000 1.21
+++ scim.spec 22 Sep 2005 02:33:50 -0000 1.22
@@ -1,7 +1,7 @@
Name: scim
Version: 1.4.2
# must be less than the release number of scim in Core
-Release: 1%{?dist}
+Release: 3%{?dist}
Summary: Smart Common Input Method platform
License: LGPL
@@ -26,7 +26,7 @@
%package devel
Summary: Smart Common Input Method platform
Group: Development/Libraries
-Requires: %{name} = %{version}-%{release}
+Requires: %{name}-libs = %{version}-%{release}
Requires: gtk2-devel
%description devel
@@ -36,12 +36,20 @@
%package doc
Summary: Smart Common Input Method platform documentation
-Group: Development/Libraries
+Group: Documentation
%description doc
SCIM development documentation files generated from the sourcecode.
+%package libs
+Summary: Smart Common Input Method libraries
+Group: System Environment/Libraries
+
+%description libs
+This package provides the libraries and GTK input method module for SCIM.
+
+
%prep
%setup -q
%patch1 -p1 -b .1-restart
@@ -86,11 +94,14 @@
%clean
rm -rf ${RPM_BUILD_ROOT}
+%define cjk_langs ja_JP ko_KR zh_CN zh_TW
+%define indic_langs bn_IN gu_IN hi_IN kn_IN ml_IN pa_IN ta_IN te_IN
+%define supported_langs %{cjk_langs} %{indic_langs} ne_NE th_TH
%post
/sbin/ldconfig
-for llcc in ja_JP ko_KR zh_CN zh_TW; do
+for llcc in %{supported_langs}; do
%{_sbindir}/alternatives --install %{_sysconfdir}/X11/xinit/xinput.d/$llcc xinput-$llcc %{_sysconfdir}/X11/xinit/xinput.d/scim 81
done
@@ -101,7 +112,7 @@
/sbin/ldconfig
if [ "$1" = "0" ]; then
- for llcc in ja_JP ko_KR zh_CN zh_TW; do
+ for llcc in %{supported_langs}; do
%{_sbindir}/alternatives --remove xinput-$llcc %{_sysconfdir}/X11/xinit/xinput.d/scim
# if alternative was set to manual scim, reset to auto
[ "`readlink %{_sysconfdir}/alternatives/xinput-$llcc`" = "%{_sysconfdir}/X11/xinit/xinput.d/scim" ] && %{_sbindir}/alternatives --auto xinput-$llcc
@@ -118,9 +129,7 @@
%config(noreplace) %{_sysconfdir}/scim/*
%{_sysconfdir}/X11/xinit/xinput.d
%{_bindir}/*
-%{_libdir}/libscim*.so.*
%{_libdir}/scim-1.0
-%{_libdir}/gtk-2.0/immodules
%{_datadir}/scim
%{_datadir}/pixmaps/*
%{_datadir}/applications/fedora-scim-setup.desktop
@@ -136,8 +145,20 @@
%defattr(-,root,root,-)
%doc docs/html
+%files libs
+%defattr(-,root,root,-)
+%{_libdir}/libscim-*.so.*
+%{_libdir}/gtk-2.0/immodules
+
%changelog
+* Thu Sep 22 2005 Jens Petersen <petersen at redhat.com> - 1.4.2-3
+- make scim-devel require scim-libs
+- add xinput.d entries for Indic langs
+
+* Thu Sep 15 2005 Jens Petersen <petersen at redhat.com>
+- move libs and the gtk immodule to scim-libs for multilib
+
* Fri Sep 9 2005 Jens Petersen <petersen at redhat.com> - 1.4.2-1
- improve scim-restart script to take account of the config module in use
(Liu Cougar)
More information about the fedora-extras-commits
mailing list