gvfs/gvfs.spec

480 lines
14 KiB
RPMSpec
Raw Normal View History

2007-12-21 22:34:57 +00:00
Summary: Backends for the gio framework in GLib
Name: gvfs
2008-12-02 12:38:52 +00:00
Version: 1.1.1
2008-12-12 11:03:42 +00:00
Release: 5%{?dist}
2007-12-21 22:34:57 +00:00
License: LGPLv2+
Group: System Environment/Libraries
URL: http://www.gtk.org
2008-09-22 14:38:42 +00:00
Source: http://download.gnome.org/sources/gvfs/1.0/gvfs-%{version}.tar.bz2
2007-12-21 22:34:57 +00:00
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: pkgconfig
2008-12-02 12:38:52 +00:00
BuildRequires: glib2-devel >= 2.19.2
2007-12-21 22:34:57 +00:00
BuildRequires: dbus-glib-devel
BuildRequires: /usr/bin/ssh
BuildRequires: libcdio-devel >= 0.78.2
2008-02-11 23:42:20 +00:00
BuildRequires: hal-devel >= 0.5.10
2008-09-02 08:21:25 +00:00
BuildRequires: libsoup-devel >= 2.23.91
2008-02-26 02:34:07 +00:00
BuildRequires: avahi-glib-devel >= 0.6
BuildRequires: gnome-keyring-devel
2008-01-14 18:00:23 +00:00
BuildRequires: intltool
BuildRequires: gettext-devel
BuildRequires: perl(XML::Parser)
BuildRequires: GConf2-devel
2007-12-21 22:34:57 +00:00
Requires(post): desktop-file-utils
Requires(postun): desktop-file-utils
# The patch touches Makefile.am files:
BuildRequires: automake autoconf
BuildRequires: libtool
Patch1: gvfs-0.99.2-archive-integration.patch
# EXPERIMENTAL gvfsd-smb-browse auth patch
# http://bugzilla.gnome.org/show_bug.cgi?id=524485
Patch2: gvfs-smb-browse-auth.patch
2008-12-12 11:03:42 +00:00
# http://bugzilla.gnome.org/show_bug.cgi?id=564027
Patch3: gvfs-1.1.1-ftp-pasv.patch
2007-12-21 22:34:57 +00:00
%description
The gvfs package provides backend implementations for the gio
framework in GLib. It includes ftp, sftp, cifs.
2007-12-21 22:34:57 +00:00
%package devel
Summary: Development files for gvfs
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
The gvfs-devel package contains headers and other files that are
required to develop applications using gvfs.
%package fuse
Summary: FUSE support for gvfs
Group: System Environment/Libraries
Requires: %{name} = %{version}-%{release}
BuildRequires: fuse-devel
Requires: fuse
%description fuse
This package provides support for applications not using gio
to access the gvfs filesystems.
%package smb
Summary: Windows fileshare support for gvfs
Group: System Environment/Libraries
Requires: %{name} = %{version}-%{release}
BuildRequires: libsmbclient-devel >= 3.2.0-1.pre2.8
%description smb
This package provides support for reading and writing files on windows
shares (SMB) to applications using gvfs.
%package archive
Summary: Archiving support for gvfs
Group: System Environment/Libraries
Requires: %{name} = %{version}-%{release}
BuildRequires: libarchive-devel >= libarchive-2.5.903a-2
%description archive
2008-08-27 14:34:00 +00:00
This package provides support for accessing files inside Zip and Tar archives,
as well as ISO images, to applications using gvfs.
%package obexftp
Summary: ObexFTP support for gvfs
Group: System Environment/Libraries
Requires: %{name} = %{version}-%{release}
Requires: obex-data-server >= 0.3.4-6
BuildRequires: bluez-libs-devel >= 3.12
BuildRequires: expat-devel
%description obexftp
2008-08-27 14:34:00 +00:00
This package provides support for reading files on Bluetooth mobile phones
and devices through ObexFTP to applications using gvfs.
%package gphoto2
Summary: gphoto2 support for gvfs
Group: System Environment/Libraries
Requires: %{name} = %{version}-%{release}
BuildRequires: libgphoto2-devel
BuildRequires: libusb-devel
BuildRequires: libexif-devel
%description gphoto2
This package provides support for reading and writing files on
PTP based cameras (Picture Transfer Protocol) and MTP based
media players (Media Transfer Protocol) to applications using gvfs.
2007-12-21 22:34:57 +00:00
%prep
%setup -q
%patch1 -p0 -b .archive-integration
%patch2 -p0 -b .smb-auth
2008-12-12 11:03:42 +00:00
%patch3 -p1 -b .ftp-pasv
2007-12-21 22:34:57 +00:00
%build
# Needed for gvfs-0.2.1-archive-integration.patch
2008-03-21 11:01:38 +00:00
libtoolize --force || :
aclocal || :
2008-03-21 11:01:38 +00:00
autoheader || :
automake || :
2008-03-21 11:01:38 +00:00
autoconf || :
2008-06-11 16:08:23 +00:00
%configure
2008-02-26 03:47:02 +00:00
make # %{?_smp_mflags}
2007-12-21 22:34:57 +00:00
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
rm $RPM_BUILD_ROOT%{_libdir}/*.la
rm $RPM_BUILD_ROOT%{_libdir}/gio/modules/*.la
%find_lang gvfs
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
# Reload .mount files:
2008-03-17 14:15:27 +00:00
killall -USR1 gvfsd >&/dev/null || :
# Update desktop files mime mappings:
update-desktop-database &> /dev/null ||:
2007-12-21 22:34:57 +00:00
%postun
/sbin/ldconfig
# Update desktop files mime mappings:
update-desktop-database &> /dev/null ||:
2007-12-21 22:34:57 +00:00
%files -f gvfs.lang
%defattr(-, root, root, -)
%doc AUTHORS COPYING NEWS README
2008-01-08 16:09:06 +00:00
%dir %{_datadir}/gvfs
%dir %{_datadir}/gvfs/mounts
2008-02-25 21:02:35 +00:00
%{_sysconfdir}/profile.d/gvfs-bash-completion.sh
2008-01-08 16:09:06 +00:00
%{_datadir}/gvfs/mounts/sftp.mount
%{_datadir}/gvfs/mounts/trash.mount
%{_datadir}/gvfs/mounts/cdda.mount
2008-01-08 16:45:46 +00:00
%{_datadir}/gvfs/mounts/computer.mount
2008-01-29 03:08:03 +00:00
%{_datadir}/gvfs/mounts/dav.mount
2008-12-03 05:49:12 +00:00
%{_datadir}/gvfs/mounts/dav+sd.mount
2008-01-29 03:08:03 +00:00
%{_datadir}/gvfs/mounts/http.mount
2008-01-14 19:36:25 +00:00
%{_datadir}/gvfs/mounts/localtest.mount
%{_datadir}/gvfs/mounts/burn.mount
2008-02-25 21:02:35 +00:00
%{_datadir}/gvfs/mounts/dns-sd.mount
%{_datadir}/gvfs/mounts/network.mount
2008-03-04 14:46:30 +00:00
%{_datadir}/gvfs/mounts/ftp.mount
2008-01-08 16:09:06 +00:00
%{_datadir}/dbus-1/services/gvfs-daemon.service
2008-07-23 09:17:30 +00:00
%{_datadir}/dbus-1/services/org.gtk.Private.HalVolumeMonitor.service
%{_datadir}/gvfs/remote-volume-monitors/hal.monitor
2007-12-21 22:34:57 +00:00
%{_libdir}/libgvfscommon.so.*
2008-12-03 05:49:12 +00:00
%{_libdir}/libgvfscommon-dnssd.so.*
2008-07-23 09:49:24 +00:00
# %{_libdir}/gio/modules/libgiohal-volume-monitor.so
2008-07-23 09:17:30 +00:00
%{_libdir}/gio/modules/libgioremote-volume-monitor.so
2007-12-21 22:34:57 +00:00
%{_libdir}/gio/modules/libgvfsdbus.so
%{_libdir}/gio/modules/libgiogconf.so
2007-12-21 22:34:57 +00:00
%{_libexecdir}/gvfsd
%{_libexecdir}/gvfsd-ftp
%{_libexecdir}/gvfsd-sftp
%{_libexecdir}/gvfsd-trash
%{_libexecdir}/gvfsd-cdda
2008-01-08 16:45:46 +00:00
%{_libexecdir}/gvfsd-computer
2008-01-29 03:08:03 +00:00
%{_libexecdir}/gvfsd-dav
%{_libexecdir}/gvfsd-http
2008-01-14 19:36:25 +00:00
%{_libexecdir}/gvfsd-localtest
%{_libexecdir}/gvfsd-burn
2008-02-25 21:02:35 +00:00
%{_libexecdir}/gvfsd-dnssd
%{_libexecdir}/gvfsd-network
2008-07-23 09:17:30 +00:00
%{_libexecdir}/gvfs-hal-volume-monitor
2007-12-21 22:34:57 +00:00
%{_bindir}/gvfs-cat
%{_bindir}/gvfs-copy
%{_bindir}/gvfs-info
%{_bindir}/gvfs-less
%{_bindir}/gvfs-ls
2008-01-29 05:17:47 +00:00
%{_bindir}/gvfs-mkdir
2007-12-21 22:34:57 +00:00
%{_bindir}/gvfs-monitor-dir
%{_bindir}/gvfs-monitor-file
%{_bindir}/gvfs-mount
%{_bindir}/gvfs-move
2008-02-12 00:21:24 +00:00
%{_bindir}/gvfs-open
2008-03-18 09:09:11 +00:00
%{_bindir}/gvfs-rename
%{_bindir}/gvfs-rm
2007-12-21 22:34:57 +00:00
%{_bindir}/gvfs-save
%{_bindir}/gvfs-trash
2008-02-25 21:02:35 +00:00
%{_bindir}/gvfs-tree
2007-12-21 22:34:57 +00:00
%files devel
%defattr(-, root, root, -)
%dir %{_includedir}/gvfs-client
%dir %{_includedir}/gvfs-client/gvfs
%{_includedir}/gvfs-client/gvfs/gvfsurimapper.h
%{_includedir}/gvfs-client/gvfs/gvfsuriutils.h
2008-04-19 01:41:15 +00:00
%{_libdir}/libgvfscommon.so
2008-12-03 05:49:12 +00:00
%{_libdir}/libgvfscommon-dnssd.so
2007-12-21 22:34:57 +00:00
%files fuse
%defattr(-, root, root, -)
%{_libexecdir}/gvfs-fuse-daemon
%files smb
%defattr(-, root, root, -)
%{_libexecdir}/gvfsd-smb
%{_libexecdir}/gvfsd-smb-browse
%{_datadir}/gvfs/mounts/smb-browse.mount
%{_datadir}/gvfs/mounts/smb.mount
%files archive
%defattr(-, root, root, -)
%dir %{_datadir}/applications/mount-archive.desktop
%{_libexecdir}/gvfsd-archive
%{_datadir}/gvfs/mounts/archive.mount
%files obexftp
%defattr(-, root, root, -)
%{_libexecdir}/gvfsd-obexftp
%{_datadir}/gvfs/mounts/obexftp.mount
%files gphoto2
%defattr(-, root, root, -)
%{_libexecdir}/gvfsd-gphoto2
%{_datadir}/gvfs/mounts/gphoto2.mount
2008-07-23 09:17:30 +00:00
%{_libexecdir}/gvfs-gphoto2-volume-monitor
%{_datadir}/dbus-1/services/org.gtk.Private.GPhoto2VolumeMonitor.service
%{_datadir}/gvfs/remote-volume-monitors/gphoto2.monitor
2007-12-21 22:34:57 +00:00
%changelog
2008-12-12 11:03:42 +00:00
* Fri Dec 12 2008 Tomas Bzatek <tbzatek@redhat.com> - 1.1.1-5
- FTP: Fix PASV connections
* Tue Dec 9 2008 Tomas Bzatek <tbzatek@redhat.com> - 1.1.1-4
- Add support for .tar.lzma archives in archive mounter
* Fri Dec 5 2008 Tomas Bzatek <tbzatek@redhat.com> - 1.1.1-3
- Added experimental smb-browse auth patch
2008-12-03 05:49:12 +00:00
* Wed Dec 3 2008 Matthias Clasen <mclasen@redhat.com> - 1.1.1-2
- Update file lists to include the dav+sd backend
2008-12-02 12:38:52 +00:00
* Tue Dec 2 2008 Tomas Bzatek <tbzatek@redhat.com> - 1.1.1-1
- Update to 1.1.1
2008-12-01 16:36:55 +00:00
* Mon Dec 1 2008 Tomas Bzatek <tbzatek@redhat.com> - 1.0.3-1
2008-11-26 11:21:13 +00:00
- Update to 1.0.3
* Fri Nov 7 2008 Tomas Bzatek <tbzatek@redhat.com> - 1.0.2-4
- SMB: timestamp setting support (#461505)
* Tue Nov 4 2008 Tomas Bzatek <tbzatek@redhat.com> - 1.0.2-3
- Return an empty array on success when no content type
matches (#468946)
* Fri Oct 24 2008 Alexander Larsson <alexl@redhat.com> - 1.0.2-2
- Don't return generic fallback icons for files,
as this means custom mimetypes don't work (from svn)
2008-10-20 13:07:12 +00:00
* Mon Oct 20 2008 Tomas Bzatek <tbzatek@redhat.com> - 1.0.2-1
- Update to 1.0.2
* Tue Oct 7 2008 Tomas Bzatek <tbzatek@redhat.com> - 1.0.1-5
- Don't make warnings fatal (resolves #465693)
* Wed Oct 1 2008 David Zeuthen <davidz@redhat.com> - 1.0.1-4
- Add patch for reverse mapping FUSE paths (bgo #530654)
2008-09-29 17:33:28 +00:00
* Mon Sep 29 2008 Matthias Clasen <mclasen@redhat.com> - 1.0.1-3
- Fix mounting
2008-09-29 09:25:19 +00:00
* Mon Sep 29 2008 - Bastien Nocera <bnocera@redhat.com> - 1.0.1-2
- Update obexftp patch from upstream
2008-09-24 14:16:48 +00:00
* Wed Sep 24 2008 Matthias Clasen <mclasen@redhat.com> - 1.0.1-1
- Update to 1.0.1
2008-09-22 14:46:27 +00:00
* Mon Sep 22 2008 Matthias Clasen <mclasen@redhat.com> - 1.0.0-2
2008-09-22 14:38:42 +00:00
- Update to 1.0.0
2008-09-19 18:15:39 +00:00
* Fri Sep 19 2008 - Bastien Nocera <bnocera@redhat.com> - 0.99.8-6
- Update patch for missing file
* Fri Sep 19 2008 - Bastien Nocera <bnocera@redhat.com> - 0.99.8-5
- Updated patch, fixed deadlock whilst mounting
2008-09-17 14:59:31 +00:00
* Wed Sep 17 2008 Tomas Bzatek <tbzatek@redhat.com> - 0.99.8-4
- Actually apply the kerberos patch
2008-09-16 15:49:01 +00:00
* Tue Sep 16 2008 Tomas Bzatek <tbzatek@redhat.com> - 0.99.8-3
- SMB: Fix kerberos authentication
2008-09-16 01:13:58 +00:00
* Mon Sep 15 2008 Matthias Clasen <mclasen@redhat.com> - 0.99.8-2
2008-09-16 01:12:16 +00:00
- Update to 0.99.8
* Mon Sep 15 2008 - Bastien Nocera <bnocera@redhat.com> - 0.99.7.1-4
- Update for BlueZ and obex-data-server D-Bus API changes
2008-09-11 05:20:08 +00:00
* Thu Sep 11 2008 Matthias Clasen <mclasen@redhat.com> - 0.99.7.1-3
- Rebuild
* Tue Sep 09 2008 - Bastien Nocera <bnocera@redhat.com> - 0.99.7.1-2
- Somebody made the build system be obnoxious and point out my
errors in obvious ways
2008-09-09 09:33:54 +00:00
* Tue Sep 09 2008 - Bastien Nocera <bnocera@redhat.com> - 0.99.7.1-1
- Update to 0.99.7.1
2008-09-02 08:21:25 +00:00
* Tue Sep 2 2008 Tomas Bzatek <tbzatek@redhat.com> - 0.99.6-1
- Update to 0.99.6
2008-08-29 00:59:47 +00:00
* Thu Aug 28 2008 Matthias Clasen <mclasen@redhat.com> - 0.99.5-3
- Add a comma
2008-08-27 14:34:00 +00:00
* Wed Aug 27 2008 - Bastien Nocera <bnocera@redhat.com> - 0.99.5-2
- Update some descriptions
2008-08-20 09:18:26 +00:00
* Wed Aug 20 2008 Tomas Bzatek <tbzatek@redhat.com> - 0.99.5-1
- Update to 0.99.5
2008-08-05 01:49:17 +00:00
* Mon Aug 4 2008 Matthias Clasen <mclasen@redhat.com> - 0.99.4-1
- Update to 0.99.4
2008-07-28 02:05:14 +00:00
* Sun Jul 27 2008 Matthias Clasen <mclasen@redhat.com> - 0.99.3-2
- Use standard icon names
2008-07-24 02:09:02 +00:00
* Wed Jul 23 2008 Matthias Clasen <mclasen@redhat.com> - 0.99.3-1
- Update to 0.99.3
* Tue Jul 22 2008 Tomas Bzatek <tbzatek@redhat.com> - 0.99.2-1
- Update to 0.99.2
- Split out backends to separate packages
2008-06-24 12:26:33 +00:00
* Tue Jun 24 2008 Tomas Bzatek <tbzatek@redhat.com> - 0.99.1-3
- gvfsd-trash: Skip autofs mounts
* Thu Jun 12 2008 Tomas Bzatek <tbzatek@redhat.com> - 0.99.1-2
- Fix transfer of whole directories from FTP (#448560)
2008-06-04 00:29:49 +00:00
* Tue Jun 3 2008 Matthias Clasen <mclasen@redhat.com> - 0.99.1-1
- Update to 0.99.1
2008-05-27 08:34:25 +00:00
* Tue May 27 2008 Tomas Bzatek <tbzatek@redhat.com> - 0.2.4-1
- Update to 0.2.4
* Thu Apr 24 2008 Matthias Clasen <mclasen@redhat.com> - 0.2.3-10
- Add application/zip to the supported mime types for the archive
backend (launchpad #211697)
* Sun Apr 19 2008 David Zeuthen <davidz@redhat.com> - 0.2.3-9
- Ensure archive mounts are read-only and turn on thumbnailing on them
- Update fuse threading patch
* Fri Apr 18 2008 Matthias Clasen <mclasen@redhat.com> - 0.2.3-8
- Fix thread-safety issues in gvfs-fuse-daemon
2008-04-19 01:41:15 +00:00
- Prevent dbus from shutting us down unexpectedly
* Thu Apr 17 2008 David Zeuthen <davidz@redhat.com> - 0.2.3-7
- Put X-Gnome-Vfs-System=gio into mount-archarive.desktop (See #442835)
2008-04-17 03:34:27 +00:00
* Wed Apr 16 2008 Matthias Clasen <mclasen@redhat.com> - 0.2.3-6
- Reenable gphoto automounting
- Support unmounting all mounts for a scheme
* Wed Apr 16 2008 Matthias Clasen <mclasen@redhat.com> - 0.2.3-5
- Fix hangs when unmounting gphoto mounts
* Wed Apr 16 2008 David Zeuthen <davidz@redhat.com> - 0.2.3-4
- Only show mounts in /media and inside $HOME (#442189)
* Mon Apr 14 2008 Matthias Clasen <mclasen@redhat.com> - 0.2.3-3
- Fix a bug that causes application crashes (#441084)
2008-04-12 03:05:55 +00:00
* Fri Apr 11 2008 Matthias Clasen <mclasen@redhat.com> - 0.2.3-2
- Fix a crash of the fuse daemon on 64bit
2008-04-08 02:46:49 +00:00
* Mon Apr 7 2008 Matthias Clasen <mclasen@redhat.com> - 0.2.3-1
- Update to 0.2.3
2008-03-28 13:45:15 +00:00
* Fri Mar 28 2008 Tomas Bzatek <tbzatek@redhat.com> - 0.2.2-1
- Update to 0.2.2
* Tue Mar 25 2008 Tomas Bzatek <tbzatek@redhat.com> - 0.2.1-4
- Moved fuse stuff to a dedicated package
* Thu Mar 20 2008 Alexander Larsson <alexl@redhat.com> - 0.2.1-3
- Add patch with simple archive backend UI integration
* Tue Mar 19 2008 Tomas Bzatek <tbzatek@redhat.com> - 0.2.1-2
- Added libarchive dependency for archive backend
- Require new libsmbclient in order to get smb backend working again
* Tue Mar 18 2008 Tomas Bzatek <tbzatek@redhat.com> - 0.2.1-1
- Update to 0.2.1 (archive backend temporarily disabled)
2008-03-17 14:15:27 +00:00
* Mon Mar 17 2008 Matthias Clasen <mclasen@redhat.com> - 0.2.0.1-2
- Silence %%post
2008-03-10 20:58:26 +00:00
* Mon Mar 10 2008 Matthias Clasen <mclasen@redhat.com> - 0.2.0.1-1
- Update to 0.2.0.1
* Thu Mar 6 2008 Tomas Bzatek <tbzatek@redhat.com> - 0.1.11-2
- Add patch that fixes a deadlock when foreign volume is removed
2008-03-04 18:32:27 +00:00
* Tue Mar 4 2008 Matthias Clasen <mclasen@redhat.com> - 0.1.11-1
- Update to 0.1.11
2008-03-04 15:49:08 +00:00
* Tue Mar 04 2008 Tomas Bzatek <tbzatek@redhat.com> - 0.1.10-1
- Update to 0.1.10
2008-03-04 14:46:30 +00:00
2008-02-25 21:02:35 +00:00
* Mon Feb 25 2008 Alexander Larsson <alexl@redhat.com> - 0.1.8-1
- Update to 0.1.8
2008-02-14 13:00:20 +00:00
* Thu Feb 14 2008 Alexander Larsson <alexl@redhat.com> - 0.1.7-3
- Add patch that fixes a smb bug that can cause short reads when copying files
* Tue Feb 12 2008 Alexander Larsson <alexl@redhat.com> - 0.1.7-2
- Fix double free in hal volume monitor
- Ensure gconf module is built by adding build dep
2008-02-11 23:42:20 +00:00
* Mon Feb 11 2008 Matthias Clasen <mclasen@redhat.com> - 0.1.7-1
- Update to 0.1.7
2008-01-29 17:50:28 +00:00
* Tue Jan 29 2008 Matthias Clasen <mclasen@redhat.com> - 0.1.6-1
- Update to 0.1.6
2008-01-29 03:08:03 +00:00
* Mon Jan 28 2008 Matthias Clasen <mclasen@redhat.com> - 0.1.5-1
- Update to 0.1.5
- Reenable http/dav
* Mon Jan 21 2008 Alexander Larsson <alexl@redhat.com> - 0.1.4-2
- Remove the http/dav stuff for now, as we don't have the latest libsoup
* Mon Jan 21 2008 Alexander Larsson <alexl@redhat.com> - 0.1.4-1
- Update to 0.1.4
- Send USR1 in post to reload config
2008-01-14 18:00:23 +00:00
* Mon Jan 14 2008 Matthias Clasen <mclasen@redhat.com> 0.1.2-1
- Update to 0.1.2
2008-01-08 16:09:06 +00:00
* Tue Jan 8 2008 Matthias Clasen <mclasen@redhat.com> 0.1.1-1
- Update to 0.1.1
2007-12-21 22:34:57 +00:00
* Thu Dec 20 2007 Matthias Clasen <mclasen@redhat.com> 0.1.0-1
- Initial packaging