2010-03-26 17:05:03 +00:00
#
2011-03-14 09:36:14 +00:00
# spec file for package ibus
2010-03-26 17:05:03 +00:00
#
2017-03-02 00:37:12 +00:00
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
2010-03-26 17:05:03 +00: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.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
2011-08-09 08:54:38 +00:00
2014-07-27 12:38:27 +00:00
%define gtk_binary_version %(pkg-config --variable=gtk_binary_version gtk+-2.0)
2014-09-05 18:35:41 +00:00
# temporary disable, 'coz ibus is not python3 ready
2016-12-28 15:31:01 +00:00
%define with_python3 0
2017-05-25 21:53:38 +00:00
%if 0%{?is_opensuse}
2014-07-27 12:38:27 +00:00
%define with_wayland 1
%else
%define with_wayland 0
%endif
2013-09-13 18:07:40 +00:00
2010-03-26 17:05:03 +00:00
Name : ibus
2017-05-25 21:53:38 +00:00
Version : 1.5.16
2012-01-25 01:48:20 +00:00
Release : 0
2013-03-28 18:17:11 +00:00
Summary : Intelligent Input Bus for Linux OS
License : LGPL-2.1+
2013-03-28 19:34:04 +00:00
Group : System/I18n/Chinese
2014-07-27 12:38:27 +00:00
Url : https://github.com/ibus/
2014-07-27 12:49:00 +00:00
#Source: https://github.com/ibus/ibus/releases/download/%{version}/%{name}-%{version}.tar.gz
2014-07-27 15:45:22 +00:00
Source : %{name} -%{version} .tar.gz
2014-07-27 12:38:27 +00:00
Source2 : README.SUSE
2011-09-14 09:21:19 +00:00
Source3 : xim.ibus.suse.template
Source4 : xim.d-ibus-121
2013-10-17 07:29:53 +00:00
Source5 : kde.tar.gz
Source6 : kde-12.2.tar.gz
2014-07-27 12:38:27 +00:00
Source7 : macros.ibus
2016-02-28 16:32:13 +00:00
Source10 : ibus-autostart
Source11 : ibus-autostart.desktop
2014-07-27 12:38:27 +00:00
Source99 : baselibs.conf
2014-03-19 05:34:31 +00:00
# PATCH-FIX-OPENSUSE ibus-python-install-dir.patch ftake@geeko.jp
2010-03-26 17:05:03 +00:00
Patch0 : ibus-python-install-dir.patch
2014-05-21 13:03:26 +00:00
# PATFH-FIX-SUSE ibus-xim-fix-re-focus-after-lock.patch bnc#874869 tiwa@suse.de -- Fix lost XIM input after screenlock
Patch4 : ibus-xim-fix-re-focus-after-lock.patch
2014-07-27 12:38:27 +00:00
# PATCH-FIX-UPSTREAM marguerite@opensuse.org
# Ibus will use python3 only when variable PYTHON2 is empty.
# Thus ibus-setup and bindings are still bytecompiled with python2.
# Then python3 support is useless, so we force python3 when python3
# is enabled, and fix syntax errors in python-config.py
2014-07-27 15:45:22 +00:00
Patch5 : ibus-force-python3.patch
2014-07-27 12:38:27 +00:00
# PATCH-FIX-UPSTREAM marguerite@opensuse.org
2014-08-30 18:13:04 +00:00
Patch7 : ibus-python3-migration.patch
2014-10-08 15:36:03 +00:00
# PATCH-FIX-UPSTREAM ftake@geeko.jp
# Select an IM engine at the first login
Patch8 : im-engines-precede-xkb.patch
2015-03-13 17:28:22 +00:00
# PATCH-FIX-UPSTREAM ftake@geeko.jp
2015-08-10 13:44:14 +00:00
Patch9 : ibus-fix-check-abs-icon-path-support.patch
2016-03-04 15:49:11 +00: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-07 10:03:48 +00:00
# PATCH-FIX-SLE ibus-disable-engines-preload-in-GNOME.patch bsc#1036729 qzhao@suse.com -- Disable ibus engines preload in GNOME for These works are handled by gnome-shell.
Patch12 : ibus-disable-engines-preload-in-GNOME.patch
2012-03-07 12:50:27 +00:00
BuildRequires : dbus-1-glib-devel
2013-03-28 18:17:11 +00:00
BuildRequires : dbus-1-python-devel >= 0.83.0
2013-07-07 17:40:03 +00:00
BuildRequires : dconf-devel >= 0.7.5
2012-01-25 01:48:20 +00:00
BuildRequires : fdupes
2013-09-13 03:49:26 +00:00
BuildRequires : gconf2-devel
2012-01-25 01:48:20 +00:00
BuildRequires : gettext-devel
2017-05-25 21:53:38 +00:00
BuildRequires : glib2-devel >= 2.34.0
2013-03-28 18:17:11 +00:00
BuildRequires : gobject-introspection-devel >= 0.9.6
BuildRequires : gtk-doc >= 1.9
2012-01-25 01:48:20 +00:00
BuildRequires : gtk2-devel
BuildRequires : intltool
BuildRequires : iso-codes-devel
2013-08-01 02:20:25 +00:00
BuildRequires : libnotify-devel >= 0.7
2012-01-25 01:48:20 +00:00
BuildRequires : libtool
2016-12-05 12:15:31 +00:00
BuildRequires : python-devel
BuildRequires : python3-devel
BuildRequires : pkgconfig(json-glib-1.0)
2013-10-17 07:29:53 +00:00
# directory ownership {
BuildRequires : oxygen-icon-theme
BuildRequires : oxygen-icon-theme-scalable
2014-07-27 12:38:27 +00:00
BuildRequires : x11-tools
2013-10-17 07:29:53 +00:00
# }
2012-05-17 08:21:40 +00:00
BuildRequires : pkg-config
2014-07-27 12:38:27 +00:00
%if %{with_python3}
BuildRequires : python3
BuildRequires : python3-gobject2-devel
Requires : python3-gobject2
%else
BuildRequires : python
BuildRequires : python-gobject-devel
Requires : python-gobject
%endif
2012-01-25 01:48:20 +00:00
BuildRequires : update-desktop-files
2014-07-27 12:38:27 +00:00
BuildRequires : pkgconfig(vapigen)
%if %{with_wayland}
2014-07-26 13:19:01 +00:00
BuildRequires : pkgconfig(wayland-client) >= 1.2.0
2014-07-27 12:38:27 +00:00
%endif
2016-12-28 15:31:01 +00:00
# BuildRequires: nodejs-emojione
2014-07-26 13:19:01 +00:00
BuildRequires : pkgconfig(xkbcommon)
2017-05-25 21:53:38 +00:00
# copy_deep method is supported since 0.31.1
BuildRequires : vala >= 0.31.1
2012-05-17 08:21:40 +00:00
Requires : dbus-1-python
2013-07-07 17:40:03 +00:00
Requires : dconf
2012-05-17 08:21:40 +00:00
Requires : iso-codes
2013-07-07 17:40:03 +00:00
Requires : libibus-1_0-5 = %{version}
2014-08-26 11:05:18 +00: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 12:38:27 +00:00
# versions to 3.0 only.
2014-07-27 15:45:22 +00:00
Requires : typelib-1_0-Gtk-3_0
2013-10-06 18:30:30 +00:00
Recommends: %{name} -lang
2016-03-04 15:49:11 +00:00
# PATCH-FEATURE-SLE Add conflict with fcitx FATE #319095 qzhao@suse.com -- Solve the problem for the people update from SP0 to SP1
%if !0%{?is_opensuse}
Conflicts : fcitx
%endif
2010-03-26 17:05:03 +00:00
2013-11-25 14:19:37 +00:00
#Fix cursor following problem in KDE4 for libreoffice.
2014-09-08 19:23:21 +00:00
%if 0%{?suse_version} != 1315
2013-07-10 13:22:49 +00:00
Supplements: packageand(libreoffice:libreoffice-gnome)
2014-09-08 19:23:21 +00:00
%endif
2013-07-09 16:06:14 +00:00
2014-07-27 12:38:27 +00:00
Provides : locale(ja;ko;zh)
Obsoletes : ibus-gnome-shell
BuildRoot : %{_tmppath} /%{name} -%{version} -build
2010-03-26 17:05:03 +00:00
%description
IBus means Intelligent Input Bus. It is a new input framework for Linux OS. It provides
full featured and user friendly input method user interface. It also may help
developers to develop input method easily.
2013-07-07 17:40:03 +00:00
%package -n libibus-1_0-5
2010-03-26 17:05:03 +00:00
Summary : IBus libraries
2011-06-14 06:04:24 +00:00
Group : System/I18n/Chinese
2014-09-05 18:35:41 +00:00
Obsoletes : libibus-1_0-0
2010-03-26 17:05:03 +00:00
2013-07-07 17:40:03 +00:00
%description -n libibus-1_0-5
2010-03-26 17:05:03 +00:00
This package contains the libraries for IBus
2012-01-25 01:48:20 +00:00
%package -n typelib-1_0-IBus-1_0
Summary : IBus libraries -- Introspection bindings
Group : System/I18n/Chinese
%description -n typelib-1_0-IBus-1_0
This package contains the introspection bindings for the IBus library.
2010-03-26 17:05:03 +00:00
%package gtk
Summary : IBus im module for gtk2
2011-06-14 06:04:24 +00:00
Group : System/I18n/Chinese
2011-06-27 12:23:04 +00:00
Requires : %{name} = %{version}
2011-06-15 09:52:18 +00:00
Supplements: packageand(ibus:gtk2)
2014-07-27 12:38:27 +00:00
%{gtk2_immodule_requires}
2011-06-15 09:52:18 +00:00
2010-03-26 17:05:03 +00:00
%description gtk
This package contains ibus im module for gtk2
2011-06-14 06:04:24 +00:00
%package gtk3
2011-06-27 11:34:31 +00:00
Summary : IBus im module for gtk3
Group : System/I18n/Chinese
BuildRequires : gtk3-devel
2014-07-27 12:38:27 +00:00
Requires : %{name} = %{version}
2011-06-15 09:52:18 +00:00
Supplements: packageand(ibus:gtk3)
2014-07-27 12:38:27 +00:00
%{gtk3_immodule_requires}
2011-06-27 11:34:31 +00:00
2011-06-14 06:04:24 +00:00
%description gtk3
This package contains ibus im module for gtk3
2014-07-27 12:38:27 +00:00
%if %{with_python3}
%package -n python3-ibus
Summary : Python3 module for ibus
Group : System/I18n/Chinese
Requires : %{name} = %{version}
Requires : python3
2014-09-05 18:35:41 +00:00
Obsoletes : python-ibus
2014-07-27 12:38:27 +00:00
%description -n python3-ibus
This package contains python3 module for ibus
%else
2013-07-07 17:40:03 +00:00
%package -n python-ibus
Summary : Python module for ibus
Group : System/I18n/Chinese
Requires : %{name} = %{version}
2014-07-27 12:38:27 +00:00
%py_requires
2013-07-07 17:40:03 +00:00
%description -n python-ibus
This package contains python module for ibus
2014-07-27 12:38:27 +00:00
%endif
2013-10-17 07:29:53 +00:00
%package branding-openSUSE-KDE
Summary : openSUSE branding for KDE
Group : System/GUI/KDE
Requires : ibus = %{version}
Supplements: packageand(ibus:branding-openSUSE-KDE)
2014-07-27 12:38:27 +00:00
Supplements: packageand(ibus:kdelibs4)
2013-10-17 07:29:53 +00:00
Provides : ibus-branding = %{version}
Conflicts : otherproviders(ibus-branding)
%if 0%{?suse_version} >= 1140
BuildArch : noarch
%endif
2013-03-28 18:17:11 +00:00
2013-10-17 07:29:53 +00:00
%description branding-openSUSE-KDE
openSUSE branding for KDE monochrome icons in systray.
2013-03-28 18:17:11 +00:00
2010-03-26 17:05:03 +00:00
%package devel
Summary : Development tools for ibus
2011-10-12 09:32:18 +00:00
Group : Development/Libraries/Other
2010-03-26 17:05:03 +00:00
Requires : dbus-1-devel
2012-05-17 08:21:40 +00:00
Requires : glib2-devel
2010-03-26 17:05:03 +00:00
Requires : gtk-doc
2012-03-07 12:50:27 +00:00
Requires : ibus = %{version}
2013-07-07 17:40:03 +00:00
Requires : libibus-1_0-5 = %{version}
2012-05-17 08:21:40 +00:00
Requires : typelib-1_0-IBus-1_0 = %{version}
2012-03-07 12:50:27 +00:00
2010-03-26 17:05:03 +00:00
%description devel
The ibus-devel package contains the header files and developer
docs for ibus.
2013-07-07 17:40:03 +00:00
%lang_package
2014-07-27 12:38:27 +00:00
2010-03-26 17:05:03 +00:00
%prep
%setup -q
%patch0 -p1
2014-07-27 12:38:27 +00:00
2014-02-14 12:02:34 +00:00
# hack to fix incompatibility of gtk-query-immodules-2.0 (bnc#845860)
2014-07-27 12:38:27 +00:00
%if 0%{?suse_version} < 1310
2014-02-14 12:02:34 +00:00
sed -i \
-e's@\(gtk-query-immodules-2.0-64\) --update-cache@\1 > <prefix>%{_sysconfdir}/gtk-2.0/gtk64.immodules@g' \
-e's@\(gtk-query-immodules-2.0\) --update-cache@\1 > <prefix>%{_sysconfdir}/gtk-2.0/gtk.immodules@g' \
2014-07-27 12:38:27 +00:00
%{SOURCE99}
2014-02-14 12:02:34 +00:00
%endif
2013-09-13 18:07:40 +00:00
2014-05-21 13:03:26 +00:00
%patch4 -p1
2013-10-06 18:30:30 +00:00
2014-07-27 12:38:27 +00:00
%if %{with_python3}
%patch5 -p1
2014-08-30 18:13:04 +00:00
%patch7 -p1
2014-07-27 12:38:27 +00:00
%endif
2014-10-08 15:36:03 +00:00
%patch8 -p1
2015-03-13 17:28:22 +00:00
%patch9 -p1
2014-10-08 15:36:03 +00:00
2016-03-26 11:30:07 +00:00
%if 0%{?suse_version} == 1315 && !0%{?is_opensuse}
2016-03-04 15:49:11 +00:00
%patch10 -p1
%patch11 -p1
%endif
2014-07-27 12:38:27 +00:00
cp -r %{SOURCE2} .
cp -r %{SOURCE3} .
2017-06-07 10:03:48 +00:00
cp -r %{SOURCE4} .
sed -i 1i" S Y S _ L I B = % { _ l i b } " xim.d-ibus-121
cp -r %{SOURCE10} .
cp -r %{SOURCE11} .
%if !0%{?is_opensuse}
%patch12 -p1
%endif
2014-07-27 12:38:27 +00:00
2010-03-26 17:05:03 +00:00
%build
autoreconf -fi
intltoolize -f
%configure --disable-static \
2013-07-07 17:40:03 +00:00
--enable-gtk3 \
--enable-vala \
2016-12-28 15:31:01 +00:00
--disable-emoji-dict \
2014-07-27 12:38:27 +00:00
%if %{with_python3}
--with-python=python3 \
%endif
2013-07-07 17:40:03 +00:00
--enable-python-library \
--enable-introspection \
--disable-gconf \
--enable-dconf \
--enable-gtk-doc \
2014-07-27 12:38:27 +00:00
%if %{with_wayland}
2014-07-26 13:19:01 +00:00
--enable-wayland \
2015-04-02 15:13:45 +00:00
%endif
2015-08-10 13:44:14 +00:00
%if 0%{?suse_version} < 1315
2015-04-02 15:13:45 +00:00
--disable-appindicator \
2013-09-13 18:07:40 +00:00
%endif
2013-09-13 03:49:26 +00:00
--enable-surrounding-text \
2015-08-10 13:44:14 +00:00
--enable-appindicator_engine_icon \
2014-07-27 12:38:27 +00:00
--libexecdir=%{_libdir} /ibus
2013-09-13 18:07:40 +00:00
2014-07-27 12:38:27 +00:00
make %{?_smp_mflags}
2010-03-26 17:05:03 +00:00
%install
2014-11-22 18:10:07 +00:00
make DESTDIR=%{buildroot} install -j1
2014-07-27 12:38:27 +00:00
2013-03-28 19:34:04 +00:00
# autostart
2014-07-27 12:38:27 +00:00
mkdir -p %{buildroot} %{_sysconfdir} /X11/xim.d/
2017-06-07 10:03:48 +00:00
install -m 644 xim.d-ibus-121 %{buildroot} %{_sysconfdir} /X11/xim.d/ibus
2016-02-28 16:32:13 +00:00
mkdir -p %{buildroot} %{_bindir}
2017-06-07 10:03:48 +00:00
install -c -m 0755 ibus-autostart %{buildroot} %{_bindir} /ibus-autostart
2016-02-28 16:32:13 +00:00
mkdir -p %{buildroot} %{_sysconfdir} /xdg/autostart
2017-06-07 10:03:48 +00:00
install -c -m 0644 ibus-autostart.desktop %{buildroot} %{_sysconfdir} /xdg/autostart/ibus-autostart.desktop
2010-03-26 17:05:03 +00:00
2011-06-16 05:38:59 +00:00
PRIORITY=40
2014-07-27 12:38:27 +00:00
pushd %{buildroot} %{_sysconfdir} /X11/xim.d/
2011-06-16 05:38:59 +00: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 17:05:03 +00:00
2013-03-28 19:34:04 +00:00
# remove static libs
2014-07-27 12:38:27 +00:00
find %{buildroot} /%{_libdir} -name " * . l a " -type f -delete -print
2010-03-26 17:05:03 +00:00
2014-07-27 12:38:27 +00:00
mkdir -p %{buildroot} %{_datadir} /pixmaps
2010-03-26 17:05:03 +00:00
ln -sf %{_datadir} /icons/hicolor/48x48/apps/ibus-keyboard.png \
2014-07-27 12:38:27 +00:00
%{buildroot} %{_datadir} /pixmaps/ibus-keyboard.png
2010-03-26 17:05:03 +00:00
2013-09-13 18:07:40 +00:00
# touch for %%ghost
2014-07-27 12:38:27 +00:00
touch %{buildroot} /%{_sysconfdir} /dconf/db/ibus
2013-09-13 18:07:40 +00:00
2013-10-17 07:29:53 +00:00
# fix kde monochrome icons
%if 0%{?suse_version} >= 1230
cp -r %{SOURCE5} ./
%else
cp -r %{SOURCE6} ./
mv kde-12.2.tar.gz kde.tar.gz
%endif
tar -xzf kde.tar.gz
pushd kde
for i in 16 22 24 32 48 ; do
mkdir -p %{buildroot} %{_datadir} /icons/oxygen/${i}x${i}/apps/
cp -r ibus-keyboard.${i}x${i}.png %{buildroot} %{_datadir} /icons/oxygen/${i}x${i}/apps/ibus-keyboard.png
done
2014-07-27 12:38:27 +00:00
mkdir -p %{buildroot} %{_datadir} /icons/oxygen/scalable/apps/
2013-10-17 07:29:53 +00:00
cp -r ibus-keyboard.svgz %{buildroot} %{_datadir} /icons/oxygen/scalable/apps/
popd
2014-07-27 12:38:27 +00:00
# install macros
mkdir -p %{buildroot} %{_sysconfdir} /rpm
install -m 644 %{SOURCE7} %{buildroot} %{_sysconfdir} /rpm
2010-03-26 17:05:03 +00:00
2014-10-13 09:46:38 +00:00
%suse_update_desktop_file -r %{name} -setup Settings DesktopSettings X-SuSE-Core-System
2014-07-27 12:38:27 +00:00
%fdupes %{buildroot}
2010-03-26 17:05:03 +00:00
2013-07-07 17:40:03 +00:00
%find_lang ibus10 %{?no_lang_C}
2013-02-21 01:27:19 +00:00
2013-07-07 17:40:03 +00:00
%post
2014-07-27 12:38:27 +00:00
%{glib2_gsettings_schema_post}
2010-03-26 17:05:03 +00:00
2013-07-07 17:40:03 +00:00
%posttrans
dconf update
2010-03-26 17:05:03 +00:00
2013-07-07 17:40:03 +00:00
%postun
2014-07-27 12:38:27 +00:00
%{glib2_gsettings_schema_postun}
2013-07-07 17:40:03 +00:00
dconf update
2010-03-26 17:05:03 +00:00
2013-07-07 17:40:03 +00:00
%post gtk
2014-07-27 12:38:27 +00:00
%{gtk2_immodule_post}
2010-03-26 17:05:03 +00:00
%postun gtk
2014-07-27 12:38:27 +00:00
%{gtk2_immodule_postun}
2010-03-26 17:05:03 +00:00
2013-07-07 17:40:03 +00:00
%post -n libibus-1_0-5 -p /sbin/ldconfig
2010-03-26 17:05:03 +00:00
2013-07-07 17:40:03 +00:00
%postun -n libibus-1_0-5 -p /sbin/ldconfig
2011-08-09 08:54:38 +00:00
2011-06-14 06:04:24 +00:00
%post gtk3
2014-07-27 12:38:27 +00:00
%{gtk3_immodule_post}
2011-06-27 11:34:31 +00:00
2011-06-14 06:04:24 +00:00
%postun gtk3
2014-07-27 12:38:27 +00:00
%{gtk3_immodule_postun}
2011-06-14 06:04:24 +00:00
2013-07-07 17:40:03 +00:00
%files
2014-07-27 12:38:27 +00:00
%defattr (-,root,root)
%doc AUTHORS COPYING README README.SUSE xim.ibus.suse.template
%config %{_sysconfdir} /rpm/macros.ibus
%config %{_sysconfdir} /X11/xim.d/*
2013-07-07 17:40:03 +00:00
%{_bindir} /ibus
2016-02-28 16:32:13 +00:00
%{_bindir} /ibus-autostart
2010-03-26 17:05:03 +00:00
%{_bindir} /ibus-daemon
%{_bindir} /ibus-setup
2014-07-27 12:38:27 +00:00
%{_datadir} /ibus/
%{_datadir} /applications/ibus-setup.desktop
2013-07-07 17:40:03 +00:00
%{_datadir} /GConf/gsettings/ibus.convert
%{_datadir} /glib-2.0/schemas/org.freedesktop.ibus.gschema.xml
2014-07-27 12:38:27 +00:00
%{_datadir} /icons/hicolor/*/apps/ibus*.*
%{_datadir} /pixmaps/ibus-keyboard.png
%{_libdir} /ibus
%{_datadir} /bash-completion/completions/ibus.bash
2016-12-05 12:15:31 +00:00
%{_datadir} /dbus-1/services/org.freedesktop.IBus.service
2015-04-02 15:13:45 +00:00
# This file is generated by dconf update
2013-09-13 18:07:40 +00:00
%ghost %{_sysconfdir} /dconf/db/ibus
2015-04-02 15:13:45 +00:00
%dir %{_sysconfdir} /dconf/db/ibus.d
# This file is not a config file. Users may not modify it.
%{_sysconfdir} /dconf/db/ibus.d/00-upstream-settings
%{_sysconfdir} /dconf/profile/ibus
2016-02-28 16:32:13 +00:00
%{_sysconfdir} /xdg/autostart/ibus-autostart.desktop
2014-07-27 12:38:27 +00:00
%{_mandir} /man1/ibus.1.gz
%{_mandir} /man1/ibus-daemon.1.gz
%{_mandir} /man1/ibus-setup.1.gz
2013-03-28 18:17:11 +00:00
2013-07-07 17:40:03 +00:00
%files lang -f ibus10.lang
2014-07-27 12:38:27 +00:00
%defattr (-,root,root)
2010-03-26 17:05:03 +00:00
2013-07-07 17:40:03 +00:00
%files -n libibus-1_0-5
2014-07-27 12:38:27 +00:00
%defattr (-,root,root)
%{_libdir} /libibus-1.0.so.*
2012-01-25 01:48:20 +00:00
%files -n typelib-1_0-IBus-1_0
2014-07-27 12:38:27 +00:00
%defattr (-,root,root)
2011-06-19 12:48:28 +00:00
%{_libdir} /girepository-1.0/IBus-1.0.typelib
2010-03-26 17:05:03 +00:00
%files gtk
2014-07-27 12:38:27 +00:00
%defattr (-,root,root)
2010-03-26 17:05:03 +00:00
%{_libdir} /gtk-2.0/%{gtk_binary_version} /immodules/im-ibus.so
2011-06-14 06:04:24 +00:00
%files gtk3
2014-07-27 12:38:27 +00:00
%defattr (-,root,root)
%{_libdir} /gtk-3.0/3.0.0/immodules/im-ibus.so
%if %{with_python3}
%files -n python3-ibus
%defattr (-,root,root)
%{python3_sitearch} /ibus
%else
2013-07-07 17:40:03 +00:00
%files -n python-ibus
2014-07-27 12:38:27 +00:00
%defattr (-,root,root)
2014-03-19 05:34:31 +00:00
%{python_sitearch} /ibus
2014-08-08 14:44:14 +00:00
%{python_sitearch} /gi/overrides/*
2011-06-14 06:04:24 +00:00
2014-07-27 12:38:27 +00:00
%endif
2010-03-26 17:05:03 +00:00
%files devel
2014-07-27 12:38:27 +00:00
%defattr (-,root,root)
%{_libdir} /libibus-1.0.so
%{_includedir} /ibus-1.0
%{_datadir} /gtk-doc/html/ibus
%{_libdir} /pkgconfig/ibus-1.0.pc
2011-06-19 12:48:28 +00:00
%{_datadir} /gir-1.0/IBus-1.0.gir
2014-07-27 12:38:27 +00:00
%{_datadir} /vala/vapi/ibus-1.0.deps
%{_datadir} /vala/vapi/ibus-1.0.vapi
2010-03-26 17:05:03 +00:00
2013-10-17 07:29:53 +00:00
%files branding-openSUSE-KDE
2014-07-27 12:38:27 +00:00
%defattr (-,root,root)
2016-04-14 12:47:34 +00:00
%dir %{_datadir} /icons/oxygen/*
%dir %{_datadir} /icons/oxygen/*/apps
2013-10-17 07:29:53 +00:00
%{_datadir} /icons/oxygen/*/apps/ibus-keyboard.*
2010-03-26 17:05:03 +00:00
%changelog