Dominique Leuenberger 2020-11-29 11:27:38 +00:00 committed by Git OBS Bridge
commit e8ce37728b
2 changed files with 13 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Nov 26 16:48:21 CET 2020 - tiwai@suse.de
- Move the startup snippet to /usr/etc/X11/xim.d for TW
-------------------------------------------------------------------
Fri Aug 21 18:05:04 UTC 2020 - Andreas Schwab <schwab@suse.de>

View File

@ -16,6 +16,10 @@
#
%if ! %{defined _distconfdir}
%define _distconfdir %{_sysconfdir}
%endif
Name: uim
Version: 1.8.8
Release: 0
@ -137,10 +141,10 @@ rm -f %{buildroot}%{_libdir}/pkgconfig/gcroots.pc
# touch it here to make sure that it is in the file list of the
# package, then it will be deleted when the package is uninstalled:
touch %{buildroot}%{_datadir}/uim/modules
mkdir -p %{buildroot}%{_sysconfdir}/X11/xim.d/ja
mkdir -p %{buildroot}%{_distconfdir}/X11/xim.d/ja
install -m 644 $RPM_SOURCE_DIR/etc-x11-xim.d-uim \
%{buildroot}%{_sysconfdir}/X11/xim.d/uim
pushd %{buildroot}%{_sysconfdir}/X11/xim.d/ja
%{buildroot}%{_distconfdir}/X11/xim.d/uim
pushd %{buildroot}%{_distconfdir}/X11/xim.d/ja
ln -s ../uim 60-uim
popd
# GNU Emacs:
@ -206,8 +210,7 @@ uim-module-manager --register \
%license COPYING
%doc AUTHORS NEWS* README*
%doc doc
%dir %{_sysconfdir}/X11/xim.d/
%{_sysconfdir}/X11/xim.d/*
%{_distconfdir}/X11/xim.d
%{_datadir}/uim
# autogenerated by uim-module-manager:
%ghost %{_datadir}/uim/installed-modules.scm