From bb9b14523515dc7712b1c0cc6c7d705399d1e56a Mon Sep 17 00:00:00 2001 From: Ondrej Holy Date: Thu, 20 Aug 2015 13:17:26 +0200 Subject: [PATCH] Add NFS backend We can finally add NFS backend thanks to libnfs has been added into Fedora rawhide recently. https://bugzilla.redhat.com/show_bug.cgi?id=1197505 https://bugzilla.gnome.org/show_bug.cgi?id=738967 --- gvfs.spec | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/gvfs.spec b/gvfs.spec index b7c8d52..985f7bf 100644 --- a/gvfs.spec +++ b/gvfs.spec @@ -3,7 +3,7 @@ Summary: Backends for the gio framework in GLib Name: gvfs Version: 1.25.90 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv3 and LGPLv2+ and BSD and MPLv2.0 URL: http://www.gtk.org @@ -150,6 +150,16 @@ This package provides support for reading and writing files on MTP based devices (Media Transfer Protocol) to applications using gvfs. +%package nfs +Summary: NFS support for gvfs +Requires: %{name}%{?_isa} = %{version}-%{release} +BuildRequires: libnfs-devel >= 1.9.7 + +%description nfs +This package provides support for reading and writing files on +NFS network shares (Network File System) to applications using gvfs. + + %package goa Summary: GOA support for gvfs Requires: %{name}%{?_isa} = %{version}-%{release} @@ -220,6 +230,8 @@ killall -USR1 gvfsd >&/dev/null || : %post archive killall -USR1 gvfsd >&/dev/null || : +%post nfs +killall -USR1 gvfsd >&/dev/null || : %files @@ -334,6 +346,12 @@ killall -USR1 gvfsd >&/dev/null || : %{_datadir}/dbus-1/services/org.gtk.Private.MTPVolumeMonitor.service %{_datadir}/gvfs/remote-volume-monitors/mtp.monitor +%files nfs +%{_libexecdir}/gvfsd-nfs +# for privileged ports +%caps(cap_net_bind_service=ep) %{_libexecdir}/gvfsd-nfs +%{_datadir}/gvfs/mounts/nfs.mount + %files goa %{_libexecdir}/gvfs-goa-volume-monitor %{_datadir}/dbus-1/services/org.gtk.Private.GoaVolumeMonitor.service @@ -345,6 +363,9 @@ killall -USR1 gvfsd >&/dev/null || : %{_datadir}/installed-tests %changelog +* Thu Aug 20 2015 Ondrej Holy - 1.25.90-3 +- Add NFS backend + * Thu Aug 20 2015 Ondrej Holy - 1.25.90-2 - Rely on file triggers for schemas and desktop files