[packages/cmake] update desktop and icon database

atler atler at pld-linux.org
Wed Aug 23 23:28:44 CEST 2023


commit 3287d08ca5d1fc259d8be0976da5c686baa07deb
Author: Jan Palus <atler at pld-linux.org>
Date:   Wed Aug 23 22:45:00 2023 +0200

    update desktop and icon database

 cmake.spec | 11 +++++++++++
 1 file changed, 11 insertions(+)
---
diff --git a/cmake.spec b/cmake.spec
index e6500cb..4059442 100644
--- a/cmake.spec
+++ b/cmake.spec
@@ -95,7 +95,10 @@ Dokumentacja do pakietu CMake w formacie HTML.
 Summary:	Qt GUI for CMake
 Summary(pl.UTF-8):	Graficzny interfejs użytkownika Qt dla CMake
 Group:		Development/Tools
+Requires(post,postun):	desktop-file-utils
+Requires(post,postun):	gtk-update-icon-cache
 Requires:	%{name} = %{version}-%{release}
+Requires:	hicolor-icon-theme
 
 %description gui
 This package contains the Qt based GUI for CMake.
@@ -193,6 +196,14 @@ rm -rf $RPM_BUILD_ROOT
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post gui
+%update_desktop_database_post
+%update_icon_cache hicolor
+
+%postun gui
+%update_desktop_database_postun
+%update_icon_cache hicolor
+
 %files
 %defattr(644,root,root,755)
 %doc Copyright.txt README.rst *.gif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cmake.git/commitdiff/f81aa116d5a44905c252ea1d5d52b177957c0f71



More information about the pld-cvs-commit mailing list