[packages/zathura-pdf-mupdf] add %update_desktop_database_post*
atler
atler at pld-linux.org
Mon Oct 22 00:43:31 CEST 2018
commit ebb6824aa9835f0c4190d9a2fe50276c6e599171
Author: Jan Palus <atler at pld-linux.org>
Date: Mon Oct 22 00:42:38 2018 +0200
add %update_desktop_database_post*
zathura-pdf-mupdf.spec | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/zathura-pdf-mupdf.spec b/zathura-pdf-mupdf.spec
index 6a86106..ca50193 100644
--- a/zathura-pdf-mupdf.spec
+++ b/zathura-pdf-mupdf.spec
@@ -15,20 +15,21 @@ BuildRequires: girara-devel >= 0.2.3
BuildRequires: glib2-devel >= 2.0
BuildRequires: gtk+3-devel >= 3.2
BuildRequires: meson >= 0.43
+BuildRequires: mupdf-devel >= 1.14
BuildRequires: ninja
BuildRequires: pkgconfig
-BuildRequires: mupdf-devel >= 1.14
BuildRequires: tar >= 1:1.22
BuildRequires: xz
BuildRequires: zathura-devel >= 0.3.9
+Requires(post,postun): desktop-file-utils
Requires: girara >= 0.2.3
Requires: mupdf >= 1.14
Requires: zathura >= 0.3.9
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-The zathura-pdf-mupdf plugin adds PDF support to zathura by using
-the mupdf rendering engine.
+The zathura-pdf-mupdf plugin adds PDF support to zathura by using the
+mupdf rendering engine.
%description -l pl.UTF-8
Wtyczka zathura-pdf-mupdf dodaje do zathury obsługę PDF z
@@ -50,6 +51,12 @@ rm -rf $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
+%post
+%update_desktop_database_post
+
+%postun
+%update_desktop_database_postun
+
%files
%defattr(644,root,root,755)
%doc AUTHORS LICENSE README
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/zathura-pdf-mupdf.git/commitdiff/ebb6824aa9835f0c4190d9a2fe50276c6e599171
More information about the pld-cvs-commit
mailing list