Disable nautilus extension as it's not ported to gtk4-based nautilus

This commit is contained in:
Kalev Lember 2022-07-18 14:07:03 +02:00
parent 1197df3503
commit 7b5508e4ce

View File

@ -9,7 +9,7 @@
Name: evince
Version: 43~alpha
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Document viewer
License: GPLv2+ and GPLv3+ and LGPLv2+ and MIT and Afmparse
@ -44,8 +44,10 @@ BuildRequires: libappstream-glib-devel
BuildRequires: meson
%if ! 0%{?flatpak}
BuildRequires: pkgconfig(synctex)
%if 0
# for the nautilus properties page
BuildRequires: pkgconfig(libnautilus-extension)
%endif
# for the dvi backend
BuildRequires: texlive-lib-devel
%endif
@ -111,6 +113,7 @@ This package contains a backend to let evince display djvu files.
%endif
%if ! 0%{?flatpak}
%if 0
%package nautilus
Summary: Evince extension for nautilus
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
@ -120,6 +123,7 @@ Requires: nautilus%{?_isa}
This package contains the evince extension for the nautilus file manager.
It adds an additional tab called "Document" to the file properties dialog.
%endif
%endif
%package thumbnailer
Summary: Evince thumbnailer
@ -157,8 +161,8 @@ It provides the printing preview for the GTK printing dialog.
-Dxps=enabled \
%if 0%{?flatpak}
-Dsystemduserunitdir=no \
-Dnautilus=false \
%endif
-Dnautilus=false \
-Dps=enabled
%meson_build
@ -254,9 +258,11 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Evince-p
%endif
%if ! 0%{?flatpak}
%if 0
%files nautilus
%{_libdir}/nautilus/extensions-3.0/libevince-properties-page.so
%endif
%endif
%files thumbnailer
%{_bindir}/evince-thumbnailer
@ -268,6 +274,9 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Evince-p
%{_mandir}/man1/evince-previewer.1*
%changelog
* Mon Jul 18 2022 Kalev Lember <klember@redhat.com> - 43~alpha-2
- Disable nautilus extension as it's not ported to gtk4-based nautilus
* Mon Jul 18 2022 Kalev Lember <klember@redhat.com> - 43~alpha-1
- Update to 43.alpha