2008-01-28 04:35:08 +01:00
#
2011-01-14 17:06:54 +01:00
# spec file for package gvfs
2008-01-28 04:35:08 +01:00
#
2011-01-14 17:06:54 +01:00
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
2008-01-28 04:35:08 +01:00
#
2008-08-14 01:32:58 +02:00
# 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.
2008-01-28 04:35:08 +01:00
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
2008-02-19 02:26:26 +01:00
2008-01-28 04:35:08 +01:00
Name : gvfs
2010-11-19 10:35:16 +01:00
Version : 1.6.6
2011-01-14 17:06:54 +01:00
Release : 3
2009-12-24 16:29:42 +01:00
License : LGPLv2.0+
2009-09-04 01:24:37 +02:00
Summary : VFS functionality for GLib
Url : http://www.gnome.org
Group : Development/Libraries/C and C++
Source0 : %{name} -%{version} .tar.bz2
2010-08-10 00:37:49 +02:00
Source99 : baselibs.conf
2009-09-04 01:24:37 +02:00
# PATCH-FEATURE-OPENSUSE gvfs-dice-backend.patch hpj@suse.de -- Implements Novell IceDesktop backend. Should be upstreamed eventually.
Patch1 : gvfs-dice-backend.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
2010-11-19 10:35:16 +01:00
# PATCH-FIX-UPSTREAM gvfs-glib-2.27.patch bgo#635252 vuntz@opensuse.org -- Fix build with recent glib
Patch7 : gvfs-glib-2.27.patch
2011-01-14 10:28:53 +01:00
# PATCH-FIX-UPSTREAM gvfs-dav-recursive-directory-ops.patch bnc#395225 bgo#551339 hpj@novell.com -- Make DAV recursive copy/move work, taken from http://gitorious.org/lanedo/gvfs/commits/dav_sync_io
2011-01-14 10:25:09 +01:00
Patch8 : gvfs-dav-recursive-directory-ops.patch
2008-10-27 16:55:29 +01:00
BuildRequires : bluez-devel
2009-02-07 01:53:10 +01:00
BuildRequires : dbus-1-glib-devel
2008-09-13 05:46:51 +02:00
BuildRequires : fuse-devel
BuildRequires : gconf2-devel
BuildRequires : glib2-devel
BuildRequires : intltool
BuildRequires : libarchive-devel
BuildRequires : libavahi-glib-devel
BuildRequires : libcdio-devel
BuildRequires : libexpat-devel
2009-12-29 19:03:36 +01:00
BuildRequires : libgnome-keyring-devel
2009-02-07 01:53:10 +01:00
BuildRequires : libgphoto2-devel
2010-07-21 15:29:23 +02:00
BuildRequires : libimobiledevice-devel
2009-09-04 01:24:35 +02:00
BuildRequires : libsmbclient-devel
BuildRequires : libsoup-devel
BuildRequires : pkg-config
BuildRequires : translation-update-upstream
2009-09-04 01:24:37 +02:00
%if %suse_version > 1110
BuildRequires : libgdu-devel
BuildRequires : libgudev-1_0-devel
%endif
2010-10-15 16:54:32 +02:00
Recommends: %{name} -lang
2008-03-21 02:56:41 +01:00
Requires : libgvfscommon0 = %{version}
2008-03-26 16:13:57 +01:00
Recommends: gvfs-backends
2008-03-21 02:56:41 +01:00
Recommends: gvfs-common
2008-03-26 16:13:57 +01:00
Recommends: gvfs-fuse
2009-09-04 01:24:37 +02:00
BuildRoot : %{_tmppath} /%{name} -%{version} -build
2010-08-10 00:37:49 +02:00
%glib2_gio_module_requires
2008-01-28 04:35:08 +01:00
%description
VFS functionality for GLib.
2008-03-21 02:56:41 +01:00
%package -n libgvfscommon0
2009-12-24 16:29:42 +01:00
License : LGPLv2.0+
2008-03-21 02:56:41 +01:00
Summary : VFS functionality for GLib
Group : Development/Libraries/C and C++
Requires : %{name} >= %{version}
%description -n libgvfscommon0
VFS functionality for GLib.
2010-07-21 15:29:23 +02:00
%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.
2008-03-21 02:56:41 +01:00
%package backends
2010-12-06 16:11:01 +01:00
License : LGPLv2.0+ ; GPLv3
2008-03-21 02:56:41 +01:00
Summary : VFS functionality for GLib
Group : Development/Libraries/C and C++
Requires : %{name} = %{version}
2010-07-21 15:29:23 +02:00
Recommends: gvfs-backend-afc
2008-09-08 16:38:24 +02:00
Recommends: obex-data-server
2008-03-21 02:56:41 +01:00
%description backends
VFS functionality for GLib.
%package fuse
2009-12-24 16:29:42 +01:00
License : LGPLv2.0+
2008-03-21 02:56:41 +01:00
Summary : VFS functionality for GLib
Group : System/Filesystems
Requires : %{name} = %{version}
Requires : fuse
%description fuse
VFS functionality for GLib.
2008-01-28 04:35:08 +01:00
%package devel
2009-12-24 16:29:42 +01:00
License : LGPLv2.0+
2008-01-28 04:35:08 +01:00
Summary : VFS functionality for GLib
Group : Development/Libraries/C and C++
Requires : %{name} = %{version}
%description devel
VFS functionality for GLib.
%lang_package
%prep
2009-09-04 01:24:37 +02:00
%setup -q
2009-03-11 18:43:48 +01:00
translation-update-upstream
2008-11-17 16:59:38 +01:00
%patch1 -p1
2009-01-19 02:22:12 +01:00
%patch5 -p1
2009-04-07 12:56:59 +02:00
%patch6 -p1
2010-11-19 10:35:16 +01:00
%patch7 -p1
2011-01-14 10:25:09 +01:00
%patch8 -p1
2008-01-28 04:35:08 +01:00
%build
2008-10-06 18:23:20 +02:00
autoreconf -f
libtoolize -c -f
2008-01-28 04:35:08 +01:00
%configure \
2010-02-11 19:44:12 +01:00
--libexecdir=%{_libexecdir} /%{name} \
2009-02-07 01:53:10 +01:00
--disable-static
2008-02-29 10:20:49 +01:00
%__make
2008-01-28 04:35:08 +01:00
%install
%makeinstall
2010-02-11 19:44:12 +01:00
%if 0%{?suse_version} <= 1120
%{__rm} %{buildroot} %{_datadir} /locale/en@shaw/LC_MESSAGES/*
%endif
2009-09-04 01:24:37 +02:00
rm %{buildroot} %{_libdir} /*.*a
rm %{buildroot} %{_libdir} /gio/modules/*.*a
2008-03-21 02:56:41 +01:00
# We can drop the chmod when bgo523420 is fixed.
2009-09-04 01:24:37 +02:00
chmod -x %{buildroot} %{_sysconfdir} /profile.d/*
2008-01-28 04:35:08 +01:00
%find_lang %{name}
2010-02-11 19:44:12 +01:00
%post
2010-08-10 00:37:49 +02:00
%glib2_gio_module_post
2010-02-11 19:44:12 +01:00
%postun
2010-08-10 00:37:49 +02:00
%glib2_gio_module_postun
2010-02-11 19:44:12 +01:00
2008-03-21 02:56:41 +01:00
%post -n libgvfscommon0 -p /sbin/ldconfig
2008-01-28 04:35:08 +01:00
2008-03-21 02:56:41 +01:00
%postun -n libgvfscommon0 -p /sbin/ldconfig
2008-01-28 04:35:08 +01:00
%clean
2009-09-04 01:24:37 +02:00
rm -rf %{buildroot}
2008-01-28 04:35:08 +01:00
%files
%defattr (-, root, root)
%doc AUTHORS NEWS README TODO
%{_bindir} /*
%{_datadir} /dbus-1/services/*.service
2009-12-24 16:29:42 +01:00
%dir %{_datadir} /%{name}
%dir %{_datadir} /%{name} /mounts
%dir %{_datadir} /%{name} /remote-volume-monitors
2008-04-09 21:54:10 +02:00
%{_libdir} /gio/modules/*.so
2010-02-11 19:44:12 +01:00
%dir %{_libexecdir} /%{name}
%{_libexecdir} /%{name} /gvfsd
2008-02-29 23:05:09 +01:00
%{_sysconfdir} /profile.d/*
2008-01-28 04:35:08 +01:00
2008-03-21 02:56:41 +01:00
%files fuse
%defattr (-, root, root)
2010-02-11 19:44:12 +01:00
%{_libexecdir} /%{name} /gvfs-fuse-daemon
2008-03-21 02:56:41 +01:00
2010-07-21 15:29:23 +02:00
%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
2008-03-21 02:56:41 +01:00
%files backends
%defattr (-, root, root)
2009-08-17 14:35:56 +02:00
%if %suse_version > 1110
2010-02-11 19:44:12 +01:00
%{_libexecdir} /%{name} /gvfs-gdu-volume-monitor
2009-12-24 16:29:42 +01:00
%{_datadir} /%{name} /remote-volume-monitors/gdu.monitor
2009-08-17 14:35:56 +02:00
%endif
2010-02-11 19:44:12 +01:00
%{_libexecdir} /%{name} /gvfs-gphoto2-volume-monitor
2009-12-24 16:29:42 +01:00
%{_datadir} /%{name} /remote-volume-monitors/gphoto2.monitor
2010-02-11 19:44:12 +01:00
%{_libexecdir} /%{name} /gvfsd-archive
2009-12-24 16:29:42 +01:00
%{_datadir} /%{name} /mounts/archive.mount
2010-02-11 19:44:12 +01:00
%{_libexecdir} /%{name} /gvfsd-burn
2009-12-24 16:29:42 +01:00
%{_datadir} /%{name} /mounts/burn.mount
2010-02-11 19:44:12 +01:00
%{_libexecdir} /%{name} /gvfsd-cdda
2009-12-24 16:29:42 +01:00
%{_datadir} /%{name} /mounts/cdda.mount
2010-02-11 19:44:12 +01:00
%{_libexecdir} /%{name} /gvfsd-computer
2009-12-24 16:29:42 +01:00
%{_datadir} /%{name} /mounts/computer.mount
2010-02-11 19:44:12 +01:00
%{_libexecdir} /%{name} /gvfsd-dav
2009-12-24 16:29:42 +01:00
%{_datadir} /%{name} /mounts/dav.mount
%{_datadir} /%{name} /mounts/dav+sd.mount
2010-02-11 19:44:12 +01:00
%{_libexecdir} /%{name} /gvfsd-dice
2009-12-24 16:29:42 +01:00
%{_datadir} /%{name} /mounts/dice.mount
2010-02-11 19:44:12 +01:00
%{_libexecdir} /%{name} /gvfsd-dnssd
2009-12-24 16:29:42 +01:00
%{_datadir} /%{name} /mounts/dns-sd.mount
2010-02-11 19:44:12 +01:00
%{_libexecdir} /%{name} /gvfsd-ftp
2009-12-24 16:29:42 +01:00
%{_datadir} /%{name} /mounts/ftp.mount
2010-02-11 19:44:12 +01:00
%{_libexecdir} /%{name} /gvfsd-gphoto2
2009-12-24 16:29:42 +01:00
%{_datadir} /%{name} /mounts/gphoto2.mount
2010-02-11 19:44:12 +01:00
%{_libexecdir} /%{name} /gvfsd-http
2009-12-24 16:29:42 +01:00
%{_datadir} /%{name} /mounts/http.mount
2010-02-11 19:44:12 +01:00
%{_libexecdir} /%{name} /gvfsd-localtest
2009-12-24 16:29:42 +01:00
%{_datadir} /%{name} /mounts/localtest.mount
2010-02-11 19:44:12 +01:00
%{_libexecdir} /%{name} /gvfsd-metadata
%{_libexecdir} /%{name} /gvfsd-nds
2009-12-24 16:29:42 +01:00
%{_datadir} /%{name} /mounts/nds.mount
2010-02-11 19:44:12 +01:00
%{_libexecdir} /%{name} /gvfsd-network
2009-12-24 16:29:42 +01:00
%{_datadir} /%{name} /mounts/network.mount
2010-02-11 19:44:12 +01:00
%{_libexecdir} /%{name} /gvfsd-nvvfs
2009-12-24 16:29:42 +01:00
%{_datadir} /%{name} /mounts/nvvfs.mount
2010-02-11 19:44:12 +01:00
%{_libexecdir} /%{name} /gvfsd-obexftp
2009-12-24 16:29:42 +01:00
%{_datadir} /%{name} /mounts/obexftp.mount
2010-02-11 19:44:12 +01:00
%{_libexecdir} /%{name} /gvfsd-sftp
2009-12-24 16:29:42 +01:00
%{_datadir} /%{name} /mounts/sftp.mount
2010-02-11 19:44:12 +01:00
%{_libexecdir} /%{name} /gvfsd-smb
2009-12-24 16:29:42 +01:00
%{_datadir} /%{name} /mounts/smb.mount
2010-02-11 19:44:12 +01:00
%{_libexecdir} /%{name} /gvfsd-smb-browse
2009-12-24 16:29:42 +01:00
%{_datadir} /%{name} /mounts/smb-browse.mount
2010-12-06 16:11:01 +01:00
# gvfsd-trash is GPLv3 because of trashlib.
2010-02-11 19:44:12 +01:00
%{_libexecdir} /%{name} /gvfsd-trash
2009-12-24 16:29:42 +01:00
%{_datadir} /%{name} /mounts/trash.mount
2008-03-21 02:56:41 +01:00
%files -n libgvfscommon0
%defattr (-, root, root)
%{_libdir} /*.so.*
2008-01-28 04:35:08 +01:00
%files devel
%defattr (-, root, root)
%{_includedir} /gvfs-client
%{_libdir} /*.so
%files lang -f %{name}.lang
%changelog