Dominique Leuenberger
0b564e13ca
- Add Obsoletes/Provides to baselibs.conf to ensure gtk2-immodule-tigrigna-32bit can be upgraded from old version. OBS-URL: https://build.opensuse.org/request/show/757485 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk2?expand=0&rev=281
107 lines
4.3 KiB
Plaintext
107 lines
4.3 KiB
Plaintext
gtk2-devel
|
|
requires -gtk2-<targettype>
|
|
requires "libgtk-2_0-0-<targettype> = <version>"
|
|
gtk2-tools
|
|
+/usr/bin/gtk-query-immodules-2.0(-64)?
|
|
post "%if "%_lib" == "lib64""
|
|
post "if [ $1 == 1 ]; then test -d <prefix>%{_libdir}/gtk-2.0/2.10.0; if test $? -eq 0; then <prefix>%{_bindir}/gtk-query-immodules-2.0-64 --update-cache; fi; fi"
|
|
post "%else"
|
|
post "if [ $1 == 1 ]; then test -d <prefix>%{_libdir}/gtk-2.0/2.10.0; if test $? -eq 0; then <prefix>%{_bindir}/gtk-query-immodules-2.0 --update-cache; fi; fi"
|
|
post "%endif"
|
|
libgtk-2_0-0
|
|
requires "gtk2-tools-<targettype>"
|
|
provides "gtk2-<targettype> = <version>"
|
|
obsoletes "gtk2-<targettype> < <version>"
|
|
obsoletes "gail-<targettype> <= 1.22.1"
|
|
post "%if "%_lib" == "lib64""
|
|
post "if test -f <prefix>%{_bindir}/gtk-query-immodules-2.0-64; then <prefix>%{_bindir}/gtk-query-immodules-2.0-64 --update-cache; fi"
|
|
post "%else"
|
|
post "if test -f <prefix>%{_bindir}/gtk-query-immodules-2.0; then <prefix>%{_bindir}/gtk-query-immodules-2.0 --update-cache; fi"
|
|
post "%endif"
|
|
gtk2-immodule-amharic
|
|
requires "gtk2-<targettype>"
|
|
post "%if "%_lib" == "lib64""
|
|
post "<prefix>%{_bindir}/gtk-query-immodules-2.0-64 --update-cache"
|
|
post "%else"
|
|
post "<prefix>%{_bindir}/gtk-query-immodules-2.0 --update-cache"
|
|
post "%endif"
|
|
postun "%if "%_lib" == "lib64""
|
|
postun "<prefix>%{_bindir}/gtk-query-immodules-2.0-64 --update-cache"
|
|
postun "%else"
|
|
postun "<prefix>%{_bindir}/gtk-query-immodules-2.0 --update-cache"
|
|
postun "%endif"
|
|
gtk2-immodule-inuktitut
|
|
requires "gtk2-<targettype>"
|
|
post "%if "%_lib" == "lib64""
|
|
post "<prefix>%{_bindir}/gtk-query-immodules-2.0-64 --update-cache"
|
|
post "%else"
|
|
post "<prefix>%{_bindir}/gtk-query-immodules-2.0 --update-cache"
|
|
post "%endif"
|
|
postun "%if "%_lib" == "lib64""
|
|
postun "<prefix>%{_bindir}/gtk-query-immodules-2.0-64 --update-cache"
|
|
postun "%else"
|
|
postun "<prefix>%{_bindir}/gtk-query-immodules-2.0 --update-cache"
|
|
postun "%endif"
|
|
gtk2-immodule-multipress
|
|
requires "gtk2-<targettype>"
|
|
post "%if "%_lib" == "lib64""
|
|
post "<prefix>%{_bindir}/gtk-query-immodules-2.0-64 --update-cache"
|
|
post "%else"
|
|
post "<prefix>%{_bindir}/gtk-query-immodules-2.0 --update-cache"
|
|
post "%endif"
|
|
postun "%if "%_lib" == "lib64""
|
|
postun "<prefix>%{_bindir}/gtk-query-immodules-2.0-64 --update-cache"
|
|
postun "%else"
|
|
postun "<prefix>%{_bindir}/gtk-query-immodules-2.0 --update-cache"
|
|
postun "%endif"
|
|
gtk2-immodule-thai
|
|
requires "gtk2-<targettype>"
|
|
post "%if "%_lib" == "lib64""
|
|
post "<prefix>%{_bindir}/gtk-query-immodules-2.0-64 --update-cache"
|
|
post "%else"
|
|
post "<prefix>%{_bindir}/gtk-query-immodules-2.0 --update-cache"
|
|
post "%endif"
|
|
postun "%if "%_lib" == "lib64""
|
|
postun "<prefix>%{_bindir}/gtk-query-immodules-2.0-64 --update-cache"
|
|
postun "%else"
|
|
postun "<prefix>%{_bindir}/gtk-query-immodules-2.0 --update-cache"
|
|
postun "%endif"
|
|
gtk2-immodule-tigrigna
|
|
requires "gtk2-<targettype>"
|
|
post "%if "%_lib" == "lib64""
|
|
post "<prefix>%{_bindir}/gtk-query-immodules-2.0-64 --update-cache"
|
|
post "%else"
|
|
post "<prefix>%{_bindir}/gtk-query-immodules-2.0 --update-cache"
|
|
post "%endif"
|
|
postun "%if "%_lib" == "lib64""
|
|
postun "<prefix>%{_bindir}/gtk-query-immodules-2.0-64 --update-cache"
|
|
postun "%else"
|
|
postun "<prefix>%{_bindir}/gtk-query-immodules-2.0 --update-cache"
|
|
postun "%endif"
|
|
provides "gtk2-immodules-tigrigna-<targettype> = <version>"
|
|
obsoletes "gtk2-immodules-tigrigna-<targettype> = <version>"
|
|
gtk2-immodule-vietnamese
|
|
requires "gtk2-<targettype>"
|
|
post "%if "%_lib" == "lib64""
|
|
post "<prefix>%{_bindir}/gtk-query-immodules-2.0-64 --update-cache"
|
|
post "%else"
|
|
post "<prefix>%{_bindir}/gtk-query-immodules-2.0 --update-cache"
|
|
post "%endif"
|
|
postun "%if "%_lib" == "lib64""
|
|
postun "<prefix>%{_bindir}/gtk-query-immodules-2.0-64 --update-cache"
|
|
postun "%else"
|
|
postun "<prefix>%{_bindir}/gtk-query-immodules-2.0 --update-cache"
|
|
postun "%endif"
|
|
gtk2-immodule-xim
|
|
requires "gtk2-<targettype>"
|
|
post "%if "%_lib" == "lib64""
|
|
post "<prefix>%{_bindir}/gtk-query-immodules-2.0-64 --update-cache"
|
|
post "%else"
|
|
post "<prefix>%{_bindir}/gtk-query-immodules-2.0 --update-cache"
|
|
post "%endif"
|
|
postun "%if "%_lib" == "lib64""
|
|
postun "<prefix>%{_bindir}/gtk-query-immodules-2.0-64 --update-cache"
|
|
postun "%else"
|
|
postun "<prefix>%{_bindir}/gtk-query-immodules-2.0 --update-cache"
|
|
postun "%endif"
|