diff --git a/system-config-language.spec b/system-config-language.spec index c506430..c5b313c 100644 --- a/system-config-language.spec +++ b/system-config-language.spec @@ -1,7 +1,7 @@ Summary: A graphical interface for modifying the system language Name: system-config-language Version: 1.1.8 -Release: 1 +Release: 2 URL: http://fedora.redhat.com/projects/config-tools/ License: GPL ExclusiveOS: Linux @@ -17,6 +17,7 @@ Requires: pygtk2 Requires: python2 Requires: rhpl Requires: usermode >= 1.36 +Prereq: gtk2 >= 2.6 Obsoletes: locale_config %description @@ -43,11 +44,23 @@ desktop-file-install --vendor system --delete-original \ %clean rm -rf $RPM_BUILD_ROOT +%post +touch --no-create %{_datadir}/icons/hicolor +if [-x /usr/bin/gtk-update-icon-cache ]; then + gtk-update-icon-cache %{_datadir}/icons/hicolor +fi + %preun if [ -d /usr/share/system-config-language ] ; then rm -rf /usr/share/system-config-language/*.pyc fi +%postun +touch --no-create %{_datadir}/icons/hicolor +if [-x /usr/bin/gtk-update-icon-cache ]; then + gtk-update-icon-cache %{_datadir}/icons/hicolor +fi + %files -f %{name}.lang %defattr(-,root,root) #%doc COPYING @@ -64,6 +77,9 @@ fi %attr(0644,root,root) %config /etc/pam.d/system-config-language %changelog +* Fri Mar 25 2005 Christopher Aillon 1.1.8-2 +- Update the GTK+ theme icon cache on (un)install + * Fri Oct 01 2004 Paul Nasrat 1.1.8-1 - Indic UTF-8 locales - Translations