[packages/sqlitebrowser] update desktop and icons database

glen glen at pld-linux.org
Sun Oct 4 01:50:37 CEST 2015


commit b5913631c25a21cf52a8ed49de302591aaf2b6f0
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Oct 4 02:50:23 2015 +0300

    update desktop and icons database

 sqlitebrowser.spec | 12 ++++++++++++
 1 file changed, 12 insertions(+)
---
diff --git a/sqlitebrowser.spec b/sqlitebrowser.spec
index 6b84286..8e42255 100644
--- a/sqlitebrowser.spec
+++ b/sqlitebrowser.spec
@@ -17,7 +17,11 @@ BuildRequires:	cmake >= 2.8.7
 BuildRequires:	qscintilla2-qt4-devel
 BuildRequires:	qt4-build
 BuildRequires:	qt4-linguist
+BuildRequires:	rpmbuild(macros) >= 1.596
 BuildRequires:	sqlite3-devel
+Requires:	desktop-file-utils
+Requires:	gtk-update-icon-cache
+Requires:	hicolor-icon-theme
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -47,6 +51,14 @@ rm -rf $RPM_BUILD_ROOT
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%update_desktop_database
+%update_icon_cache hicolor
+
+%postun
+%update_desktop_database
+%update_icon_cache hicolor
+
 %files
 %defattr(644,root,root,755)
 %doc README.md
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/sqlitebrowser.git/commitdiff/b5913631c25a21cf52a8ed49de302591aaf2b6f0



More information about the pld-cvs-commit mailing list