move desktop menu files to -desktop subpackage; libibus: require ibus [release 1.5.26-3mamba;Tue Jul 12 2022]

This commit is contained in:
Silvan Calarco 2024-01-05 23:47:58 +01:00
parent 6ec912764f
commit ff3755d696

View File

@ -1,6 +1,6 @@
Name: ibus
Version: 1.5.26
Release: 2mamba
Release: 3mamba
Summary: Intelligent Input Bus for Linux / Unix OS
Group: System/Servers
Vendor: openmamba
@ -63,11 +63,19 @@ 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}
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}
@ -204,7 +212,6 @@ fi
%dir %{_datadir}/ibus
%dir %{_datadir}/ibus/component
%{_datadir}/ibus/component/*.xml
%{_datadir}/applications/org.freedesktop.IBus.*.desktop
%{_datadir}/dbus-1/services/org.freedesktop.IBus.service
%{_datadir}/dbus-1/services/org.freedesktop.portal.IBus.service
%{_datadir}/gettext/its/ibus.*
@ -241,6 +248,10 @@ fi
%{_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.la
@ -273,6 +284,9 @@ fi
%{_datadir}/gtk-doc/html/ibus/*
%changelog
* Tue Jul 12 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.26-3mamba
- move desktop menu files to -desktop subpackage; libibus: require ibus
* 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