SHA256
1
0
forked from pool/gtk3

Accepting request 50725 from GNOME:Factory

checked in (request 50725)

OBS-URL: https://build.opensuse.org/request/show/50725
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=13
This commit is contained in:
OBS User autobuild
2010-10-15 11:50:04 +00:00
committed by Git OBS Bridge
parent e00a2d8915
commit 47b38f2212
7 changed files with 240 additions and 472 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 --update-cache \
%else \
%{_bindir}/gtk-query-immodules-3.0 --update-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 \
%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 --update-cache \
%else \
%{_bindir}/gtk-query-immodules-3.0 --update-cache \
%endif \
%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 \
fi