# # spec file for package gvfs (Version 1.0.2) # # Copyright (c) 2008 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/ # # norootforbuild Name: gvfs BuildRequires: bluez-devel BuildRequires: fuse-devel BuildRequires: gconf2-devel BuildRequires: glib2-devel BuildRequires: gnome-keyring-devel BuildRequires: hal-devel BuildRequires: intltool BuildRequires: libarchive-devel BuildRequires: libavahi-glib-devel BuildRequires: libcdio-devel BuildRequires: libexpat-devel BuildRequires: libsmbclient-devel BuildRequires: libsoup-devel BuildRequires: pkg-config %if %suse_version > 1010 BuildRequires: libgphoto2-devel %else BuildRequires: libgphoto2 %endif %if %suse_version <= 1020 %define _prefix /opt/gnome %define _sysconfdir /etc/%_prefix BuildRequires: extra-rpm-macros %endif Summary: VFS functionality for GLib Version: 1.0.2 Release: 1 License: LGPL v2.0 or later Group: Development/Libraries/C and C++ Source0: %{name}-%{version}.tar.bz2 # PATCH-FIX-UPSTREAM gvfs-no-shebang.patch bgo523420 maw@suse.de Patch0: gvfs-no-shebang.patch # 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-obexftp-update-apis-3.patch jpr@suse.de - Support for bluez 4.x from Fedora Patch2: gvfs-obexftp-updated-apis-3.patch Url: http://www.gnome.org BuildRoot: %{_tmppath}/%{name}-%{version}-build AutoReqProv: on Requires: %{name}-lang = %{version} Requires: libgvfscommon0 = %{version} Recommends: gvfs-backends Recommends: gvfs-common Recommends: gvfs-fuse %description VFS functionality for GLib. Authors: -------- Alexander Larsson %package -n libgvfscommon0 License: LGPL v2.0 or later Summary: VFS functionality for GLib Group: Development/Libraries/C and C++ Requires: %{name} >= %{version} %description -n libgvfscommon0 VFS functionality for GLib. Authors: -------- Alexander Larsson %package backends License: LGPL v2.0 or later Summary: VFS functionality for GLib Group: Development/Libraries/C and C++ Requires: %{name} = %{version} # FIXME: Requires: or Recommends:? -> Recommends Recommends: obex-data-server %description backends VFS functionality for GLib. Authors: -------- Alexander Larsson %package fuse License: LGPL v2.0 or later Summary: VFS functionality for GLib Group: System/Filesystems Requires: %{name} = %{version} Requires: fuse %description fuse VFS functionality for GLib. Authors: -------- Alexander Larsson %package devel License: LGPL v2.0 or later Summary: VFS functionality for GLib Group: Development/Libraries/C and C++ Requires: %{name} = %{version} %description devel VFS functionality for GLib. Authors: -------- Alexander Larsson %lang_package %prep %setup -n %{name}-%{version} %patch0 -p1 %patch1 %patch2 %build export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" autoreconf -f libtoolize -c -f %configure \ --libexecdir=%{_libdir}/%{name} %__make %install %makeinstall rm $RPM_BUILD_ROOT/%{_libdir}/*.*a rm $RPM_BUILD_ROOT/%{_libdir}/gio/modules/*.*a # We can drop the chmod when bgo523420 is fixed. chmod -x $RPM_BUILD_ROOT/%{_sysconfdir}/profile.d/* %find_lang %{name} %post -n libgvfscommon0 -p /sbin/ldconfig %postun -n libgvfscommon0 -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) %doc AUTHORS NEWS README TODO %{_bindir}/* %{_datadir}/dbus-1/services/*.service %{_datadir}/gvfs %{_libdir}/gio/modules/*.so %dir %{_libdir}/%{name} %{_libdir}/%{name}/gvfsd %{_sysconfdir}/profile.d/* %files fuse %defattr(-, root, root) %{_libdir}/%{name}/gvfs-fuse-daemon %files backends %defattr(-, root, root) %{_libdir}/%{name}/gvfs-fuse-daemon %{_libdir}/%{name}/gvfs-gphoto2-volume-monitor %{_libdir}/%{name}/gvfs-hal-volume-monitor %{_libdir}/%{name}/gvfsd-archive %{_libdir}/%{name}/gvfsd-burn %{_libdir}/%{name}/gvfsd-cdda %{_libdir}/%{name}/gvfsd-computer %{_libdir}/%{name}/gvfsd-dav %{_libdir}/%{name}/gvfsd-dice %{_libdir}/%{name}/gvfsd-dnssd %{_libdir}/%{name}/gvfsd-ftp %{_libdir}/%{name}/gvfsd-gphoto2 %{_libdir}/%{name}/gvfsd-http %{_libdir}/%{name}/gvfsd-localtest %{_libdir}/%{name}/gvfsd-network %{_libdir}/%{name}/gvfsd-obexftp %{_libdir}/%{name}/gvfsd-sftp %{_libdir}/%{name}/gvfsd-smb %{_libdir}/%{name}/gvfsd-smb-browse %{_libdir}/%{name}/gvfsd-trash %files -n libgvfscommon0 %defattr(-, root, root) %{_libdir}/*.so.* %files devel %defattr(-, root, root) %{_includedir}/gvfs-client %{_libdir}/*.so %files lang -f %{name}.lang %changelog * Mon Oct 27 2008 jpr@novell.com - Use bluez-devel not bluez in the BuildRequires (bnc#436950) - List each backend individually so we know when one breaks - Add gvfs-obexftp-update-apis-3.patch for bluez 4.x * Tue Oct 21 2008 mboman@suse.de - Update to version 1.0.2: + Make sure mount-added is always emitted when a mount operation is completed + Crash fixes + Set st_blocks to make du and ls -s work + Stability fix with concurrent close and reads (made amarok2 crash) * Fri Oct 03 2008 mboman@suse.de - Update to version 1.0.1: + bgo#547568 - gvfsd-trash crash due to race condition * Wed Sep 24 2008 hpj@suse.de - Add gvfs-dice-backend.patch, which implements the Novell IceDesktop backend. * Mon Sep 22 2008 maw@suse.de - Update to version 1.0.0: + Bug fixed: bgo#524498. * Wed Sep 17 2008 vuntz@novell.com - Update to version 0.99.8: + Fix leak of GSimpleAsyncResult + Fix crash while browsing ssh locations + Fix --enable/disable-keyring configure switch + Updated translations. * Tue Sep 16 2008 dmueller@suse.de - update buildrequires * Wed Sep 10 2008 maw@suse.de - Update to version 0.99.7.1: + Revert to using powers of 10 instead of powers of 2 for display sizes; this means we will agree with printed sizes for most devices; for example, memory sticks will now correctly report "64MB volume" instead of "61.7MB volume" as previously + Bugs fixed: bgo#546971 and bgo#550858 + Updated translations. * Mon Sep 08 2008 kukuk@suse.de - Make obex-data-server really a recommends as requested initialy in bugzilla. * Mon Sep 01 2008 mboman@novell.com - Update to version 0.99.6: + Better cross-backend copy/move logic. + Bugs fixed: bgo#548841, bgo#547133, bgo#538573, bgo#549253, bgo#549553, bgo#550100, bgo#529971, rh#460223 + Translation updates * Sun Aug 31 2008 ro@suse.de - add libexpat-devel to buildrequires so that obex backend is built * Thu Aug 28 2008 maw@suse.de - Update to version 0.93.5: + Support und update serialization of GEmblem and GEmblemedIcon + Add x-content/* support to daemon mounts + Use standard icon names + FTP backend now restores file permissions when replacing a file + Miscellaneous unreported bug fixes + Bugs fixed: bgo#545695, bgo#545489, bgo#544008, bgo#543552, bgo#528891, bgo#525779, bgo#545968, bgo#545966, bgo#509740, bgo#539167, bgo#528848, bgo#518284, bgo#41852, and bgo#546300 + Updated translations - Drop gvfs-bnc382172-home-trash-monitoring.patch, because it has been upstreamed (see bgo#509740 and bnc#382172). * Fri Aug 01 2008 maw@suse.de - Update to version 0.99.3: + Move hal and gphoto volume monitors out of process + Fix recursive copying + Make the fuse daemon more reliable + Many smaller bugfixes + Updated translations. * Fri Jun 06 2008 maw@suse.de - Update to versino 0.99.1: + Fix directory copy/delete problems + Fuse daemon robustness fixes + Allow mounting non-standard ISO images + Better username/domain tests on mount spec + Require gphoto >= 2.4.0 + Fix strdup()/g_free() confusion + Use consistent translatable strings for mount and volume + Plug some memory leaks + Many smaller bug fixes + Updated translations - Remove upstreamed patch: gvfs-bnc368628-fuse-robustness.patch. * Fri May 23 2008 hpj@suse.de - Merge gvfs-bgo531516-fuse-cleanup-when-killed.patch into gvfs-bnc368628-fuse-robustness.patch so as to avoid overlapping patches. - Add upstream fixes to thread locking and file handle life-cycles to gvfs-bnc368628-fuse-robustness.patch. Prevents more crashes. - Depend on libcdio-devel for building, so we get the CDDA backend. * Wed May 21 2008 hpj@suse.de - Add gvfs-bgo531516-fuse-cleanup-when-killed.patch, which fixes the remaining issues covered by BNC #368628. * Tue May 13 2008 hpj@suse.de - Add gvfs-bnc382172-home-trash-monitoring.patch, which fixes BNC #382172. * Thu May 08 2008 hpj@suse.de - Add gvfs-bnc368628-fuse-robustness.patch, which probably fixes BNC #368628. * Wed Apr 09 2008 maw@suse.de - Update to version 0.2.3: + WebDAV: implement set_display_name + WebDAV fixes + Proper fallback icons for encrypted volumes + Sftp: Fix make_directory calls + Ftp: various fixes + Minor bug were fixed and leaks plugged. * Wed Apr 09 2008 sbrabec@suse.cz - Directory ownership of %%{_libdir}/gio/modules moved to glib2, where it logically belongs. * Tue Apr 01 2008 rodrigo@suse.de - Update to version 0.2.2: * Respect the giomoduledir provided in gio package config file * Better mount icon and name for archive backend * Fix crashes with cancelled stream ops * Fix race that caused a mount to hang for a client * Implement async query_filesystem_info * Fix minor leaks * trash: Correct display names for directories * sftp: Kerberos support * smb: Port to new samba 3.2.0 API (backwards compat) * sftp: Handle overwrites correctly (was silent overwrite) * Tue Mar 25 2008 maw@suse.de - gvfs now recommends gvfs-backends (bnc#373477). * Wed Mar 19 2008 maw@suse.de - Reduce build requirements - Split out a shared library package, libgnomevfscommon0, and two module subpackages, gvfs-backends and gvfs-fuse. * Tue Mar 18 2008 jpr@suse.de - Update to version 0.2.1 * Added archive backend * Implement most of the async functions in GDaemonFile * Correctly handle usernames in uris for ftp:// * Ftp fixes * Webdav fixes * Add gvfs-rename command line utility * Fix cancellation * OpenBSD fixes * smb: hide dot files * Enviroment variable to disable fuse backend at runtime * Mon Mar 17 2008 jpr@suse.de - Add recommends for obex-data-server (bnc #368776) * Thu Mar 13 2008 maw@suse.de - Update to version 0.2.0.1: + Fix crashes + Build and portability fixes + Better mime icons for remote shares + Don't show mounts and volumes outside /media + Don't automount gphoto mounts + Translate cd disc names + ftp: Updates + obex: Give better error message on broken phones + sftp: Allow setting permissions + dav: Correct mount name, file icons and file types. * Tue Mar 04 2008 jpr@suse.de - Update to version 0.1.11 * Correctly free mounts * Disable debug log * Fix volume monitor change reporting * Fix timeout during automount - enable obex backend * Tue Mar 04 2008 maw@suse.de - Update to version 0.1.9: + Added ftp backend + Added obexftp backend + Locking fixed for volume monitors + Better bash completion + Better webdav support + Allow backends to specify uri details in .mount file + Fix leaks and crashes + Fix icon for audio cds. * Fri Feb 29 2008 jpr@suse.de - Update to 0.1.8 * Update for gio API changes * Add gphoto2 backend * Add network: and dns-sd: backend support * Http and webdav backend updates * Keyring support * Fix crashes and deadlocks * Add trash::item-count attribute to trash:/// * Fix smb reads > 65535 bytes breaking on some servers * Fix cancellation race in reading * Fill in thumbnail info for backends * sftp: Handle host identity changes * Enable translations everywhere * Add bash completion support for command line apps * Fix handling of blank cds and audio cds * Support port in sftp uris * Thu Feb 28 2008 jpr@suse.de - Move the gio modules into the main package (#358748) - Enable gconf backend * Mon Feb 18 2008 maw@suse.de - Update to version 0.1.7: + Update for gio API changes + Add gconf based implementation of g_app_info_get_default_for_uri_scheme + Fix crashes + Allow navigation with http uris + Better file read performance with readahead and large block reads + Lots of bugs fixed in trash backend + Pick up cdrom icons from autorun.inf + Add "filesystem" file to computer:// + Fix renaming in sftp and smb. * Fri Feb 08 2008 maw@suse.de - Recomend fuse (bnc#359928). * Wed Jan 30 2008 maw@suse.de - Update to version 0.1.6: + Updates to work with more recent glib + Fix sftp error handling on reading directories + Use correct file info attribute name style + Add gvfs-mkdir app + hal: Don't show drives if all volumes are hidden + Enable translations + Plus some files that were missing in 0.1.5. * Tue Jan 22 2008 maw@suse.de - Initial package, version 0.1.4.