# # spec file for package gvfs (Version 1.6.2) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: gvfs Version: 1.6.2 Release: 1 License: LGPLv2.0+ Summary: VFS functionality for GLib Url: http://www.gnome.org Group: Development/Libraries/C and C++ Source0: %{name}-%{version}.tar.bz2 Source99: baselibs.conf # PATCH-FEATURE-OPENSUSE gvfs-dice-backend.patch hpj@suse.de -- Implements Novell IceDesktop backend. Should be upstreamed eventually. Patch1: gvfs-dice-backend.patch # PATCH-FIX-UPSTREAM gvfs-429959-handle-blank-schemas.patch bnc429959 hpj@suse.de -- Fix URI handler lookup with blank schemas. Patch4: gvfs-429959-handle-blank-schemas.patch # PATCH-FEATURE-OPENSUSE gvfs-nvvfs.patch ksamrat@novell.com -- Provides gvfs backend for novell nautilus plugin Patch5: gvfs-nvvfs.patch # PATCH-FEATURE-OPENSUSE gvfs-nds.patch ksamrat@novell.com -- Provides NDS browsing for nautilus Patch6: gvfs-nds.patch BuildRequires: bluez-devel BuildRequires: dbus-1-glib-devel BuildRequires: fuse-devel BuildRequires: gconf2-devel BuildRequires: glib2-devel BuildRequires: intltool BuildRequires: libarchive-devel BuildRequires: libavahi-glib-devel BuildRequires: libcdio-devel BuildRequires: libexpat-devel BuildRequires: libgnome-keyring-devel BuildRequires: libgphoto2-devel BuildRequires: libimobiledevice-devel BuildRequires: libsmbclient-devel BuildRequires: libsoup-devel BuildRequires: pkg-config BuildRequires: translation-update-upstream %if %suse_version > 1110 BuildRequires: libgdu-devel BuildRequires: libgudev-1_0-devel %endif Requires: %{name}-lang = %{version} Requires: libgvfscommon0 = %{version} Recommends: gvfs-backends Recommends: gvfs-common Recommends: gvfs-fuse BuildRoot: %{_tmppath}/%{name}-%{version}-build %glib2_gio_module_requires %description VFS functionality for GLib. %package -n libgvfscommon0 License: LGPLv2.0+ Summary: VFS functionality for GLib Group: Development/Libraries/C and C++ Requires: %{name} >= %{version} %description -n libgvfscommon0 VFS functionality for GLib. %package backend-afc License: LGPLv2.0+ Summary: VFS functionality for GLib -- iPod / iPhone Support Group: Development/Libraries/C and C++ Requires: %{name} = %{version} %description backend-afc This package provides a gvfs backend that supports iPod / iPhone devices. %package backends License: LGPLv2.0+ Summary: VFS functionality for GLib Group: Development/Libraries/C and C++ Requires: %{name} = %{version} Recommends: gvfs-backend-afc Recommends: obex-data-server %description backends VFS functionality for GLib. %package fuse License: LGPLv2.0+ Summary: VFS functionality for GLib Group: System/Filesystems Requires: %{name} = %{version} Requires: fuse %description fuse VFS functionality for GLib. %package devel License: LGPLv2.0+ Summary: VFS functionality for GLib Group: Development/Libraries/C and C++ Requires: %{name} = %{version} %description devel VFS functionality for GLib. %lang_package %prep %setup -q translation-update-upstream %patch1 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %build autoreconf -f libtoolize -c -f %configure \ --libexecdir=%{_libexecdir}/%{name} \ --disable-static %__make %install %makeinstall %if 0%{?suse_version} <= 1120 %{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/* %endif rm %{buildroot}%{_libdir}/*.*a rm %{buildroot}%{_libdir}/gio/modules/*.*a # We can drop the chmod when bgo523420 is fixed. chmod -x %{buildroot}%{_sysconfdir}/profile.d/* %find_lang %{name} %post %glib2_gio_module_post %postun %glib2_gio_module_postun %post -n libgvfscommon0 -p /sbin/ldconfig %postun -n libgvfscommon0 -p /sbin/ldconfig %clean rm -rf %{buildroot} %files %defattr(-, root, root) %doc AUTHORS NEWS README TODO %{_bindir}/* %{_datadir}/dbus-1/services/*.service %dir %{_datadir}/%{name} %dir %{_datadir}/%{name}/mounts %dir %{_datadir}/%{name}/remote-volume-monitors %{_libdir}/gio/modules/*.so %dir %{_libexecdir}/%{name} %{_libexecdir}/%{name}/gvfsd %{_sysconfdir}/profile.d/* %files fuse %defattr(-, root, root) %{_libexecdir}/%{name}/gvfs-fuse-daemon %files backend-afc %defattr(-, root, root) %{_libexecdir}/%{name}/gvfs-afc-volume-monitor %{_datadir}/%{name}/remote-volume-monitors/afc.monitor %{_libexecdir}/%{name}/gvfsd-afc %{_datadir}/%{name}/mounts/afc.mount %files backends %defattr(-, root, root) %if %suse_version > 1110 %{_libexecdir}/%{name}/gvfs-gdu-volume-monitor %{_datadir}/%{name}/remote-volume-monitors/gdu.monitor %endif %{_libexecdir}/%{name}/gvfs-gphoto2-volume-monitor %{_datadir}/%{name}/remote-volume-monitors/gphoto2.monitor %{_libexecdir}/%{name}/gvfsd-archive %{_datadir}/%{name}/mounts/archive.mount %{_libexecdir}/%{name}/gvfsd-burn %{_datadir}/%{name}/mounts/burn.mount %{_libexecdir}/%{name}/gvfsd-cdda %{_datadir}/%{name}/mounts/cdda.mount %{_libexecdir}/%{name}/gvfsd-computer %{_datadir}/%{name}/mounts/computer.mount %{_libexecdir}/%{name}/gvfsd-dav %{_datadir}/%{name}/mounts/dav.mount %{_datadir}/%{name}/mounts/dav+sd.mount %{_libexecdir}/%{name}/gvfsd-dice %{_datadir}/%{name}/mounts/dice.mount %{_libexecdir}/%{name}/gvfsd-dnssd %{_datadir}/%{name}/mounts/dns-sd.mount %{_libexecdir}/%{name}/gvfsd-ftp %{_datadir}/%{name}/mounts/ftp.mount %{_libexecdir}/%{name}/gvfsd-gphoto2 %{_datadir}/%{name}/mounts/gphoto2.mount %{_libexecdir}/%{name}/gvfsd-http %{_datadir}/%{name}/mounts/http.mount %{_libexecdir}/%{name}/gvfsd-localtest %{_datadir}/%{name}/mounts/localtest.mount %{_libexecdir}/%{name}/gvfsd-metadata %{_libexecdir}/%{name}/gvfsd-nds %{_datadir}/%{name}/mounts/nds.mount %{_libexecdir}/%{name}/gvfsd-network %{_datadir}/%{name}/mounts/network.mount %{_libexecdir}/%{name}/gvfsd-nvvfs %{_datadir}/%{name}/mounts/nvvfs.mount %{_libexecdir}/%{name}/gvfsd-obexftp %{_datadir}/%{name}/mounts/obexftp.mount %{_libexecdir}/%{name}/gvfsd-sftp %{_datadir}/%{name}/mounts/sftp.mount %{_libexecdir}/%{name}/gvfsd-smb %{_datadir}/%{name}/mounts/smb.mount %{_libexecdir}/%{name}/gvfsd-smb-browse %{_datadir}/%{name}/mounts/smb-browse.mount %{_libexecdir}/%{name}/gvfsd-trash %{_datadir}/%{name}/mounts/trash.mount %files -n libgvfscommon0 %defattr(-, root, root) %{_libdir}/*.so.* %files devel %defattr(-, root, root) %{_includedir}/gvfs-client %{_libdir}/*.so %files lang -f %{name}.lang %changelog