2008-01-28 04:35:08 +01:00
|
|
|
#
|
2011-03-14 21:50:51 +01:00
|
|
|
# spec file for package gvfs
|
2008-01-28 04:35:08 +01:00
|
|
|
#
|
2011-03-14 21:50:51 +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
|
2011-08-17 23:09:21 +02:00
|
|
|
Version: 1.9.3
|
2011-04-21 17:25:25 +02:00
|
|
|
Release: 1
|
2011-05-26 23:07:01 +02:00
|
|
|
# FIXME: add libbluray BuildRequires once available (fate#312440)
|
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++
|
2011-07-29 08:54:33 +02:00
|
|
|
Source0: http://download.gnome.org/sources/gvfs/1.9/%{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-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
|
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
|
2011-08-17 23:09:21 +02:00
|
|
|
BuildRequires: glib2-devel >= 2.29.14
|
2008-09-13 05:46:51 +02:00
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: libarchive-devel
|
|
|
|
BuildRequires: libavahi-glib-devel
|
|
|
|
BuildRequires: libcdio-devel
|
|
|
|
BuildRequires: libexpat-devel
|
2011-04-21 17:25:25 +02:00
|
|
|
BuildRequires: libgdu-devel
|
2009-12-29 19:03:36 +01:00
|
|
|
BuildRequires: libgnome-keyring-devel
|
2009-02-07 01:53:10 +01:00
|
|
|
BuildRequires: libgphoto2-devel
|
2011-04-21 17:25:25 +02:00
|
|
|
BuildRequires: libgudev-1_0-devel
|
2011-04-27 15:47:48 +02:00
|
|
|
BuildRequires: libimobiledevice-devel >= 1.1.0
|
2009-09-04 01:24:35 +02:00
|
|
|
BuildRequires: libsmbclient-devel
|
|
|
|
BuildRequires: libsoup-devel
|
|
|
|
BuildRequires: pkg-config
|
|
|
|
BuildRequires: translation-update-upstream
|
2008-03-21 02:56:41 +01:00
|
|
|
Requires: libgvfscommon0 = %{version}
|
2011-04-21 17:25:25 +02:00
|
|
|
Recommends: %{name}-lang
|
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
|
2011-04-21 17:25:25 +02:00
|
|
|
%glib2_gsettings_schema_requires
|
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
|
2009-01-19 02:22:12 +01:00
|
|
|
%patch5 -p1
|
2009-04-07 12:56:59 +02:00
|
|
|
%patch6 -p1
|
2008-10-06 18:23:20 +02:00
|
|
|
autoreconf -f
|
|
|
|
libtoolize -c -f
|
2011-04-21 17:25:25 +02:00
|
|
|
|
|
|
|
%build
|
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
|
|
|
|
2011-04-21 17:25:25 +02:00
|
|
|
%post backends
|
|
|
|
%glib2_gsettings_schema_post
|
|
|
|
|
|
|
|
%postun backends
|
|
|
|
%glib2_gsettings_schema_postun
|
|
|
|
|
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}/*
|
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
|
2011-03-14 21:50:51 +01:00
|
|
|
%{_datadir}/dbus-1/services/gvfs-daemon.service
|
|
|
|
%{_libexecdir}/%{name}/gvfsd-metadata
|
|
|
|
%{_datadir}/dbus-1/services/gvfs-metadata.service
|
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
|
2011-03-14 21:50:51 +01:00
|
|
|
%{_datadir}/dbus-1/services/org.gtk.Private.AfcVolumeMonitor.service
|
2010-07-21 15:29:23 +02:00
|
|
|
%{_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)
|
2011-06-06 12:53:20 +02:00
|
|
|
%if 0%{suse_version} > 1110
|
2010-02-11 19:44:12 +01:00
|
|
|
%{_libexecdir}/%{name}/gvfs-gdu-volume-monitor
|
2011-03-14 21:50:51 +01:00
|
|
|
%{_datadir}/dbus-1/services/org.gtk.Private.GduVolumeMonitor.service
|
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
|
2011-03-14 21:50:51 +01:00
|
|
|
%{_datadir}/dbus-1/services/org.gtk.Private.GPhoto2VolumeMonitor.service
|
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-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-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
|
2011-04-21 17:25:25 +02:00
|
|
|
# GSettings schemas & conversion data
|
|
|
|
# Those schemas are used by gvfsd-network & gvfsd-smb
|
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.system.dns_sd.gschema.xml
|
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.system.gvfs.enums.xml
|
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.system.smb.gschema.xml
|
|
|
|
%dir %{_datadir}/GConf
|
|
|
|
%dir %{_datadir}/GConf/gsettings
|
|
|
|
%{_datadir}/GConf/gsettings/gvfs-dns-sd.convert
|
|
|
|
%{_datadir}/GConf/gsettings/gvfs-smb.convert
|
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
|