Split evince-previewer into its own package
evince-previewer is used by the GTK printing dialog to preview documents before printing. When Evince is distributed as a Flatpak (for example in Silverblue), GTK can't find the previewer at %{_bindir}/evince-previewer See https://github.com/fedora-silverblue/issue-tracker/issues/122
This commit is contained in:
parent
09587b919f
commit
c0c516bba9
19
evince.spec
19
evince.spec
@ -4,7 +4,7 @@
|
||||
|
||||
Name: evince
|
||||
Version: 40.1
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Document viewer
|
||||
|
||||
License: GPLv2+ and GPLv3+ and LGPLv2+ and MIT and Afmparse
|
||||
@ -51,6 +51,7 @@ BuildRequires: pkgconfig(libgxps)
|
||||
|
||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-thumbnailer%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-previewer%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description
|
||||
Evince is simple multi-page document viewer. It can display and print
|
||||
@ -118,6 +119,14 @@ Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||
%description thumbnailer
|
||||
This package brings the Evince thumbnailer independently from Evince.
|
||||
|
||||
%package previewer
|
||||
Summary: Evince previewer
|
||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description previewer
|
||||
This package brings the Evince previewer independently from Evince.
|
||||
It provides the printing preview for the GTK printing dialog.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
@ -246,7 +255,15 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Evince-p
|
||||
%{_datadir}/thumbnailers/evince.thumbnailer
|
||||
%{_mandir}/man1/evince-thumbnailer.1*
|
||||
|
||||
%files previewer
|
||||
%{_bindir}/evince-previewer
|
||||
%{_mandir}/man1/evince-previewer.1*
|
||||
|
||||
%changelog
|
||||
* Tue May 04 2021 Felipe Borges <feborges@redhat.com> - 40.1-2
|
||||
- Split evince-previewer into its own package
|
||||
- See https://github.com/fedora-silverblue/issue-tracker/issues/122
|
||||
|
||||
* Fri Mar 26 2021 Kalev Lember <klember@redhat.com> - 40.1-1
|
||||
- Update to 40.1
|
||||
- Remove various minimum version requires
|
||||
|
Loading…
Reference in New Issue
Block a user