b957395df6
fix minor stuff. OBS-URL: https://build.opensuse.org/request/show/173551 OBS-URL: https://build.opensuse.org/package/show/M17N/fcitx?expand=0&rev=68
32 lines
1.3 KiB
Plaintext
32 lines
1.3 KiB
Plaintext
libfcitx-4_2_7
|
|
requires "fcitx = <version>"
|
|
obsoletes "libfcitx-<targettype> < <version>"
|
|
provides "libfcitx-<targettype> = <version>"
|
|
post "/sbin/ldconfig"
|
|
postun "/sbin/ldconfig"
|
|
fcitx-gtk2
|
|
requires "libfcitx-4_2_7-<targettype> = <version>"
|
|
post "%if "%_lib" == "lib64""
|
|
post "<prefix>%{_bindir}/gtk-query-immodules-2.0-64 > %{_sysconfdir}/gtk-2.0/gtk64.immodules"
|
|
post "%else"
|
|
post "<prefix>%{_bindir}/gtk-query-immodules-2.0 > %{_sysconfdir}/gtk-2.0/gtk.immodules"
|
|
post "%endif"
|
|
postun "%if "%_lib" == "lib64""
|
|
postun "<prefix>%{_bindir}/gtk-query-immodules-2.0-64 > %{_sysconfdir}/gtk-2.0/gtk64.immodules"
|
|
postun "%else"
|
|
postun "<prefix>%{_bindir}/gtk-query-immodules-2.0 > %{_sysconfdir}/gtk-2.0/gtk.immodules"
|
|
postun "%endif"
|
|
fcitx-gtk3
|
|
requires "libfcitx-4_2_7-<targettype> = <version>"
|
|
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"
|
|
fcitx-qt4
|
|
requires "libfcitx-4_2_7-<targettype> = <version>" |