2008-01-28 04:35:08 +01:00
|
|
|
#
|
2010-05-14 00:49:46 +02:00
|
|
|
# spec file for package gvfs (Version 1.6.1)
|
2008-01-28 04:35:08 +01:00
|
|
|
#
|
2010-02-11 19:44:12 +01:00
|
|
|
# Copyright (c) 2010 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-05-14 00:49:46 +02:00
|
|
|
Version: 1.6.1
|
2010-02-11 19:44:12 +01:00
|
|
|
Release: 1
|
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
|
|
|
|
# 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
|
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-05-28 00:35:31 +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
|
|
|
|
Requires: %{name}-lang = %{version}
|
2008-03-21 02:56:41 +01:00
|
|
|
Requires: libgvfscommon0 = %{version}
|
2010-02-11 19:44:12 +01:00
|
|
|
# we need gio-querymodules in %post/%postun
|
|
|
|
Requires(post): glib2
|
|
|
|
Requires(postun): glib2
|
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
|
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-05-28 00:35:31 +02:00
|
|
|
%package afc
|
|
|
|
License: LGPLv2.0+
|
2010-05-28 00:37:36 +02:00
|
|
|
Summary: VFS functionality for GLib -- iPod / iPhone Support
|
2010-05-28 00:35:31 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description backend-afc
|
2010-05-28 00:37:36 +02:00
|
|
|
This package provides a gvfs backend that supports iPod / iPhone devices.
|
2010-05-28 00:35:31 +02:00
|
|
|
|
2008-03-21 02:56:41 +01:00
|
|
|
%package backends
|
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}
|
2010-05-28 00:35:31 +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-09 01:30:17 +01:00
|
|
|
%patch4 -p1
|
2009-01-19 02:22:12 +01:00
|
|
|
%patch5 -p1
|
2009-04-07 12:56:59 +02:00
|
|
|
%patch6 -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
|
|
|
|
%if "%{_lib}" == "lib64"
|
|
|
|
%{_bindir}/gio-querymodules-64 %{_libdir}/gio/modules
|
|
|
|
%else
|
|
|
|
%{_bindir}/gio-querymodules %{_libdir}/gio/modules
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%if "%{_lib}" == "lib64"
|
|
|
|
%{_bindir}/gio-querymodules-64 %{_libdir}/gio/modules
|
|
|
|
%else
|
|
|
|
%{_bindir}/gio-querymodules %{_libdir}/gio/modules
|
|
|
|
%endif
|
|
|
|
|
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-05-28 00:35:31 +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-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
|