[packages/ka6-kimagemapeditor] - update_desktop_database

witekfl witekfl at pld-linux.org
Thu Apr 24 16:46:08 CEST 2025


commit 7693d04ee6dba5c6bc73a56556abbcd00097ae97
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Thu Apr 24 16:12:34 2025 +0200

    - update_desktop_database

 ka6-kimagemapeditor.spec | 8 ++++++++
 1 file changed, 8 insertions(+)
---
diff --git a/ka6-kimagemapeditor.spec b/ka6-kimagemapeditor.spec
index 6e732ed..202bb57 100644
--- a/ka6-kimagemapeditor.spec
+++ b/ka6-kimagemapeditor.spec
@@ -36,6 +36,7 @@ BuildRequires:	qt6-build >= %{qtver}
 BuildRequires:	rpmbuild(macros) >= 1.736
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xz
+Requires(post,postun):	desktop-file-utils
 Obsoletes:	ka5-%{kaname} < %{version}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -73,6 +74,13 @@ rm -rf $RPM_BUILD_ROOT%{_kdedocdir}/{sr,zh_CN}
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%update_desktop_database_post
+
+%postun
+%update_desktop_database_postun
+
+
 %files -f %{kaname}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS INSTALL NEWS README TODO
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ka6-kimagemapeditor.git/commitdiff/7693d04ee6dba5c6bc73a56556abbcd00097ae97



More information about the pld-cvs-commit mailing list