SHA256
1
0
forked from pool/gtk3

Accepting request 50332 from home:vuntz:branches:GNOME:Factory

looks good.

OBS-URL: https://build.opensuse.org/request/show/50332
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=11
This commit is contained in:
2010-10-12 20:38:41 +00:00
committed by Git OBS Bridge
parent d8f6c0dc5f
commit 2dccd20fdf
4 changed files with 390 additions and 47 deletions

View File

@@ -11,25 +11,25 @@
#
###
%gtk3_immodule_requires \
Requires(post): gtk3-tools \
%gtk3_immodule_requires \
Requires(post): gtk3-tools \
Requires(postun): gtk3-tools
# On install, update the cache
%gtk3_immodule_post \
%if "%_lib" == "lib64" \
%{_bindir}/gtk-query-immodules-3.0-64 > {_sysconfdir}/gtk.immodules \
%else \
%{_bindir}/gtk-query-immodules-3.0 > {_sysconfdir}/gtk64.immodules \
%gtk3_immodule_post \
%if "%_lib" == "lib64" \
%{_bindir}/gtk-query-immodules-3.0-64 --update-cache \
%else \
%{_bindir}/gtk-query-immodules-3.0 --update-cache \
%endif
# On uninstall, update the cache. Note: we ignore upgrades (already
# handled in %post of the new package).
%gtk3_immodule_postun \
if [ $1 -eq 0 ]; then \
%if "%_lib" == "lib64" \
%{_bindir}/gtk-query-immodules-3.0-64 > {_sysconfdir}/gtk.immodules \
%else \
%{_bindir}/gtk-query-immodules-3.0 > {_sysconfdir}/gtk64.immodules \
%endif \
%gtk3_immodule_postun \
if [ $1 -eq 0 ]; then \
%if "%_lib" == "lib64" \
%{_bindir}/gtk-query-immodules-3.0-64 --update-cache \
%else \
%{_bindir}/gtk-query-immodules-3.0 --update-cache \
%endif \
fi