2013-07-01 19:32:04 +02:00
|
|
|
libfcitx-4_2_8
|
2013-02-04 17:10:20 +01:00
|
|
|
requires "fcitx = <version>"
|
2013-04-27 02:00:19 +02:00
|
|
|
obsoletes "libfcitx-<targettype> < <version>"
|
2013-02-04 17:10:20 +01:00
|
|
|
provides "libfcitx-<targettype> = <version>"
|
|
|
|
post "/sbin/ldconfig"
|
|
|
|
postun "/sbin/ldconfig"
|
2012-04-10 16:17:29 +02:00
|
|
|
fcitx-gtk2
|
2013-07-01 19:32:04 +02:00
|
|
|
requires "libfcitx-4_2_8-<targettype> = <version>"
|
2013-02-04 17:10:20 +01:00
|
|
|
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"
|
2012-04-10 16:17:29 +02:00
|
|
|
fcitx-gtk3
|
2013-07-01 19:32:04 +02:00
|
|
|
requires "libfcitx-4_2_8-<targettype> = <version>"
|
2013-02-04 17:10:20 +01: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"
|
|
|
|
fcitx-qt4
|
2013-07-01 19:32:04 +02:00
|
|
|
requires "libfcitx-4_2_8-<targettype> = <version>"
|