[packages/ka6-kolourpaint] - update_desktop_database
witekfl
witekfl at pld-linux.org
Thu Apr 24 16:23:58 CEST 2025
commit cb676b749865fd65bc19fa8f44151c8aa0b5fe0f
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Thu Apr 24 15:48:23 2025 +0200
- update_desktop_database
ka6-kolourpaint.spec | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/ka6-kolourpaint.spec b/ka6-kolourpaint.spec
index 2a1c831..979ab0d 100644
--- a/ka6-kolourpaint.spec
+++ b/ka6-kolourpaint.spec
@@ -60,6 +60,7 @@ prostokątów, zaokrąglonych prostokątów, owali i wieloboków.
Summary: Data files for %{kaname}
Summary(pl.UTF-8): Dane dla %{kaname}
Group: X11/Applications
+Requires(post,postun): desktop-file-utils
Obsoletes: ka5-%{kaname}-data < %{version}
BuildArch: noarch
@@ -99,6 +100,12 @@ rm -rf $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
+%post data
+%update_desktop_database_post
+
+%postun data
+%update_desktop_database_postun
+
%files
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/kolourpaint
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ka6-kolourpaint.git/commitdiff/cb676b749865fd65bc19fa8f44151c8aa0b5fe0f
More information about the pld-cvs-commit
mailing list