[gnome-tweak-tool] Package new icons
Michel Alexandre Salim
salimma at fedoraproject.org
Thu Aug 9 15:03:58 UTC 2012
commit e5b39560541e255491aec6d8ded10d08d92e4832
Author: Michel Alexandre Salim <salimma at fedoraproject.org>
Date: Thu Aug 9 21:55:55 2012 +0700
Package new icons
gnome-tweak-tool.spec | 16 +++++++++++++++-
1 files changed, 15 insertions(+), 1 deletions(-)
---
diff --git a/gnome-tweak-tool.spec b/gnome-tweak-tool.spec
index 4d9a888..6e53a95 100644
--- a/gnome-tweak-tool.spec
+++ b/gnome-tweak-tool.spec
@@ -62,16 +62,30 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
%find_lang %{name}
+%post
+/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+
+%postun
+if [ $1 -eq 0 ] ; then
+ /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+ /usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
+fi
+
+%posttrans
+/usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
+
+
%files -f %{name}.lang
%doc AUTHORS COPYING NEWS README
%{_bindir}/%{name}
%{python_sitelib}/gtweak
%{_datadir}/applications/%{name}.desktop
%{_datadir}/%{name}
+%{_datadir}/icons/hicolor/*/apps/%{name}.png
%changelog
-* Tue Aug 7 2012 Michel Salim <salimma at fedoraproject.org> - 3.5.4-1
+* Thu Aug 9 2012 Michel Salim <salimma at fedoraproject.org> - 3.5.4-1
- Update to 3.5.4
* Sun Aug 5 2012 Michel Salim <salimma at fedoraproject.org> - 3.5.0-0.1.20120717git3869087
More information about the scm-commits
mailing list