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 Name: evince
Version: 43~alpha Version: 43~alpha
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
@ -44,8 +44,10 @@ BuildRequires: libappstream-glib-devel
BuildRequires: meson BuildRequires: meson
%if ! 0%{?flatpak} %if ! 0%{?flatpak}
BuildRequires: pkgconfig(synctex) BuildRequires: pkgconfig(synctex)
%if 0
# for the nautilus properties page # for the nautilus properties page
BuildRequires: pkgconfig(libnautilus-extension) BuildRequires: pkgconfig(libnautilus-extension)
%endif
# for the dvi backend # for the dvi backend
BuildRequires: texlive-lib-devel BuildRequires: texlive-lib-devel
%endif %endif
@ -111,6 +113,7 @@ This package contains a backend to let evince display djvu files.
%endif %endif
%if ! 0%{?flatpak} %if ! 0%{?flatpak}
%if 0
%package nautilus %package nautilus
Summary: Evince extension for nautilus Summary: Evince extension for nautilus
Requires: %{name}-libs%{?_isa} = %{version}-%{release} Requires: %{name}-libs%{?_isa} = %{version}-%{release}
@ -120,6 +123,7 @@ Requires: nautilus%{?_isa}
This package contains the evince extension for the nautilus file manager. 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
%endif
%package thumbnailer %package thumbnailer
Summary: Evince thumbnailer Summary: Evince thumbnailer
@ -157,8 +161,8 @@ It provides the printing preview for the GTK printing dialog.
-Dxps=enabled \ -Dxps=enabled \
%if 0%{?flatpak} %if 0%{?flatpak}
-Dsystemduserunitdir=no \ -Dsystemduserunitdir=no \
-Dnautilus=false \
%endif %endif
-Dnautilus=false \
-Dps=enabled -Dps=enabled
%meson_build %meson_build
@ -254,9 +258,11 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Evince-p
%endif %endif
%if ! 0%{?flatpak} %if ! 0%{?flatpak}
%if 0
%files nautilus %files nautilus
%{_libdir}/nautilus/extensions-3.0/libevince-properties-page.so %{_libdir}/nautilus/extensions-3.0/libevince-properties-page.so
%endif %endif
%endif
%files thumbnailer %files thumbnailer
%{_bindir}/evince-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* %{_mandir}/man1/evince-previewer.1*
%changelog %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 * Mon Jul 18 2022 Kalev Lember <klember@redhat.com> - 43~alpha-1
- Update to 43.alpha - Update to 43.alpha