From 0a5a77b6d0af4e2c3392e152a8c5c7f9d6d6ff6b Mon Sep 17 00:00:00 2001 From: Felipe Borges Date: Tue, 10 Nov 2020 13:23:27 +0100 Subject: [PATCH] Split evince-thumbnailer into its own package This allows us to have thumbnails without having to install Evince. This is useful in Silverblue, where we install Evince through Flatpak. See https://github.com/fedora-silverblue/issue-tracker/issues/98 --- evince.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/evince.spec b/evince.spec index 6fe6353..c0057ca 100644 --- a/evince.spec +++ b/evince.spec @@ -51,6 +51,7 @@ BuildRequires: djvulibre-devel BuildRequires: pkgconfig(libgxps) >= %{gxps_version} Requires: %{name}-libs%{?_isa} = %{version}-%{release} +Requires: %{name}-thumbnailer%{?_isa} = %{version}-%{release} Requires: glib2%{?_isa} >= %{glib2_version} Requires: gtk3%{?_isa} >= %{gtk3_version} @@ -165,7 +166,8 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Evince-p %ldconfig_scriptlets libs %files -f evince.lang -%{_bindir}/* +%{_bindir}/evince +%{_bindir}/evince-previewer %{_datadir}/%{name}/ %{_datadir}/applications/org.gnome.Evince.desktop %{_datadir}/applications/org.gnome.Evince-previewer.desktop