2024-01-05 23:47:57 +01:00
|
|
|
Name: ibus
|
2024-01-05 23:47:58 +01:00
|
|
|
Version: 1.5.26
|
2024-01-05 23:47:58 +01:00
|
|
|
Release: 3mamba
|
2024-01-05 23:47:57 +01:00
|
|
|
Summary: Intelligent Input Bus for Linux / Unix OS
|
|
|
|
Group: System/Servers
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 23:47:58 +01:00
|
|
|
URL: https://code.google.com/archive/p/ibus
|
2024-01-05 23:47:57 +01:00
|
|
|
Source: https://github.com/ibus/ibus.git/%{version}/ibus-%{version}.tar.bz2
|
2024-01-05 23:47:57 +01:00
|
|
|
Patch0: ibus-1.5.23-vala-0.50.2.patch
|
2024-01-05 23:47:57 +01:00
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-05 23:47:57 +01:00
|
|
|
BuildRequires: libX11-devel
|
|
|
|
BuildRequires: libXau-devel
|
|
|
|
BuildRequires: libXdmcp-devel
|
|
|
|
BuildRequires: libXext-devel
|
2024-01-05 23:47:58 +01:00
|
|
|
BuildRequires: libXfixes-devel
|
2024-01-05 23:47:57 +01:00
|
|
|
BuildRequires: libXi-devel
|
2024-01-05 23:47:57 +01:00
|
|
|
BuildRequires: libatk-devel
|
2024-01-05 23:47:57 +01:00
|
|
|
BuildRequires: libbrotli-devel
|
2024-01-05 23:47:57 +01:00
|
|
|
BuildRequires: libbsd-devel
|
2024-01-05 23:47:57 +01:00
|
|
|
BuildRequires: libbzip2-devel
|
|
|
|
BuildRequires: libcairo-devel
|
|
|
|
BuildRequires: libdbus-devel
|
2024-01-05 23:47:57 +01:00
|
|
|
BuildRequires: libdconf-devel
|
2024-01-05 23:47:57 +01:00
|
|
|
BuildRequires: libexpat-devel
|
|
|
|
BuildRequires: libfontconfig-devel
|
|
|
|
BuildRequires: libfreetype-devel
|
|
|
|
BuildRequires: libgdk-pixbuf-devel
|
|
|
|
BuildRequires: libglib-devel
|
2024-01-05 23:47:57 +01:00
|
|
|
BuildRequires: libgraphite2-devel
|
|
|
|
BuildRequires: libgtk2-devel
|
2024-01-05 23:47:58 +01:00
|
|
|
BuildRequires: libgtk3-devel
|
2024-01-05 23:47:57 +01:00
|
|
|
BuildRequires: libharfbuzz-devel
|
2024-01-05 23:47:57 +01:00
|
|
|
BuildRequires: libpango-devel
|
2024-01-05 23:47:57 +01:00
|
|
|
BuildRequires: libpcre-devel
|
2024-01-05 23:47:57 +01:00
|
|
|
BuildRequires: libpng-devel
|
2024-01-05 23:47:58 +01:00
|
|
|
BuildRequires: libpython27-devel
|
|
|
|
BuildRequires: libpython3-devel
|
2024-01-05 23:47:57 +01:00
|
|
|
BuildRequires: libsystemd-devel
|
2024-01-05 23:47:57 +01:00
|
|
|
BuildRequires: libwayland-devel
|
2024-01-05 23:47:57 +01:00
|
|
|
BuildRequires: libxcb-devel
|
2024-01-05 23:47:57 +01:00
|
|
|
BuildRequires: libxkbcommon-devel
|
2024-01-05 23:47:57 +01:00
|
|
|
BuildRequires: libz-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: perl-XML-Parser
|
|
|
|
BuildRequires: gnome-common
|
2024-01-05 23:47:57 +01:00
|
|
|
BuildRequires: unicode-emoji
|
|
|
|
BuildRequires: unicode-ucd
|
|
|
|
BuildRequires: cldr-emoji-annotation
|
2024-01-05 23:47:57 +01:00
|
|
|
BuildRequires: python
|
|
|
|
BuildRequires: python3
|
2024-01-05 23:47:57 +01:00
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-05 23:47:58 +01:00
|
|
|
Requires: %{name}-gtk2 = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: %{name}-gtk3 = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: %{name}-wayland = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-05 23:47:57 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Intelligent Input Bus for Linux / Unix OS.
|
|
|
|
|
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Shared libraries for %{name}
|
2024-01-05 23:47:58 +01:00
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-05 23:47:57 +01:00
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
This package contains shared libraries for %{name}.
|
|
|
|
|
2024-01-05 23:47:58 +01:00
|
|
|
%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.
|
|
|
|
|
2024-01-05 23:47:58 +01:00
|
|
|
%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}.
|
|
|
|
|
2024-01-05 23:47:57 +01:00
|
|
|
%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}.
|
|
|
|
|
2024-01-05 23:47:57 +01:00
|
|
|
%package -n lib%{name}-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-05 23:47:57 +01:00
|
|
|
Requires: pkg-config
|
2024-01-05 23:47:57 +01:00
|
|
|
|
|
|
|
%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
|
2024-01-05 23:47:58 +01:00
|
|
|
#-D -T
|
|
|
|
#:<< _EOF
|
2024-01-05 23:47:57 +01:00
|
|
|
#%patch0 -p1
|
2024-01-05 23:47:57 +01:00
|
|
|
./autogen.sh
|
2024-01-05 23:47:57 +01:00
|
|
|
|
|
|
|
sed -i "s|/usr/bin/python$|%{__python3}|" engine/gensimple.py
|
|
|
|
|
2024-01-05 23:47:58 +01:00
|
|
|
%ifarch arm
|
2024-01-05 23:47:58 +01:00
|
|
|
# 1.5.26: workaround
|
|
|
|
sed -i "s|umount|: #umount|" data/dconf/make-dconf-override-db.sh
|
2024-01-05 23:47:58 +01:00
|
|
|
%endif
|
|
|
|
|
2024-01-05 23:47:57 +01:00
|
|
|
%build
|
2024-01-05 23:47:58 +01:00
|
|
|
#:<< _EOF
|
2024-01-05 23:47:57 +01:00
|
|
|
%configure \
|
|
|
|
--enable-dconf \
|
|
|
|
--enable-gtk-doc \
|
|
|
|
--enable-wayland \
|
|
|
|
--disable-memconf \
|
|
|
|
--enable-ui \
|
|
|
|
--with-python=%{__python3}
|
|
|
|
|
|
|
|
# --enable-python-library \
|
|
|
|
|
2024-01-05 23:47:58 +01:00
|
|
|
%make -j1
|
2024-01-05 23:47:57 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%find_lang %{name}10 || touch %{name}10.lang
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-05 23:47:57 +01:00
|
|
|
%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
|
|
|
|
:
|
|
|
|
|
2024-01-05 23:47:57 +01:00
|
|
|
%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
|
2024-01-05 23:47:58 +01:00
|
|
|
%{_sysconfdir}/xdg/Xwayland-session.d/10-ibus-x11
|
2024-01-05 23:47:57 +01:00
|
|
|
%{_bindir}/ibus
|
|
|
|
%{_bindir}/ibus-daemon
|
|
|
|
%{_bindir}/ibus-setup
|
2024-01-05 23:47:58 +01:00
|
|
|
%{_userunitdir}/org.freedesktop.IBus.session.*.service
|
|
|
|
%{_userunitdir}/gnome-session.target.wants/org.freedesktop.IBus.session.GNOME.service
|
2024-01-05 23:47:58 +01:00
|
|
|
%{_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
|
2024-01-05 23:47:57 +01:00
|
|
|
%{_datadir}/bash-completion/completions/ibus.bash
|
|
|
|
%dir %{_datadir}/ibus
|
|
|
|
%dir %{_datadir}/ibus/component
|
|
|
|
%{_datadir}/ibus/component/*.xml
|
2024-01-05 23:47:57 +01:00
|
|
|
%{_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/*
|
2024-01-05 23:47:57 +01:00
|
|
|
%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
|
2024-01-05 23:47:57 +01:00
|
|
|
%{_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*
|
2024-01-05 23:47:57 +01:00
|
|
|
|
2024-01-05 23:47:57 +01:00
|
|
|
%ifnarch aarch64
|
|
|
|
%files -n python-%{name}
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 23:47:58 +01:00
|
|
|
%{python27_sitearch}/gi/overrides/*
|
2024-01-05 23:47:58 +01:00
|
|
|
%endif
|
2024-01-05 23:47:57 +01:00
|
|
|
|
|
|
|
%files -n python-%{name}-py3
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{python3_sitearch}/gi/overrides/*
|
|
|
|
|
2024-01-05 23:47:57 +01:00
|
|
|
%files -n lib%{name}
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 23:47:58 +01:00
|
|
|
%{_libdir}/libibus-1.0.so.*
|
|
|
|
%{_libdir}/girepository-1.0/IBus-1.0.typelib
|
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
2024-01-05 23:47:58 +01:00
|
|
|
%files desktop
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_datadir}/applications/org.freedesktop.IBus.*.desktop
|
|
|
|
|
2024-01-05 23:47:58 +01:00
|
|
|
%files gtk2
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 23:47:57 +01:00
|
|
|
%{_libdir}/gtk-2.0/2.10.0/immodules/im-ibus.la
|
|
|
|
%{_libdir}/gtk-2.0/2.10.0/immodules/im-ibus.so
|
2024-01-05 23:47:58 +01:00
|
|
|
|
|
|
|
%files gtk3
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 23:47:57 +01:00
|
|
|
%{_libdir}/gtk-3.0/3.0.0/immodules/im-ibus.la
|
|
|
|
%{_libdir}/gtk-3.0/3.0.0/immodules/im-ibus.so
|
2024-01-05 23:47:58 +01:00
|
|
|
|
|
|
|
%files wayland
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libexecdir}/ibus-wayland
|
2024-01-05 23:47:57 +01:00
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/ibus-1.0
|
|
|
|
%{_includedir}/ibus-1.0/*.h
|
|
|
|
%{_libdir}/libibus-1.0.la
|
|
|
|
%{_libdir}/libibus-1.0.so
|
2024-01-05 23:47:58 +01:00
|
|
|
%{_datadir}/gir-1.0/IBus-1.0.gir
|
2024-01-05 23:47:57 +01:00
|
|
|
%{_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
|
2024-01-05 23:47:58 +01:00
|
|
|
* Tue Jul 12 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.26-3mamba
|
|
|
|
- move desktop menu files to -desktop subpackage; libibus: require ibus
|
|
|
|
|
2024-01-05 23:47:58 +01:00
|
|
|
* Fri Jun 24 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 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
|
|
|
|
|
2024-01-05 23:47:58 +01:00
|
|
|
* Sat Jun 04 2022 Automatic Build System <autodist@mambasoft.it> 1.5.26-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:47:58 +01:00
|
|
|
* Sat Aug 21 2021 Automatic Build System <autodist@mambasoft.it> 1.5.25-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:47:57 +01:00
|
|
|
* Tue Mar 02 2021 Automatic Build System <autodist@mambasoft.it> 1.5.24-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:47:57 +01:00
|
|
|
* Sun Dec 06 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.23-1mamba
|
|
|
|
- update to 1.5.23
|
|
|
|
|
2024-01-05 23:47:57 +01:00
|
|
|
* Fri Feb 21 2020 Automatic Build System <autodist@mambasoft.it> 1.5.22-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:47:57 +01:00
|
|
|
* Tue Feb 18 2020 Automatic Build System <autodist@mambasoft.it> 1.5.21-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:47:57 +01:00
|
|
|
* Mon Feb 22 2016 Automatic Build System <autodist@mambasoft.it> 1.5.13-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:47:57 +01:00
|
|
|
* Wed Jan 20 2016 Automatic Build System <autodist@mambasoft.it> 1.5.12-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:47:57 +01:00
|
|
|
* Thu Jul 16 2015 Automatic Build System <autodist@mambasoft.it> 1.5.11-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:47:57 +01:00
|
|
|
* Sun Mar 01 2015 Automatic Build System <autodist@mambasoft.it> 1.5.10-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:47:57 +01:00
|
|
|
* Wed Sep 17 2014 Automatic Build System <autodist@mambasoft.it> 1.5.9-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:47:57 +01:00
|
|
|
* Thu Jul 24 2014 Automatic Build System <autodist@mambasoft.it> 1.5.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:47:57 +01:00
|
|
|
* Wed Apr 30 2014 Automatic Build System <autodist@mambasoft.it> 1.5.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Mar 15 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.6-1mamba
|
|
|
|
- update to 1.5.6
|
|
|
|
|
|
|
|
* Tue Jan 14 2014 Automatic Build System <autodist@mambasoft.it> 1.5.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Sep 21 2013 Automatic Build System <autodist@mambasoft.it> 1.5.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Jul 27 2013 Automatic Build System <autodist@mambasoft.it> 1.5.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Jun 12 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.2-2mamba
|
|
|
|
- python 2.7 rebuild
|
|
|
|
|
|
|
|
* Fri Apr 19 2013 Automatic Build System <autodist@mambasoft.it> 1.5.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Dec 12 2012 Automatic Build System <autodist@mambasoft.it> 1.5.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Dec 08 2012 Automatic Build System <autodist@mambasoft.it> 1.5.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Dec 01 2012 Automatic Build System <autodist@mambasoft.it> 1.4.99.20121109-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Oct 08 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.99.20121006-1mamba
|
|
|
|
- update to 1.4.99.20121006
|
|
|
|
|
|
|
|
* Mon Oct 08 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.2-1mamba
|
|
|
|
- package created by autospec
|