Commit 2c8ba1bb authored by Alexander Larsson's avatar Alexander Larsson
Browse files

Add gvfs

parent 0c4048ff
......@@ -40,7 +40,7 @@ PACKAGES = \
hicolor-icon-theme libcroco vala librsvg2 adwaita-icon-theme \
gnome-sdk gnome-platform dejavu-fonts abattis-cantarell-fonts \
gtk2 gnome-themes-standard libproxy gsettings-desktop-schemas glib-networking libsoup \
dconf \
dconf gvfs \
diff --git a/monitor/proxy/gproxyvolumemonitor.c b/monitor/proxy/gproxyvolumemonitor.c
index 7f05b39..c520cf9 100644
--- a/monitor/proxy/gproxyvolumemonitor.c
+++ b/monitor/proxy/gproxyvolumemonitor.c
@@ -1164,8 +1164,6 @@ is_remote_monitor_supported (const char *dbus_name)
- g_printerr ("invoking IsSupported() failed for remote volume monitor with dbus name %s:: %s (%s, %d)\n",
- dbus_name, error->message, g_quark_to_string (error->domain), error->code);
g_error_free (error);
goto out;
......@@ -7,6 +7,8 @@ License: Various
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch
BuildRequires: gnome-sdk
Requires: gnome-platform-base
Requires: gtk2 gtk2-immodules
Requires: gtk3 gtk3-immodules
......@@ -22,6 +24,7 @@ Requires: gobject-introspection
Requires: gtk2 gnome-themes-standard
Requires: dconf libsoup
Requires: gsettings-desktop-schemas
Requires: gvfs
......@@ -20,9 +20,11 @@ BuildRequires: librsvg2
BuildRequires: dbus-glib
BuildRequires: gobject-introspection
BuildRequires: libsoup
BuildRequires: gvfs
Requires: gtk2-devel gtk2-immodules
Requires: gtk3-devel gtk3-immodules
Requires: gvfs-devel
Requires: librsvg2-devel
Requires: hicolor-icon-theme
Requires: adwaita-icon-theme-devel
Summary: Backends for the gio framework in GLib
Name: gvfs
Version: 1.22.2
Release: 1%{?dist}
License: GPLv3 and LGPLv2+ and BSD and MPLv1.1
Group: System Environment/Libraries
BuildRequires: gnome-sdk-base
BuildRequires: glib2-devel
BuildRequires: dbus-glib-devel
# Remove warnings from failed remote monitors that don't
# actually exist on the host
Patch0: %{name}-remote-monitor-remove-warning.patch
# for post-install update-gio-modules and overall functionality
Requires: glib2%{?_isa}
The gvfs package provides backend implementations for the gio
framework in GLib. It includes ftp, sftp, cifs.
%package devel
Summary: Development files for gvfs
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
The gvfs-devel package contains headers and other files that are
required to develop applications using gvfs.
%setup -q
%patch0 -p1 -b .remote-monitor-remove-warning
%configure \
--disable-hal \
--disable-gdu \
--disable-obexftp \
--disable-avahi \
make %{?_smp_mflags} V=1
# Copy *all* the monitors in case they are supported on the host
# This is a bit iffy, this info should come from the daemon
mkdir -p $RPM_BUILD_ROOT%{_datadir}/gvfs/remote-volume-monitors
cp -p monitor/*/*.monitor $RPM_BUILD_ROOT%{_datadir}/gvfs/remote-volume-monitors/
rm $RPM_BUILD_ROOT%{_libdir}/gvfs/*.la
rm $RPM_BUILD_ROOT%{_libdir}/gio/modules/*.la
# Remove daemon side stuff
rm $RPM_BUILD_ROOT%{_libdir}/gvfs/libgvfsdaemon.*
rm $RPM_BUILD_ROOT%{_libexecdir}/gvfsd*
rm $RPM_BUILD_ROOT%{_datadir}/dbus-1/services/*
rm -rf $RPM_BUILD_ROOT%{_datadir}/gvfs/mounts
rm -rf $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas
# trashlib is GPLv3, include the license
cp -p daemon/trashlib/COPYING COPYING.GPL3
%find_lang gvfs
gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules &> /dev/null || :
gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules &> /dev/null || :
%files -f gvfs.lang
%dir %{_datadir}/gvfs
%dir %{_datadir}/bash-completion
%dir %{_datadir}/bash-completion/completions
%files devel
%dir %{_includedir}/gvfs-client
%dir %{_includedir}/gvfs-client/gvfs
* Tue Nov 25 2014 Alexander Larsson <> - 1.22.2-1
- Initial version
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment