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
|
|
|
#
|
2012-01-18 20:56:10 +01:00
|
|
|
# Copyright (c) 2012 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/
|
|
|
|
#
|
|
|
|
|
2012-01-18 20:56:10 +01:00
|
|
|
|
2012-03-28 11:43:08 +02:00
|
|
|
%define with_udisks2 1
|
2012-08-07 14:27:55 +02:00
|
|
|
%define with_cdda 1
|
2012-02-08 11:57:18 +01:00
|
|
|
|
2008-01-28 04:35:08 +01:00
|
|
|
Name: gvfs
|
2012-09-07 19:06:37 +02:00
|
|
|
Version: 1.13.8
|
2011-12-21 05:32:04 +01:00
|
|
|
Release: 0
|
2009-09-04 01:24:37 +02:00
|
|
|
Summary: VFS functionality for GLib
|
2011-12-21 05:32:04 +01:00
|
|
|
License: LGPL-2.0+
|
2009-09-04 01:24:37 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2011-12-21 05:32:04 +01:00
|
|
|
Url: http://www.gnome.org
|
2012-09-07 19:06:37 +02:00
|
|
|
Source0: http://download.gnome.org/sources/gvfs/1.13/%{name}-%{version}.tar.xz
|
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
|
2012-09-07 19:06:37 +02:00
|
|
|
BuildRequires: docbook-xsl-stylesheets
|
2008-09-13 05:46:51 +02:00
|
|
|
BuildRequires: fuse-devel
|
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: libarchive-devel
|
|
|
|
BuildRequires: libavahi-glib-devel
|
2012-05-25 11:27:42 +02:00
|
|
|
%if %{with_cdda}
|
2012-08-07 14:27:55 +02:00
|
|
|
BuildRequires: pkgconfig(libcdio_paranoia) >= 0.78.2
|
2012-05-25 11:27:42 +02:00
|
|
|
%endif
|
2008-09-13 05:46:51 +02:00
|
|
|
BuildRequires: libexpat-devel
|
2011-09-02 02:10:13 +02:00
|
|
|
BuildRequires: libgcrypt-devel
|
2012-02-08 11:57:18 +01:00
|
|
|
%if !%{with_udisks2}
|
2011-04-21 17:25:25 +02:00
|
|
|
BuildRequires: libgdu-devel
|
2012-02-08 11:57:18 +01:00
|
|
|
%endif
|
2009-02-07 01:53:10 +01:00
|
|
|
BuildRequires: libgphoto2-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
|
2011-10-15 08:14:00 +02:00
|
|
|
BuildRequires: libtool
|
2009-09-04 01:24:35 +02:00
|
|
|
BuildRequires: pkg-config
|
|
|
|
BuildRequires: translation-update-upstream
|
2012-09-07 19:06:37 +02:00
|
|
|
BuildRequires: xsltproc
|
2012-09-07 19:28:45 +02:00
|
|
|
BuildRequires: pkgconfig(dbus-glib-1)
|
|
|
|
BuildRequires: pkgconfig(gio-2.0)
|
|
|
|
BuildRequires: pkgconfig(gio-unix-2.0)
|
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.33.12
|
|
|
|
BuildRequires: pkgconfig(gobject-2.0)
|
2012-09-07 19:06:37 +02:00
|
|
|
BuildRequires: pkgconfig(gtk+-3.0) => 3.0
|
|
|
|
BuildRequires: pkgconfig(gudev-1.0)
|
2011-11-18 21:17:57 +01:00
|
|
|
BuildRequires: pkgconfig(libbluray)
|
2012-09-07 19:06:37 +02:00
|
|
|
BuildRequires: pkgconfig(libsecret-unstable)
|
|
|
|
BuildRequires: pkgconfig(libsystemd-login) >= 44
|
2012-02-08 11:57:18 +01:00
|
|
|
%if %{with_udisks2}
|
2012-09-07 19:06:37 +02:00
|
|
|
BuildRequires: pkgconfig(udisks2) >= 1.97
|
2012-02-08 11:57:18 +01:00
|
|
|
%endif
|
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
|
|
|
|
Summary: VFS functionality for GLib
|
2011-12-21 05:32:04 +01:00
|
|
|
License: LGPL-2.0+
|
2008-03-21 02:56:41 +01:00
|
|
|
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
|
|
|
|
Summary: VFS functionality for GLib -- iPod / iPhone Support
|
2011-12-21 05:32:04 +01:00
|
|
|
License: LGPL-2.0+
|
2010-07-21 15:29:23 +02:00
|
|
|
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
|
|
|
|
Summary: VFS functionality for GLib
|
2011-12-21 05:32:04 +01:00
|
|
|
License: LGPL-2.0+ ; GPL-3.0
|
2008-03-21 02:56:41 +01:00
|
|
|
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
|
2012-04-01 11:47:15 +02:00
|
|
|
%if %{with_udisks2}
|
|
|
|
Recommends: udisks2
|
|
|
|
%endif
|
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
|
|
|
|
Summary: VFS functionality for GLib
|
2011-12-21 05:32:04 +01:00
|
|
|
License: LGPL-2.0+
|
2008-03-21 02:56:41 +01:00
|
|
|
Group: System/Filesystems
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: fuse
|
|
|
|
|
|
|
|
%description fuse
|
|
|
|
VFS functionality for GLib.
|
|
|
|
|
2008-01-28 04:35:08 +01:00
|
|
|
%package devel
|
|
|
|
Summary: VFS functionality for GLib
|
2011-12-21 05:32:04 +01:00
|
|
|
License: LGPL-2.0+
|
2008-01-28 04:35:08 +01:00
|
|
|
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
|
2011-04-21 17:25:25 +02:00
|
|
|
|
|
|
|
%build
|
2012-08-06 20:21:12 +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} \
|
2012-02-08 11:57:18 +01:00
|
|
|
%if %{with_udisks2}
|
|
|
|
--enable-udisks2 \
|
|
|
|
--disable-gdu \
|
|
|
|
%else
|
|
|
|
--disable-udisks2 \
|
|
|
|
--enable-gdu \
|
|
|
|
%endif
|
2009-02-07 01:53:10 +01:00
|
|
|
--disable-static
|
2012-09-07 19:06:37 +02:00
|
|
|
make
|
2008-01-28 04:35:08 +01:00
|
|
|
|
|
|
|
%install
|
2012-09-07 19:06:37 +02:00
|
|
|
%make_install
|
2009-09-04 01:24:37 +02:00
|
|
|
rm %{buildroot}%{_libdir}/*.*a
|
|
|
|
rm %{buildroot}%{_libdir}/gio/modules/*.*a
|
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
|
2012-09-07 19:28:45 +02:00
|
|
|
%{_bindir}/gvfs-*
|
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
|
2012-09-07 19:06:37 +02:00
|
|
|
%dir %{_datadir}/bash-completion
|
|
|
|
%dir %{_datadir}/bash-completion/completions
|
|
|
|
%{_datadir}/bash-completion/completions/gvfs
|
2012-09-07 19:28:45 +02:00
|
|
|
%{_mandir}/man1/gvfs-*.1%{?ext_man}
|
|
|
|
%{_mandir}/man1/gvfsd.1%{?ext_man}
|
|
|
|
%{_mandir}/man1/gvfsd-metadata.1%{?ext_man}
|
2012-09-07 19:06:37 +02:00
|
|
|
%{_mandir}/man7/gvfs.7%{?ext_man}
|
2008-01-28 04:35:08 +01:00
|
|
|
|
2008-03-21 02:56:41 +01:00
|
|
|
%files fuse
|
|
|
|
%defattr(-, root, root)
|
2012-09-07 19:06:37 +02:00
|
|
|
%{_libexecdir}/%{name}/gvfsd-fuse
|
2012-09-07 19:28:45 +02:00
|
|
|
%{_mandir}/man1/gvfsd-fuse.1%{?ext_man}
|
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)
|
2012-03-28 11:43:08 +02:00
|
|
|
%if %{with_udisks2}
|
2012-05-16 09:24:49 +02:00
|
|
|
%doc monitor/udisks2/what-is-shown.txt
|
2012-03-28 11:43:08 +02:00
|
|
|
%{_datadir}/dbus-1/services/org.gtk.Private.UDisks2VolumeMonitor.service
|
|
|
|
%{_datadir}/%{name}/remote-volume-monitors/udisks2.monitor
|
|
|
|
%{_libexecdir}/%{name}/gvfs-udisks2-volume-monitor
|
2012-03-28 22:51:33 +02:00
|
|
|
%else
|
|
|
|
%{_libexecdir}/%{name}/gvfs-gdu-volume-monitor
|
|
|
|
%{_datadir}/dbus-1/services/org.gtk.Private.GduVolumeMonitor.service
|
|
|
|
%{_datadir}/%{name}/remote-volume-monitors/gdu.monitor
|
2012-03-28 11:43:08 +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
|
2011-09-02 02:10:13 +02:00
|
|
|
%{_libexecdir}/%{name}/gvfsd-afp
|
|
|
|
%{_datadir}/%{name}/mounts/afp.mount
|
|
|
|
%{_libexecdir}/%{name}/gvfsd-afp-browse
|
|
|
|
%{_datadir}/%{name}/mounts/afp-browse.mount
|
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
|
2012-05-25 11:27:42 +02:00
|
|
|
%if %{with_cdda}
|
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
|
2012-05-25 11:27:42 +02:00
|
|
|
%endif
|
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
|
2012-09-07 19:06:37 +02:00
|
|
|
%{_libexecdir}/%{name}/gvfsd-recent
|
|
|
|
%{_datadir}/%{name}/mounts/recent.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
|