Takashi Iwai
fe8fca61f9
- Enable GTK 4 IM Module for Leap 15.4 and Tumbleweed - Remove ibus-python-install-dir.patch * Not used for build anymore OBS-URL: https://build.opensuse.org/request/show/923267 OBS-URL: https://build.opensuse.org/package/show/M17N/ibus?expand=0&rev=257
42 lines
1.6 KiB
Plaintext
42 lines
1.6 KiB
Plaintext
ibus-gtk
|
|
post "%if "%_lib" == "lib64""
|
|
post "<prefix>%{_bindir}/gtk-query-immodules-2.0-64 --update-cache"
|
|
post "%else"
|
|
post "<prefix>%{_bindir}/gtk-query-immodules-2.0 --update-cache"
|
|
post "%endif"
|
|
postun "%if "%_lib" == "lib64""
|
|
postun "<prefix>%{_bindir}/gtk-query-immodules-2.0-64 --update-cache"
|
|
postun "%else"
|
|
postun "<prefix>%{_bindir}/gtk-query-immodules-2.0 --update-cache"
|
|
postun "%endif"
|
|
supplements "(ibus and gtk2-<targettype>)"
|
|
ibus-gtk3
|
|
post "%if "%_lib" == "lib64""
|
|
post "<prefix>%{_bindir}/gtk-query-immodules-3.0-64 --update-cache"
|
|
post "%else"
|
|
post "<prefix>%{_bindir}/gtk-query-immodules-3.0 --update-cache"
|
|
post "%endif"
|
|
postun "%if "%_lib" == "lib64""
|
|
postun "<prefix>%{_bindir}/gtk-query-immodules-3.0-64 --update-cache"
|
|
postun "%else"
|
|
postun "<prefix>%{_bindir}/gtk-query-immodules-3.0 --update-cache"
|
|
postun "%endif"
|
|
supplements "(ibus and gtk3-<targettype>)"
|
|
ibus-gtk4
|
|
post "if [[ -x <prefix>%{_bindir}/gio-querymodules-64 ]]; then"
|
|
post " <prefix>%{_bindir}/gio-querymodules-64 %{_libdir}/gtk-4.0/4.0.0/immodules"
|
|
post "else"
|
|
post " <prefix>%{_bindir}/gio-querymodules %{_libdir}/gtk-4.0/4.0.0/immodules"
|
|
post "fi"
|
|
postun "if [ $1 -eq 0 ]; then"
|
|
postun " if [[ -x <prefix>%{_bindir}/gio-querymodules-64 ]]; then"
|
|
postun " <prefix>%{_bindir}/gio-querymodules-64 %{_libdir}/gtk-4.0/4.0.0/immodules"
|
|
postun " else"
|
|
postun " <prefix>%{_bindir}/gio-querymodules %{_libdir}/gtk-4.0/4.0.0/immodules"
|
|
postun " fi"
|
|
postun "fi"
|
|
supplements "(ibus and gtk4-<targettype>)"
|
|
libibus-1_0-5
|
|
obsoletes "libibus2-<targettype> < <version>"
|
|
|