Compare commits

...

2 Commits

Author SHA1 Message Date
Felipe Borges
0a5a77b6d0 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
2020-11-10 14:44:48 +00:00
Felipe Borges
66899c9462 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
2020-11-10 13:23:27 +01:00

View File

@ -6,7 +6,7 @@
Name: evince
Version: 3.38.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Document viewer
License: GPLv2+ and GPLv3+ and LGPLv2+ and MIT and Afmparse
@ -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}
@ -116,6 +117,13 @@ This package contains the evince extension for the nautilus file manager.
It adds an additional tab called "Document" to the file properties dialog.
%endif
%package thumbnailer
Summary: Evince thumbnailer
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description thumbnailer
This package brings the Evince thumbnailer independently from Evince.
%prep
%autosetup -p1
@ -158,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
@ -170,7 +179,6 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Evince-p
%{_datadir}/glib-2.0/schemas/org.gnome.Evince.gschema.xml
%{_datadir}/GConf/gsettings/evince.convert
%{_datadir}/metainfo/org.gnome.Evince.appdata.xml
%{_datadir}/thumbnailers/evince.thumbnailer
%if ! 0%{?flatpak}
%{_userunitdir}/org.gnome.Evince.service
%endif
@ -240,7 +248,15 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Evince-p
%{_libdir}/nautilus/extensions-3.0/libevince-properties-page.so
%endif
%files thumbnailer
%{_bindir}/evince-thumbnailer
%{_datadir}/thumbnailers/evince.thumbnailer
%changelog
* Tue Nov 10 2020 Felipe Borges <feborges@redhat.com> - 3.38.0-2
- Split evince-thumbnailer into its own package
- See https://github.com/fedora-silverblue/issue-tracker/issues/98
* Sat Sep 12 2020 Kalev Lember <klember@redhat.com> - 3.38.0-1
- Update to 3.38.0