[packages/xboard] - update icon_cache and mime_database
qboosh
qboosh at pld-linux.org
Fri Sep 2 21:29:45 CEST 2016
commit dcd76ea3fb4bfe5cfa38f766d0ec2ac96371f26c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Sep 2 21:31:09 2016 +0200
- update icon_cache and mime_database
xboard.spec | 8 ++++++++
1 file changed, 8 insertions(+)
---
diff --git a/xboard.spec b/xboard.spec
index 8da88f9..9689381 100644
--- a/xboard.spec
+++ b/xboard.spec
@@ -24,7 +24,11 @@ BuildRequires: librsvg-devel >= 2.14.0
BuildRequires: pango-devel
BuildRequires: perl-base
BuildRequires: pkgconfig
+BuildRequires: rpmbuild(macros) >= 1.596
BuildRequires: texinfo
+Requires(post,postun): gtk-update-icon-cache
+Requires: hicolor-icon-theme
+Requires: shared-mime-info
Suggests: crafty
# TODO: package (now it's default program)
#Suggests: fairymax
@@ -114,9 +118,13 @@ rm -rf $RPM_BUILD_ROOT
%post -p /sbin/postshell
-/usr/sbin/fix-info-dir -c %{_infodir}
+%update_icon_cache hicolor
+%update_mime_database
%postun -p /sbin/postshell
-/usr/sbin/fix-info-dir -c %{_infodir}
+%update_icon_cache hicolor
+%update_mime_database
%files -f %{name}.lang
%defattr(644,root,root,755)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/xboard.git/commitdiff/dcd76ea3fb4bfe5cfa38f766d0ec2ac96371f26c
More information about the pld-cvs-commit
mailing list