gvfs/gvfs.spec

292 lines
7.9 KiB
RPMSpec

#
# spec file for package gvfs (Version 0.2.3)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: gvfs
BuildRequires: bluez-utils fuse-devel gconf2-devel glib2-devel gnome-keyring-devel hal-devel intltool libarchive-devel libavahi-glib-devel libsmbclient-devel libsoup-devel 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: 0.2.3
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 -- Is this even worth upstreaming?
Patch0: gvfs-no-shebang.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 <alexl@redhat.com>
%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 <alexl@redhat.com>
%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:?
Requires: obex-data-server
%description backends
VFS functionality for GLib.
Authors:
--------
Alexander Larsson <alexl@redhat.com>
%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 <alexl@redhat.com>
%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 <alexl@redhat.com>
%lang_package
%prep
%setup -n %{name}-%{version}
%patch0 -p1
%build
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%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}/gvfsd-*
%files -n libgvfscommon0
%defattr(-, root, root)
%{_libdir}/*.so.*
%files devel
%defattr(-, root, root)
%{_includedir}/gvfs-client
# %{_libdir}/pkgconfig/*.pc
%{_libdir}/*.so
%files lang -f %{name}.lang
%changelog
* Thu Apr 10 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)
* Wed Mar 26 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)
* Fri Mar 14 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.
* Wed Mar 05 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
* Fri Feb 29 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.