2010-03-26 18:05:03 +01:00
|
|
|
#
|
2011-03-14 10:36:14 +01:00
|
|
|
# spec file for package ibus
|
2010-03-26 18:05:03 +01:00
|
|
|
#
|
2021-02-08 16:28:00 +01:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2010-03-26 18:05:03 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-05-08 15:39:25 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2010-03-26 18:05:03 +01:00
|
|
|
#
|
|
|
|
|
2011-08-09 10:54:38 +02:00
|
|
|
|
2014-07-27 14:38:27 +02:00
|
|
|
%define with_wayland 1
|
2017-11-19 15:25:03 +01:00
|
|
|
%define with_emoji 1
|
2020-09-28 17:08:12 +02:00
|
|
|
%if ! %{defined _distconfdir}
|
|
|
|
%define _distconfdir %{_sysconfdir}
|
|
|
|
%else
|
|
|
|
%define use_usretc 1
|
|
|
|
%endif
|
2020-03-11 16:21:14 +01:00
|
|
|
|
2010-03-26 18:05:03 +01:00
|
|
|
Name: ibus
|
2021-02-23 02:39:03 +01:00
|
|
|
Version: 1.5.24
|
2012-01-25 02:48:20 +01:00
|
|
|
Release: 0
|
2018-05-21 16:56:54 +02:00
|
|
|
Summary: The "Intelligent Input Bus" input method
|
2018-04-09 02:24:50 +02:00
|
|
|
License: LGPL-2.1-or-later
|
2013-03-28 20:34:04 +01:00
|
|
|
Group: System/I18n/Chinese
|
2019-05-08 15:39:25 +02:00
|
|
|
URL: https://github.com/ibus/
|
2018-03-07 05:14:36 +01:00
|
|
|
Source: https://github.com/ibus/ibus/releases/download/%{version}/%{name}-%{version}.tar.gz
|
2014-07-27 14:38:27 +02:00
|
|
|
Source2: README.SUSE
|
2011-09-14 11:21:19 +02:00
|
|
|
Source3: xim.ibus.suse.template
|
|
|
|
Source4: xim.d-ibus-121
|
2014-07-27 14:38:27 +02:00
|
|
|
Source7: macros.ibus
|
2016-02-28 17:32:13 +01:00
|
|
|
Source10: ibus-autostart
|
|
|
|
Source11: ibus-autostart.desktop
|
2014-07-27 14:38:27 +02:00
|
|
|
Source99: baselibs.conf
|
2014-03-19 06:34:31 +01:00
|
|
|
# PATCH-FIX-OPENSUSE ibus-python-install-dir.patch ftake@geeko.jp
|
2010-03-26 18:05:03 +01:00
|
|
|
Patch0: ibus-python-install-dir.patch
|
2020-04-23 05:36:14 +02:00
|
|
|
# PATFH-FIX-OPENSUSE ibus-xim-fix-re-focus-after-lock.patch bnc#874869 tiwai@suse.de
|
|
|
|
# Fix lost XIM input after screenlock
|
2014-05-21 15:03:26 +02:00
|
|
|
Patch4: ibus-xim-fix-re-focus-after-lock.patch
|
2014-10-08 17:36:03 +02:00
|
|
|
# PATCH-FIX-UPSTREAM ftake@geeko.jp
|
|
|
|
# Select an IM engine at the first login
|
|
|
|
Patch8: im-engines-precede-xkb.patch
|
2020-03-03 09:31:26 +01:00
|
|
|
# PATCH-FIX-OPENSUSE ibus-fix-Signal-does-not-exist.patch hillwood@opensuse.org
|
2020-02-23 06:11:15 +01:00
|
|
|
# panel.vala: The name `Signal' does not exist in the context of `Posix' in Leap 15.1 and below
|
|
|
|
Patch9: ibus-fix-Signal-does-not-exist.patch
|
2016-03-04 16:49:11 +01:00
|
|
|
# PATCH-FIX-SLE hide-setup-menu.patch bnc#899259 qzhao@suse.com
|
|
|
|
# ibus-setup should not launch from main menu.
|
|
|
|
Patch10: hide-setup-menu.patch
|
|
|
|
# PATCH-FIX-SLE setup-switch-im.patch bnc#899259 qzhao@suse.com
|
|
|
|
# switch to ibus when ibus not running.
|
|
|
|
Patch11: setup-switch-im.patch
|
2017-06-13 22:24:05 +02:00
|
|
|
# PATCH-FIX-SLE ibus-disable-engines-preload-in-GNOME.patch bnc#1036729 qzhao@suse.com
|
|
|
|
# Disable ibus engines preload in GNOME for These works are handled by gnome-shell.
|
2017-06-07 12:03:48 +02:00
|
|
|
Patch12: ibus-disable-engines-preload-in-GNOME.patch
|
2021-06-30 08:46:05 +02:00
|
|
|
# PATCH-FIX-UPSTREAM ibus-socket-name-compatibility.patch bsc#1171442, gh#ibus/ibus#2195 qkzhu@suse
|
|
|
|
# Compatibility workaround for ibus-use-wayland-display-for-socket-name.patch
|
2021-07-20 14:53:14 +02:00
|
|
|
# Qt5 does not be update to the new version and patch for ibus on Leap 15,
|
2021-06-30 08:46:05 +02:00
|
|
|
# it still needs this patch on leap 15. (boo#1187202)
|
|
|
|
Patch15: ibus-socket-name-compatibility.patch
|
2012-01-25 02:48:20 +01:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: gettext-devel
|
2013-03-28 19:17:11 +01:00
|
|
|
BuildRequires: gobject-introspection-devel >= 0.9.6
|
|
|
|
BuildRequires: gtk-doc >= 1.9
|
2012-01-25 02:48:20 +01:00
|
|
|
BuildRequires: libtool
|
2018-04-09 02:24:50 +02:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: python3-dbus-python-devel
|
2018-06-03 04:10:15 +02:00
|
|
|
BuildRequires: python3-gobject-devel
|
2018-03-07 05:14:36 +01:00
|
|
|
BuildRequires: unicode-ucd
|
2018-04-09 02:24:50 +02:00
|
|
|
BuildRequires: update-desktop-files
|
2020-03-03 09:31:26 +01:00
|
|
|
BuildRequires: pkgconfig(dbus-glib-1)
|
|
|
|
BuildRequires: pkgconfig(dconf) >= 0.7.5
|
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.34.0
|
|
|
|
BuildRequires: pkgconfig(gtk+-2.0)
|
|
|
|
BuildRequires: pkgconfig(iso-codes)
|
|
|
|
BuildRequires: pkgconfig(libnotify) >= 0.7
|
|
|
|
BuildRequires: pkgconfig(python3)
|
2018-04-09 02:24:50 +02:00
|
|
|
# copy_deep method is supported since 0.31.1
|
|
|
|
BuildRequires: vala >= 0.31.1
|
|
|
|
BuildRequires: x11-tools
|
2016-12-05 13:15:31 +01:00
|
|
|
BuildRequires: pkgconfig(json-glib-1.0)
|
2018-03-07 05:14:36 +01:00
|
|
|
BuildRequires: pkgconfig(libnotify)
|
2014-07-27 14:38:27 +02:00
|
|
|
BuildRequires: pkgconfig(vapigen)
|
2014-07-26 15:19:01 +02:00
|
|
|
BuildRequires: pkgconfig(xkbcommon)
|
2020-02-22 04:25:36 +01:00
|
|
|
%if %{with_emoji}
|
2020-02-25 13:01:58 +01:00
|
|
|
Requires: %{name}-dict-emoji = %{version}
|
2020-02-22 04:25:36 +01:00
|
|
|
%endif
|
2013-07-07 19:40:03 +02:00
|
|
|
Requires: dconf
|
2012-05-17 10:21:40 +02:00
|
|
|
Requires: iso-codes
|
2013-07-07 19:40:03 +02:00
|
|
|
Requires: libibus-1_0-5 = %{version}
|
2018-04-09 02:24:50 +02:00
|
|
|
Requires: python3-dbus-python
|
2018-06-03 04:10:15 +02:00
|
|
|
Requires: python3-gobject
|
2018-04-09 02:24:50 +02:00
|
|
|
Requires: python3-gobject-Gdk
|
2014-08-26 13:05:18 +02:00
|
|
|
# ibus-setup will require typelib(Gdk) typelib(GdkX11), typelib(Gtk)
|
|
|
|
# which are provided by two packages in openSUSE, so we limit their
|
2014-07-27 14:38:27 +02:00
|
|
|
# versions to 3.0 only.
|
2014-07-27 17:45:22 +02:00
|
|
|
Requires: typelib-1_0-Gtk-3_0
|
2018-04-09 02:24:50 +02:00
|
|
|
Provides: locale(ja;ko;zh)
|
|
|
|
%if %{with_wayland}
|
|
|
|
BuildRequires: pkgconfig(wayland-client) >= 1.2.0
|
|
|
|
%endif
|
|
|
|
%if %{with_emoji}
|
|
|
|
BuildRequires: unicode-emoji
|
|
|
|
BuildRequires: pkgconfig(cldr-emoji-annotation)
|
|
|
|
%endif
|
2010-03-26 18:05:03 +01:00
|
|
|
|
|
|
|
%description
|
2018-05-21 16:56:54 +02:00
|
|
|
IBus, short for Intelligent Input Bus, is an input framework. IBus
|
|
|
|
plugins then provide the particular logic how to translate keypresses
|
|
|
|
to input characters and possibly show disambiguation windows around
|
|
|
|
the text cursor.
|
2010-03-26 18:05:03 +01:00
|
|
|
|
2013-07-07 19:40:03 +02:00
|
|
|
%package -n libibus-1_0-5
|
2010-03-26 18:05:03 +01:00
|
|
|
Summary: IBus libraries
|
2018-05-21 16:56:54 +02:00
|
|
|
Group: System/Libraries
|
2010-03-26 18:05:03 +01:00
|
|
|
|
2013-07-07 19:40:03 +02:00
|
|
|
%description -n libibus-1_0-5
|
2010-03-26 18:05:03 +01:00
|
|
|
This package contains the libraries for IBus
|
|
|
|
|
2012-01-25 02:48:20 +01:00
|
|
|
%package -n typelib-1_0-IBus-1_0
|
2018-05-21 16:56:54 +02:00
|
|
|
Summary: Introspection bindings for IBus
|
|
|
|
Group: System/Libraries
|
2012-01-25 02:48:20 +01:00
|
|
|
|
|
|
|
%description -n typelib-1_0-IBus-1_0
|
|
|
|
This package contains the introspection bindings for the IBus library.
|
|
|
|
|
2020-02-22 04:25:36 +01:00
|
|
|
%if %{with_emoji}
|
|
|
|
%package dict-emoji
|
|
|
|
Summary: Emoji dictionary for IBus
|
|
|
|
Group: System/I18n/Chinese
|
|
|
|
BuildArch: noarch
|
2020-02-25 13:01:58 +01:00
|
|
|
# make sure old ibus package containing emoji dict files is updated
|
|
|
|
Conflicts: ibus < 1.5.22
|
2020-02-22 04:25:36 +01:00
|
|
|
|
|
|
|
%description dict-emoji
|
|
|
|
This package contains data of emoji dictionary for IBus and other applications
|
|
|
|
%endif
|
|
|
|
|
2010-03-26 18:05:03 +01:00
|
|
|
%package gtk
|
2018-05-21 16:56:54 +02:00
|
|
|
Summary: IBus input method support for gtk2 applications
|
2011-06-14 08:04:24 +02:00
|
|
|
Group: System/I18n/Chinese
|
2011-06-27 14:23:04 +02:00
|
|
|
Requires: %{name} = %{version}
|
2011-06-15 11:52:18 +02:00
|
|
|
Supplements: packageand(ibus:gtk2)
|
2014-07-27 14:38:27 +02:00
|
|
|
%{gtk2_immodule_requires}
|
2011-06-15 11:52:18 +02:00
|
|
|
|
2010-03-26 18:05:03 +01:00
|
|
|
%description gtk
|
2018-05-21 16:56:54 +02:00
|
|
|
This package contains ibus im module for use by gtk2.
|
2010-03-26 18:05:03 +01:00
|
|
|
|
2011-06-14 08:04:24 +02:00
|
|
|
%package gtk3
|
2018-05-21 16:56:54 +02:00
|
|
|
Summary: IBus input method support for gtk3 applications
|
2011-06-27 13:34:31 +02:00
|
|
|
Group: System/I18n/Chinese
|
2020-03-03 09:31:26 +01:00
|
|
|
BuildRequires: pkgconfig(gtk+-3.0)
|
2014-07-27 14:38:27 +02:00
|
|
|
Requires: %{name} = %{version}
|
2011-06-15 11:52:18 +02:00
|
|
|
Supplements: packageand(ibus:gtk3)
|
2014-07-27 14:38:27 +02:00
|
|
|
%{gtk3_immodule_requires}
|
2011-06-27 13:34:31 +02:00
|
|
|
|
2011-06-14 08:04:24 +02:00
|
|
|
%description gtk3
|
2018-05-21 16:56:54 +02:00
|
|
|
This package contains ibus im module for use by gtk3.
|
2011-06-14 08:04:24 +02:00
|
|
|
|
2010-03-26 18:05:03 +01:00
|
|
|
%package devel
|
|
|
|
Summary: Development tools for ibus
|
2011-10-12 11:32:18 +02:00
|
|
|
Group: Development/Libraries/Other
|
2010-03-26 18:05:03 +01:00
|
|
|
Requires: dbus-1-devel
|
2012-05-17 10:21:40 +02:00
|
|
|
Requires: glib2-devel
|
2010-03-26 18:05:03 +01:00
|
|
|
Requires: gtk-doc
|
2012-03-07 13:50:27 +01:00
|
|
|
Requires: ibus = %{version}
|
2013-07-07 19:40:03 +02:00
|
|
|
Requires: libibus-1_0-5 = %{version}
|
2012-05-17 10:21:40 +02:00
|
|
|
Requires: typelib-1_0-IBus-1_0 = %{version}
|
2012-03-07 13:50:27 +01:00
|
|
|
|
2010-03-26 18:05:03 +01:00
|
|
|
%description devel
|
|
|
|
The ibus-devel package contains the header files and developer
|
|
|
|
docs for ibus.
|
|
|
|
|
2013-07-07 19:40:03 +02:00
|
|
|
%lang_package
|
2014-07-27 14:38:27 +02:00
|
|
|
|
2010-03-26 18:05:03 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%patch0 -p1
|
2014-05-21 15:03:26 +02:00
|
|
|
%patch4 -p1
|
2014-10-08 17:36:03 +02:00
|
|
|
%patch8 -p1
|
2020-02-23 06:11:15 +01:00
|
|
|
%if 0%{?sle_version} < 150200 && 0%{?suse_version} <=1500
|
|
|
|
%patch9 -p1
|
|
|
|
%endif
|
2014-10-08 17:36:03 +02:00
|
|
|
|
2014-07-27 14:38:27 +02:00
|
|
|
cp -r %{SOURCE2} .
|
|
|
|
cp -r %{SOURCE3} .
|
2017-06-07 12:03:48 +02:00
|
|
|
cp -r %{SOURCE4} .
|
|
|
|
sed -i 1i"SYS_LIB=%{_lib}" xim.d-ibus-121
|
|
|
|
cp -r %{SOURCE10} .
|
|
|
|
cp -r %{SOURCE11} .
|
2018-04-09 02:24:50 +02:00
|
|
|
|
|
|
|
%patch10 -p1
|
|
|
|
%patch11 -p1
|
2017-06-07 12:03:48 +02:00
|
|
|
%patch12 -p1
|
2021-06-30 08:46:05 +02:00
|
|
|
%if 0%{?suse_version} <= 1500
|
|
|
|
%patch15 -p1
|
|
|
|
%endif
|
2014-07-27 14:38:27 +02:00
|
|
|
|
2010-03-26 18:05:03 +01:00
|
|
|
%build
|
2020-09-30 09:34:37 +02:00
|
|
|
autoreconf -fi
|
2010-03-26 18:05:03 +01:00
|
|
|
%configure --disable-static \
|
2013-07-07 19:40:03 +02:00
|
|
|
--enable-gtk3 \
|
|
|
|
--enable-vala \
|
2017-11-19 15:25:03 +01:00
|
|
|
%if %{with_emoji}
|
|
|
|
--enable-emoji-dict \
|
|
|
|
%else
|
2016-12-28 16:31:01 +01:00
|
|
|
--disable-emoji-dict \
|
2017-11-19 15:25:03 +01:00
|
|
|
%endif
|
2018-04-09 02:24:50 +02:00
|
|
|
--enable-appindicator \
|
|
|
|
--with-python=python3 \
|
2018-09-12 09:24:37 +02:00
|
|
|
--disable-python2 \
|
2013-07-07 19:40:03 +02:00
|
|
|
--enable-python-library \
|
|
|
|
--enable-introspection \
|
|
|
|
--enable-dconf \
|
|
|
|
--enable-gtk-doc \
|
2014-07-27 14:38:27 +02:00
|
|
|
%if %{with_wayland}
|
2014-07-26 15:19:01 +02:00
|
|
|
--enable-wayland \
|
2013-09-13 20:07:40 +02:00
|
|
|
%endif
|
2013-09-13 05:49:26 +02:00
|
|
|
--enable-surrounding-text \
|
2014-07-27 14:38:27 +02:00
|
|
|
--libexecdir=%{_libdir}/ibus
|
2013-09-13 20:07:40 +02:00
|
|
|
|
2021-02-01 16:59:57 +01:00
|
|
|
# non-parallel to have reproducible results in spite of non-deterministic build scripts https://github.com/ibus/ibus/issues/2272
|
|
|
|
make
|
2010-03-26 18:05:03 +01:00
|
|
|
|
|
|
|
%install
|
2018-04-09 02:24:50 +02:00
|
|
|
%make_install
|
2014-07-27 14:38:27 +02:00
|
|
|
|
2013-03-28 20:34:04 +01:00
|
|
|
# autostart
|
2020-09-28 17:08:12 +02:00
|
|
|
mkdir -p %{buildroot}%{_distconfdir}/X11/xim.d/
|
|
|
|
install -m 644 xim.d-ibus-121 %{buildroot}%{_distconfdir}/X11/xim.d/ibus
|
2016-02-28 17:32:13 +01:00
|
|
|
mkdir -p %{buildroot}%{_bindir}
|
2017-06-07 12:03:48 +02:00
|
|
|
install -c -m 0755 ibus-autostart %{buildroot}%{_bindir}/ibus-autostart
|
2016-02-28 17:32:13 +01:00
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/xdg/autostart
|
2017-06-07 12:03:48 +02:00
|
|
|
install -c -m 0644 ibus-autostart.desktop %{buildroot}%{_sysconfdir}/xdg/autostart/ibus-autostart.desktop
|
2010-03-26 18:05:03 +01:00
|
|
|
|
2011-06-16 07:38:59 +02:00
|
|
|
PRIORITY=40
|
2020-09-28 17:08:12 +02:00
|
|
|
pushd %{buildroot}%{_distconfdir}/X11/xim.d/
|
2011-06-16 07:38:59 +02:00
|
|
|
for lang in am ar as bn el fa gu he hi hr ja ka kk kn ko lo ml my \
|
|
|
|
pa ru sk vi zh_TW zh_CN zh_HK zh_SG \
|
|
|
|
de fr it es nl cs pl da nn nb fi en sv
|
|
|
|
do
|
|
|
|
mkdir $lang
|
|
|
|
pushd $lang
|
|
|
|
ln -s ../ibus $PRIORITY-ibus
|
|
|
|
popd
|
|
|
|
done
|
|
|
|
popd
|
2010-03-26 18:05:03 +01:00
|
|
|
|
2013-03-28 20:34:04 +01:00
|
|
|
# remove static libs
|
2018-04-09 02:24:50 +02:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2010-03-26 18:05:03 +01:00
|
|
|
|
2014-07-27 14:38:27 +02:00
|
|
|
mkdir -p %{buildroot}%{_datadir}/pixmaps
|
2010-03-26 18:05:03 +01:00
|
|
|
ln -sf %{_datadir}/icons/hicolor/48x48/apps/ibus-keyboard.png \
|
2014-07-27 14:38:27 +02:00
|
|
|
%{buildroot}%{_datadir}/pixmaps/ibus-keyboard.png
|
2010-03-26 18:05:03 +01:00
|
|
|
|
2013-09-13 20:07:40 +02:00
|
|
|
# touch for %%ghost
|
2014-07-27 14:38:27 +02:00
|
|
|
touch %{buildroot}/%{_sysconfdir}/dconf/db/ibus
|
2013-09-13 20:07:40 +02:00
|
|
|
|
2014-07-27 14:38:27 +02:00
|
|
|
# install macros
|
2019-05-08 15:39:25 +02:00
|
|
|
mkdir -p %{buildroot}%{_rpmmacrodir}
|
|
|
|
install -m 644 %{SOURCE7} %{buildroot}%{_rpmmacrodir}
|
2010-03-26 18:05:03 +01:00
|
|
|
|
2019-03-05 03:53:22 +01:00
|
|
|
%suse_update_desktop_file -r org.freedesktop.IBus.Setup Settings DesktopSettings X-SuSE-Core-System
|
2014-07-27 14:38:27 +02:00
|
|
|
|
|
|
|
%fdupes %{buildroot}
|
2010-03-26 18:05:03 +01:00
|
|
|
|
2013-07-07 19:40:03 +02:00
|
|
|
%find_lang ibus10 %{?no_lang_C}
|
2013-02-21 02:27:19 +01:00
|
|
|
|
2013-07-07 19:40:03 +02:00
|
|
|
%post
|
2018-04-09 02:24:50 +02:00
|
|
|
%glib2_gsettings_schema_post
|
2010-03-26 18:05:03 +01:00
|
|
|
|
2013-07-07 19:40:03 +02:00
|
|
|
%posttrans
|
|
|
|
dconf update
|
2010-03-26 18:05:03 +01:00
|
|
|
|
2013-07-07 19:40:03 +02:00
|
|
|
%postun
|
2018-04-09 02:24:50 +02:00
|
|
|
%glib2_gsettings_schema_postun
|
2013-07-07 19:40:03 +02:00
|
|
|
dconf update
|
2010-03-26 18:05:03 +01:00
|
|
|
|
2013-07-07 19:40:03 +02:00
|
|
|
%post gtk
|
2014-07-27 14:38:27 +02:00
|
|
|
%{gtk2_immodule_post}
|
2010-03-26 18:05:03 +01:00
|
|
|
|
|
|
|
%postun gtk
|
2014-07-27 14:38:27 +02:00
|
|
|
%{gtk2_immodule_postun}
|
2010-03-26 18:05:03 +01:00
|
|
|
|
2013-07-07 19:40:03 +02:00
|
|
|
%post -n libibus-1_0-5 -p /sbin/ldconfig
|
|
|
|
%postun -n libibus-1_0-5 -p /sbin/ldconfig
|
2021-07-20 14:53:14 +02:00
|
|
|
|
2011-06-14 08:04:24 +02:00
|
|
|
%post gtk3
|
2014-07-27 14:38:27 +02:00
|
|
|
%{gtk3_immodule_post}
|
2011-06-27 13:34:31 +02:00
|
|
|
|
2011-06-14 08:04:24 +02:00
|
|
|
%postun gtk3
|
2014-07-27 14:38:27 +02:00
|
|
|
%{gtk3_immodule_postun}
|
2011-06-14 08:04:24 +02:00
|
|
|
|
2013-07-07 19:40:03 +02:00
|
|
|
%files
|
2018-09-12 09:24:37 +02:00
|
|
|
%doc AUTHORS README README.SUSE xim.ibus.suse.template
|
|
|
|
%license COPYING
|
2019-05-08 15:39:25 +02:00
|
|
|
%{_rpmmacrodir}/macros.ibus
|
2020-09-28 17:08:12 +02:00
|
|
|
%if %{defined use_usretc}
|
2020-09-30 09:09:17 +02:00
|
|
|
%dir %{_distconfdir}/X11
|
|
|
|
%dir %{_distconfdir}/X11/xim.d
|
2020-09-28 17:08:12 +02:00
|
|
|
%{_distconfdir}/X11/xim.d/*
|
|
|
|
%else
|
2014-07-27 14:38:27 +02:00
|
|
|
%config %{_sysconfdir}/X11/xim.d/*
|
2020-09-28 17:08:12 +02:00
|
|
|
%endif
|
2013-07-07 19:40:03 +02:00
|
|
|
%{_bindir}/ibus
|
2016-02-28 17:32:13 +01:00
|
|
|
%{_bindir}/ibus-autostart
|
2010-03-26 18:05:03 +01:00
|
|
|
%{_bindir}/ibus-daemon
|
|
|
|
%{_bindir}/ibus-setup
|
2020-02-22 04:25:36 +01:00
|
|
|
%dir %{_datadir}/ibus
|
|
|
|
%{_datadir}/ibus/component
|
|
|
|
%dir %{_datadir}/ibus/dicts
|
|
|
|
%{_datadir}/ibus/dicts/unicode-*.dict
|
|
|
|
%{_datadir}/ibus/engine
|
|
|
|
%{_datadir}/ibus/keymaps
|
|
|
|
%{_datadir}/ibus/setup
|
2019-03-05 03:53:22 +01:00
|
|
|
%{_datadir}/applications/org.freedesktop.IBus.Setup.desktop
|
2021-07-20 14:53:14 +02:00
|
|
|
%dir %{_datadir}/GConf
|
|
|
|
%dir %{_datadir}/GConf/gsettings
|
2013-07-07 19:40:03 +02:00
|
|
|
%{_datadir}/GConf/gsettings/ibus.convert
|
|
|
|
%{_datadir}/glib-2.0/schemas/org.freedesktop.ibus.gschema.xml
|
2014-07-27 14:38:27 +02:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/ibus*.*
|
|
|
|
%{_datadir}/pixmaps/ibus-keyboard.png
|
|
|
|
%{_libdir}/ibus
|
|
|
|
%{_datadir}/bash-completion/completions/ibus.bash
|
2017-11-02 15:14:11 +01:00
|
|
|
%{_datadir}/dbus-1/services/*.service
|
2015-04-02 17:13:45 +02:00
|
|
|
# This file is generated by dconf update
|
2013-09-13 20:07:40 +02:00
|
|
|
%ghost %{_sysconfdir}/dconf/db/ibus
|
2015-04-02 17:13:45 +02:00
|
|
|
%dir %{_sysconfdir}/dconf/db/ibus.d
|
|
|
|
# This file is not a config file. Users may not modify it.
|
2017-11-19 15:25:03 +01:00
|
|
|
%config %{_sysconfdir}/dconf/db/ibus.d/00-upstream-settings
|
|
|
|
%config %{_sysconfdir}/dconf/profile/ibus
|
2016-02-28 17:32:13 +01:00
|
|
|
%{_sysconfdir}/xdg/autostart/ibus-autostart.desktop
|
2018-04-09 02:24:50 +02:00
|
|
|
%{_mandir}/man1/ibus.1%{ext_man}
|
|
|
|
%{_mandir}/man1/ibus-daemon.1%{ext_man}
|
|
|
|
%{_mandir}/man1/ibus-setup.1%{ext_man}
|
2018-09-12 09:24:37 +02:00
|
|
|
%{_mandir}/man5/00-upstream-settings.5%{ext_man}
|
|
|
|
%{_mandir}/man5/ibus.5%{ext_man}
|
|
|
|
|
2017-11-19 15:25:03 +01:00
|
|
|
%if %{with_emoji}
|
2018-04-19 17:44:03 +02:00
|
|
|
%{_datadir}/applications/org.freedesktop.IBus.Panel.Emojier.desktop
|
|
|
|
%{_datadir}/applications/org.freedesktop.IBus.Panel.Extension.Gtk3.desktop
|
2018-04-09 02:24:50 +02:00
|
|
|
%{_mandir}/man7/ibus-emoji.7%{ext_man}
|
2017-11-19 15:25:03 +01:00
|
|
|
%endif
|
2018-06-03 04:10:15 +02:00
|
|
|
%{python3_sitearch}/gi/overrides/IBus.py
|
2018-07-21 04:42:25 +02:00
|
|
|
%{python3_sitearch}/gi/overrides/__pycache__/IBus.cpython-*.opt-1.pyc
|
|
|
|
%{python3_sitearch}/gi/overrides/__pycache__/IBus.cpython-*.pyc
|
2013-03-28 19:17:11 +01:00
|
|
|
|
2013-07-07 19:40:03 +02:00
|
|
|
%files lang -f ibus10.lang
|
2010-03-26 18:05:03 +01:00
|
|
|
|
2013-07-07 19:40:03 +02:00
|
|
|
%files -n libibus-1_0-5
|
2014-07-27 14:38:27 +02:00
|
|
|
%{_libdir}/libibus-1.0.so.*
|
2012-01-25 02:48:20 +01:00
|
|
|
|
2020-02-22 04:25:36 +01:00
|
|
|
%if %{with_emoji}
|
|
|
|
%files dict-emoji
|
|
|
|
|
|
|
|
%dir %{_datadir}/ibus/dicts
|
|
|
|
%{_datadir}/ibus/dicts/emoji-*.dict
|
|
|
|
%endif
|
|
|
|
|
2012-01-25 02:48:20 +01:00
|
|
|
%files -n typelib-1_0-IBus-1_0
|
2011-06-19 14:48:28 +02:00
|
|
|
%{_libdir}/girepository-1.0/IBus-1.0.typelib
|
2010-03-26 18:05:03 +01:00
|
|
|
|
|
|
|
%files gtk
|
2018-04-09 02:24:50 +02:00
|
|
|
%{_libdir}/gtk-2.0/*/immodules/im-ibus.so
|
2010-03-26 18:05:03 +01:00
|
|
|
|
2011-06-14 08:04:24 +02:00
|
|
|
%files gtk3
|
2014-07-27 14:38:27 +02:00
|
|
|
%{_libdir}/gtk-3.0/3.0.0/immodules/im-ibus.so
|
|
|
|
|
2010-03-26 18:05:03 +01:00
|
|
|
%files devel
|
2014-07-27 14:38:27 +02:00
|
|
|
%{_libdir}/libibus-1.0.so
|
|
|
|
%{_includedir}/ibus-1.0
|
|
|
|
%{_datadir}/gtk-doc/html/ibus
|
|
|
|
%{_libdir}/pkgconfig/ibus-1.0.pc
|
2019-09-03 10:20:25 +02:00
|
|
|
%{_datadir}/gettext/its/ibus.*
|
2011-06-19 14:48:28 +02:00
|
|
|
%{_datadir}/gir-1.0/IBus-1.0.gir
|
2014-07-27 14:38:27 +02:00
|
|
|
%{_datadir}/vala/vapi/ibus-1.0.deps
|
|
|
|
%{_datadir}/vala/vapi/ibus-1.0.vapi
|
2010-03-26 18:05:03 +01:00
|
|
|
|
|
|
|
%changelog
|