Name: ibus Version: 1.5.28 Release: 1mamba Summary: Intelligent Input Bus for Linux / Unix OS Group: System/Servers Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://code.google.com/archive/p/ibus Source: https://github.com/ibus/ibus.git/%{version}/ibus-%{version}.tar.bz2 Patch0: ibus-1.5.23-vala-0.50.2.patch License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libX11-devel BuildRequires: libXfixes-devel BuildRequires: libXi-devel BuildRequires: libat-spi2-core-devel BuildRequires: libcairo-devel BuildRequires: libdbus-devel BuildRequires: libdconf-devel BuildRequires: libfontconfig-devel BuildRequires: libfreetype-devel BuildRequires: libgdk-pixbuf-devel BuildRequires: libglib-devel BuildRequires: libgtk2-devel BuildRequires: libgtk3-devel BuildRequires: libharfbuzz-devel BuildRequires: libnotify-devel BuildRequires: libpango-devel BuildRequires: libpython27-devel BuildRequires: libpython3-devel BuildRequires: libwayland-devel BuildRequires: libxkbcommon-devel ## AUTOBUILDREQ-END BuildRequires: perl-XML-Parser BuildRequires: gnome-common BuildRequires: unicode-emoji BuildRequires: unicode-ucd BuildRequires: cldr-emoji-annotation BuildRequires: python BuildRequires: python3 Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name}-gtk2 = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name}-gtk3 = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name}-wayland = %{?epoch:%epoch:}%{version}-%{release} %description Intelligent Input Bus for Linux / Unix OS. %package -n lib%{name} Group: System/Libraries Summary: Shared libraries for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description -n lib%{name} This package contains shared libraries for %{name}. %package desktop Group: Graphical Desktop/Applications/Configuration Summary: Desktop menu entries for %{name} tools Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description desktop Desktop menu entries for %{name} tools. %package gtk2 Group: System/Libraries Summary: Gtk2 bindings for %{name} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description gtk2 Gtk2 bindings for %{name}. %package gtk3 Group: System/Libraries Summary: Gtk2 bindings for %{name} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description gtk3 Gtk3 bindings for %{name}. %package wayland Group: System/Libraries Summary: Wayland bindings for %{name} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description wayland Wayland bindings for %{name}. %package -n python-ibus Group: System/Libraries Summary: Python bindings for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: python-dbus %description -n python-ibus Python bindings for %{name}. %package -n python-ibus-py3 Group: System/Libraries Summary: Python 3 bindings for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: python-dbus-py3 %description -n python-ibus-py3 Python 3 bindings for %{name}. %package -n lib%{name}-devel Group: Development/Libraries Summary: Development files for %{name} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: pkg-config %description -n lib%{name}-devel This package contains libraries and header files for developing applications that use %{name}. %package apidocs Group: Documentation Summary: %{name} API documentation Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: gtk-doc %description apidocs This package includes the %{name} API documentation. %debug_package %prep %setup -q #-D -T #:<< _EOF #%patch0 -p1 ./autogen.sh sed -i "s|/usr/bin/python$|%{__python3}|" engine/gensimple.py %ifarch arm aarch64 # 1.5.26: workaround sed -i "s|umount|: #umount|" data/dconf/make-dconf-override-db.sh %endif %build #:<< _EOF %configure \ --enable-dconf \ --enable-gtk-doc \ --enable-wayland \ --disable-memconf \ --enable-ui \ --with-python=%{__python3} # --enable-python-library \ %make -j1 %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall %find_lang %{name}10 || touch %{name}10.lang %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post if [ $1 -ge 1 ]; then glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : fi : %postun if [ $1 -eq 0 ]; then glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : fi : %post -n lib%{name} -p /sbin/ldconfig %postun -n lib%{name} -p /sbin/ldconfig %files -f %{name}10.lang %defattr(-,root,root) %dir %{_sysconfdir}/dconf/db/ibus.d %{_sysconfdir}/dconf/db/ibus.d/00-upstream-settings %{_sysconfdir}/dconf/profile/ibus %{_sysconfdir}/xdg/Xwayland-session.d/10-ibus-x11 %{_bindir}/ibus %{_bindir}/ibus-daemon %{_bindir}/ibus-setup %{_userunitdir}/org.freedesktop.IBus.session.*.service %{_userunitdir}/gnome-session.target.wants/org.freedesktop.IBus.session.GNOME.service %{_libexecdir}/ibus-engine-simple %{_libexecdir}/ibus-dconf %{_libexecdir}/ibus-portal %{_libexecdir}/ibus-extension-gtk3 %{_libexecdir}/ibus-ui-emojier %{_libexecdir}/ibus-ui-gtk3 %{_libexecdir}/ibus-x11 %{_datadir}/bash-completion/completions/ibus.bash %dir %{_datadir}/ibus %dir %{_datadir}/ibus/component %{_datadir}/ibus/component/*.xml %{_datadir}/dbus-1/services/org.freedesktop.IBus.service %{_datadir}/dbus-1/services/org.freedesktop.portal.IBus.service %{_datadir}/gettext/its/ibus.* %dir %{_datadir}/ibus/dicts %{_datadir}/ibus/dicts/* %dir %{_datadir}/ibus/keymaps %{_datadir}/ibus/keymaps/* %dir %{_datadir}/ibus/setup %{_datadir}/ibus/setup/* %{_datadir}/icons/hicolor/*/apps/ibus-keyboard.png %{_datadir}/icons/hicolor/scalable/apps/ibus*.svg %{_datadir}/GConf/gsettings/ibus.convert %{_datadir}/glib-2.0/schemas/org.freedesktop.ibus.gschema.xml %{_mandir}/man1/ibus-daemon.1* %{_mandir}/man1/ibus-setup.1* %{_mandir}/man1/ibus.1* %{_mandir}/man5/00-upstream-settings.5* %{_mandir}/man5/ibus.5* %{_mandir}/man7/ibus-emoji.7* %ifnarch aarch64 %files -n python-%{name} %defattr(-,root,root) %{python27_sitearch}/gi/overrides/* %endif %files -n python-%{name}-py3 %defattr(-,root,root) %{python3_sitearch}/gi/overrides/* %files -n lib%{name} %defattr(-,root,root) %{_libdir}/libibus-1.0.so.* %{_libdir}/girepository-1.0/IBus-1.0.typelib %doc AUTHORS COPYING %files desktop %defattr(-,root,root) %{_datadir}/applications/org.freedesktop.IBus.*.desktop %files gtk2 %defattr(-,root,root) %{_libdir}/gtk-2.0/2.10.0/immodules/im-ibus.so %files gtk3 %defattr(-,root,root) %{_libdir}/gtk-3.0/3.0.0/immodules/im-ibus.so %files wayland %defattr(-,root,root) %{_libexecdir}/ibus-wayland %files -n lib%{name}-devel %defattr(-,root,root) %dir %{_includedir}/ibus-1.0 %{_includedir}/ibus-1.0/*.h %{_libdir}/libibus-1.0.so %{_datadir}/gir-1.0/IBus-1.0.gir %{_datadir}/vala/vapi/ibus-1.0.deps %{_datadir}/vala/vapi/ibus-1.0.vapi %{_libdir}/pkgconfig/ibus-1.0.pc %doc ChangeLog README %files apidocs %defattr(-,root,root) %dir %{_datadir}/gtk-doc/html/ibus %{_datadir}/gtk-doc/html/ibus/* %changelog * Fri Feb 24 2023 Automatic Build System 1.5.28-1mamba - automatic version update by autodist * Tue Aug 23 2022 Automatic Build System 1.5.27-1mamba - automatic version update by autodist * Tue Jul 12 2022 Silvan Calarco 1.5.26-3mamba - move desktop menu files to -desktop subpackage; libibus: require ibus * Fri Jun 24 2022 Silvan Calarco 1.5.26-2mamba - libibus: don't require ibus so that it doesn't get install in default desktops - add gtk2, gtk3 and wayland subpackages * Sat Jun 04 2022 Automatic Build System 1.5.26-1mamba - automatic version update by autodist * Sat Aug 21 2021 Automatic Build System 1.5.25-1mamba - automatic version update by autodist * Tue Mar 02 2021 Automatic Build System 1.5.24-1mamba - automatic version update by autodist * Sun Dec 06 2020 Silvan Calarco 1.5.23-1mamba - update to 1.5.23 * Fri Feb 21 2020 Automatic Build System 1.5.22-1mamba - automatic version update by autodist * Tue Feb 18 2020 Automatic Build System 1.5.21-1mamba - automatic version update by autodist * Mon Feb 22 2016 Automatic Build System 1.5.13-1mamba - automatic version update by autodist * Wed Jan 20 2016 Automatic Build System 1.5.12-1mamba - automatic version update by autodist * Thu Jul 16 2015 Automatic Build System 1.5.11-1mamba - automatic version update by autodist * Sun Mar 01 2015 Automatic Build System 1.5.10-1mamba - automatic version update by autodist * Wed Sep 17 2014 Automatic Build System 1.5.9-1mamba - automatic version update by autodist * Thu Jul 24 2014 Automatic Build System 1.5.8-1mamba - automatic version update by autodist * Wed Apr 30 2014 Automatic Build System 1.5.7-1mamba - automatic version update by autodist * Sat Mar 15 2014 Silvan Calarco 1.5.6-1mamba - update to 1.5.6 * Tue Jan 14 2014 Automatic Build System 1.5.5-1mamba - automatic version update by autodist * Sat Sep 21 2013 Automatic Build System 1.5.4-1mamba - automatic version update by autodist * Sat Jul 27 2013 Automatic Build System 1.5.3-1mamba - automatic version update by autodist * Wed Jun 12 2013 Silvan Calarco 1.5.2-2mamba - python 2.7 rebuild * Fri Apr 19 2013 Automatic Build System 1.5.2-1mamba - automatic version update by autodist * Wed Dec 12 2012 Automatic Build System 1.5.1-1mamba - automatic version update by autodist * Sat Dec 08 2012 Automatic Build System 1.5.0-1mamba - automatic version update by autodist * Sat Dec 01 2012 Automatic Build System 1.4.99.20121109-1mamba - automatic version update by autodist * Mon Oct 08 2012 Silvan Calarco 1.4.99.20121006-1mamba - update to 1.4.99.20121006 * Mon Oct 08 2012 Silvan Calarco 1.4.2-1mamba - package created by autospec