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
This commit is contained in:
parent
9587b75570
commit
bca6820f13
22
evince.spec
22
evince.spec
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Name: evince
|
Name: evince
|
||||||
Version: 3.38.0
|
Version: 3.38.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Document viewer
|
Summary: Document viewer
|
||||||
|
|
||||||
License: GPLv2+ and GPLv3+ and LGPLv2+ and MIT and Afmparse
|
License: GPLv2+ and GPLv3+ and LGPLv2+ and MIT and Afmparse
|
||||||
@ -51,6 +51,7 @@ BuildRequires: djvulibre-devel
|
|||||||
BuildRequires: pkgconfig(libgxps) >= %{gxps_version}
|
BuildRequires: pkgconfig(libgxps) >= %{gxps_version}
|
||||||
|
|
||||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
|
Requires: %{name}-thumbnailer%{?_isa} = %{version}-%{release}
|
||||||
Requires: glib2%{?_isa} >= %{glib2_version}
|
Requires: glib2%{?_isa} >= %{glib2_version}
|
||||||
Requires: gtk3%{?_isa} >= %{gtk3_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.
|
It adds an additional tab called "Document" to the file properties dialog.
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%package thumbnailer
|
||||||
|
Summary: Evince thumbnailer
|
||||||
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description thumbnailer
|
||||||
|
This package brings the Evince thumbnailer independently from Evince.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
@ -158,7 +166,8 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Evince-p
|
|||||||
%ldconfig_scriptlets libs
|
%ldconfig_scriptlets libs
|
||||||
|
|
||||||
%files -f evince.lang
|
%files -f evince.lang
|
||||||
%{_bindir}/*
|
%{_bindir}/evince
|
||||||
|
%{_bindir}/evince-previewer
|
||||||
%{_datadir}/%{name}/
|
%{_datadir}/%{name}/
|
||||||
%{_datadir}/applications/org.gnome.Evince.desktop
|
%{_datadir}/applications/org.gnome.Evince.desktop
|
||||||
%{_datadir}/applications/org.gnome.Evince-previewer.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}/glib-2.0/schemas/org.gnome.Evince.gschema.xml
|
||||||
%{_datadir}/GConf/gsettings/evince.convert
|
%{_datadir}/GConf/gsettings/evince.convert
|
||||||
%{_datadir}/metainfo/org.gnome.Evince.appdata.xml
|
%{_datadir}/metainfo/org.gnome.Evince.appdata.xml
|
||||||
%{_datadir}/thumbnailers/evince.thumbnailer
|
|
||||||
%if ! 0%{?flatpak}
|
%if ! 0%{?flatpak}
|
||||||
%{_userunitdir}/org.gnome.Evince.service
|
%{_userunitdir}/org.gnome.Evince.service
|
||||||
%endif
|
%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
|
%{_libdir}/nautilus/extensions-3.0/libevince-properties-page.so
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%files thumbnailer
|
||||||
|
%{_bindir}/evince-thumbnailer
|
||||||
|
%{_datadir}/thumbnailers/evince.thumbnailer
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sat Sep 12 2020 Kalev Lember <klember@redhat.com> - 3.38.0-1
|
||||||
- Update to 3.38.0
|
- Update to 3.38.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user