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
This commit is contained in:
Ondrej Holy 2015-08-20 13:17:26 +02:00
parent 702568370f
commit bb9b145235

View File

@ -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 <oholy@redhat.com> - 1.25.90-3
- Add NFS backend
* Thu Aug 20 2015 Ondrej Holy <oholy@redhat.com> - 1.25.90-2
- Rely on file triggers for schemas and desktop files