[packages/mediainfo] update desktop database and icon cache
atler
atler at pld-linux.org
Sat Sep 16 03:13:19 CEST 2023
commit afb05e99a99245fa7c2e85e5116b896c5ca7fe3a
Author: Jan Palus <atler at pld-linux.org>
Date: Sat Sep 16 01:20:56 2023 +0200
update desktop database and icon cache
mediainfo.spec | 11 +++++++++++
1 file changed, 11 insertions(+)
---
diff --git a/mediainfo.spec b/mediainfo.spec
index 17e10b2..2fdf8da 100644
--- a/mediainfo.spec
+++ b/mediainfo.spec
@@ -78,6 +78,9 @@ Obsługiwane formaty/kontenery:
Summary: Supplies technical and tag information about a video or audio file (GUI)
Summary(pl.UTF-8): Informacje techniczne i znaczniki dla plików wideo i dźwiękowych (GUI)
Group: X11/Applications/Multimedia
+Requires(post,postun): desktop-file-utils
+Requires(post,postun): gtk-update-icon-cache
+Requires: hicolor-icon-theme
Requires: kde-common-dirs >= 0.5
Requires: libmediainfo >= %{version}
Requires: libzen >= 0.4.37
@@ -171,6 +174,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 License.html History_CLI.txt README.md Release/ReadMe_CLI_Linux.txt
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/mediainfo.git/commitdiff/afb05e99a99245fa7c2e85e5116b896c5ca7fe3a
More information about the pld-cvs-commit
mailing list