2011-06-17 05:34:32 +02:00
|
|
|
ibus-gtk
|
2011-08-08 17:14:02 +02:00
|
|
|
post "%if "%_lib" == "lib64""
|
2014-02-14 13:02:34 +01:00
|
|
|
post "<prefix>%{_bindir}/gtk-query-immodules-2.0-64 --update-cache"
|
2011-08-08 17:14:02 +02:00
|
|
|
post "%else"
|
2014-02-14 13:02:34 +01:00
|
|
|
post "<prefix>%{_bindir}/gtk-query-immodules-2.0 --update-cache"
|
2011-08-08 17:14:02 +02:00
|
|
|
post "%endif"
|
|
|
|
postun "%if "%_lib" == "lib64""
|
2014-02-14 13:02:34 +01:00
|
|
|
postun "<prefix>%{_bindir}/gtk-query-immodules-2.0-64 --update-cache"
|
2011-08-08 17:14:02 +02:00
|
|
|
postun "%else"
|
2014-02-14 13:02:34 +01:00
|
|
|
postun "<prefix>%{_bindir}/gtk-query-immodules-2.0 --update-cache"
|
2011-08-08 17:14:02 +02:00
|
|
|
postun "%endif"
|
2021-10-06 08:16:51 +02:00
|
|
|
supplements "(ibus and gtk2-<targettype>)"
|
2011-06-18 13:40:52 +02:00
|
|
|
ibus-gtk3
|
2011-08-08 17:14:02 +02:00
|
|
|
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"
|
2021-10-06 08:16:51 +02:00
|
|
|
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>)"
|
2013-07-07 19:40:03 +02:00
|
|
|
libibus-1_0-5
|
2011-10-13 11:42:35 +02:00
|
|
|
obsoletes "libibus2-<targettype> < <version>"
|
|
|
|
|