2012-11-08 21:43:48 +01:00
gtk2-devel
requires -gtk2-<targettype>
requires "libgtk-2_0-0-<targettype> = <version>"
2010-10-15 12:46:12 +02:00
gtk2-tools
2008-04-10 14:18:18 +02:00
+/usr/bin/gtk-query-immodules-2.0(-64)?
2010-10-15 12:46:12 +02:00
post "%if "%_lib" == "lib64""
2013-07-20 21:27:04 +02:00
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"
2010-10-15 12:46:12 +02:00
post "%else"
2013-07-20 21:27:04 +02:00
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"
2010-10-15 12:46:12 +02:00
post "%endif"
libgtk-2_0-0
requires "gtk2-tools-<targettype>"
provides "gtk2-<targettype> = <version>"
2011-04-27 14:06:18 +02:00
obsoletes "gtk2-<targettype> < <version>"
2008-07-24 22:47:34 +02:00
obsoletes "gail-<targettype> <= 1.22.1"
2010-10-15 12:46:12 +02:00
post "%if "%_lib" == "lib64""
2013-07-20 21:27:04 +02:00
post "if test -f <prefix>%{_bindir}/gtk-query-immodules-2.0-64; then <prefix>%{_bindir}/gtk-query-immodules-2.0-64 --update-cache; fi"
2010-10-15 12:46:12 +02:00
post "%else"
2013-07-20 21:27:04 +02:00
post "if test -f <prefix>%{_bindir}/gtk-query-immodules-2.0; then <prefix>%{_bindir}/gtk-query-immodules-2.0 --update-cache; fi"
2010-10-15 12:46:12 +02:00
post "%endif"
gtk2-immodule-amharic
requires "gtk2-<targettype>"
post "%if "%_lib" == "lib64""
2013-07-20 21:27:04 +02:00
post "<prefix>%{_bindir}/gtk-query-immodules-2.0-64 --update-cache"
2010-10-15 12:46:12 +02:00
post "%else"
2013-07-20 21:27:04 +02:00
post "<prefix>%{_bindir}/gtk-query-immodules-2.0 --update-cache"
2010-10-15 12:46:12 +02:00
post "%endif"
postun "%if "%_lib" == "lib64""
2013-07-20 21:27:04 +02:00
postun "<prefix>%{_bindir}/gtk-query-immodules-2.0-64 --update-cache"
2010-10-15 12:46:12 +02:00
postun "%else"
2013-07-20 21:27:04 +02:00
postun "<prefix>%{_bindir}/gtk-query-immodules-2.0 --update-cache"
2010-10-15 12:46:12 +02:00
postun "%endif"
gtk2-immodule-inuktitut
requires "gtk2-<targettype>"
post "%if "%_lib" == "lib64""
2013-07-20 21:27:04 +02:00
post "<prefix>%{_bindir}/gtk-query-immodules-2.0-64 --update-cache"
2010-10-15 12:46:12 +02:00
post "%else"
2013-07-20 21:27:04 +02:00
post "<prefix>%{_bindir}/gtk-query-immodules-2.0 --update-cache"
2010-10-15 12:46:12 +02:00
post "%endif"
postun "%if "%_lib" == "lib64""
2013-07-20 21:27:04 +02:00
postun "<prefix>%{_bindir}/gtk-query-immodules-2.0-64 --update-cache"
2010-10-15 12:46:12 +02:00
postun "%else"
2013-07-20 21:27:04 +02:00
postun "<prefix>%{_bindir}/gtk-query-immodules-2.0 --update-cache"
2010-10-15 12:46:12 +02:00
postun "%endif"
gtk2-immodule-multipress
requires "gtk2-<targettype>"
post "%if "%_lib" == "lib64""
2013-07-20 21:27:04 +02:00
post "<prefix>%{_bindir}/gtk-query-immodules-2.0-64 --update-cache"
2010-10-15 12:46:12 +02:00
post "%else"
2013-07-20 21:27:04 +02:00
post "<prefix>%{_bindir}/gtk-query-immodules-2.0 --update-cache"
2010-10-15 12:46:12 +02:00
post "%endif"
postun "%if "%_lib" == "lib64""
2013-07-20 21:27:04 +02:00
postun "<prefix>%{_bindir}/gtk-query-immodules-2.0-64 --update-cache"
2010-10-15 12:46:12 +02:00
postun "%else"
2013-07-20 21:27:04 +02:00
postun "<prefix>%{_bindir}/gtk-query-immodules-2.0 --update-cache"
2010-10-15 12:46:12 +02:00
postun "%endif"
gtk2-immodule-thai
requires "gtk2-<targettype>"
post "%if "%_lib" == "lib64""
2013-07-20 21:27:04 +02:00
post "<prefix>%{_bindir}/gtk-query-immodules-2.0-64 --update-cache"
2010-10-15 12:46:12 +02:00
post "%else"
2013-07-20 21:27:04 +02:00
post "<prefix>%{_bindir}/gtk-query-immodules-2.0 --update-cache"
2010-10-15 12:46:12 +02:00
post "%endif"
postun "%if "%_lib" == "lib64""
2013-07-20 21:27:04 +02:00
postun "<prefix>%{_bindir}/gtk-query-immodules-2.0-64 --update-cache"
2010-10-15 12:46:12 +02:00
postun "%else"
2013-07-20 21:27:04 +02:00
postun "<prefix>%{_bindir}/gtk-query-immodules-2.0 --update-cache"
2010-10-15 12:46:12 +02:00
postun "%endif"
gtk2-immodules-tigrigna
requires "gtk2-<targettype>"
post "%if "%_lib" == "lib64""
2013-07-20 21:27:04 +02:00
post "<prefix>%{_bindir}/gtk-query-immodules-2.0-64 --update-cache"
2010-10-15 12:46:12 +02:00
post "%else"
2013-07-20 21:27:04 +02:00
post "<prefix>%{_bindir}/gtk-query-immodules-2.0 --update-cache"
2010-10-15 12:46:12 +02:00
post "%endif"
postun "%if "%_lib" == "lib64""
2013-07-20 21:27:04 +02:00
postun "<prefix>%{_bindir}/gtk-query-immodules-2.0-64 --update-cache"
2010-10-15 12:46:12 +02:00
postun "%else"
2013-07-20 21:27:04 +02:00
postun "<prefix>%{_bindir}/gtk-query-immodules-2.0 --update-cache"
2010-10-15 12:46:12 +02:00
postun "%endif"
gtk2-immodule-vietnamese
requires "gtk2-<targettype>"
post "%if "%_lib" == "lib64""
2013-07-20 21:27:04 +02:00
post "<prefix>%{_bindir}/gtk-query-immodules-2.0-64 --update-cache"
2010-10-15 12:46:12 +02:00
post "%else"
2013-07-20 21:27:04 +02:00
post "<prefix>%{_bindir}/gtk-query-immodules-2.0 --update-cache"
2010-10-15 12:46:12 +02:00
post "%endif"
postun "%if "%_lib" == "lib64""
2013-07-20 21:27:04 +02:00
postun "<prefix>%{_bindir}/gtk-query-immodules-2.0-64 --update-cache"
2010-10-15 12:46:12 +02:00
postun "%else"
2013-07-20 21:27:04 +02:00
postun "<prefix>%{_bindir}/gtk-query-immodules-2.0 --update-cache"
2010-10-15 12:46:12 +02:00
postun "%endif"
gtk2-immodule-xim
requires "gtk2-<targettype>"
post "%if "%_lib" == "lib64""
2013-07-20 21:27:04 +02:00
post "<prefix>%{_bindir}/gtk-query-immodules-2.0-64 --update-cache"
2010-10-15 12:46:12 +02:00
post "%else"
2013-07-20 21:27:04 +02:00
post "<prefix>%{_bindir}/gtk-query-immodules-2.0 --update-cache"
2010-10-15 12:46:12 +02:00
post "%endif"
postun "%if "%_lib" == "lib64""
2013-07-20 21:27:04 +02:00
postun "<prefix>%{_bindir}/gtk-query-immodules-2.0-64 --update-cache"
2010-10-15 12:46:12 +02:00
postun "%else"
2013-07-20 21:27:04 +02:00
postun "<prefix>%{_bindir}/gtk-query-immodules-2.0 --update-cache"
2010-10-15 12:46:12 +02:00
postun "%endif"