|
@@ -2,7 +2,7 @@ Summary: Backends for the gio framework in GLib
|
|
Summary(ja): GLib の GIO フレームワークのバックエンド
|
|
Summary(ja): GLib の GIO フレームワークのバックエンド
|
|
Name: gvfs
|
|
Name: gvfs
|
|
Version: 1.6.1
|
|
Version: 1.6.1
|
|
-Release: 1%{?_dist_release}
|
|
|
|
|
|
+Release: 2%{?_dist_release}
|
|
License: LGPLv2+
|
|
License: LGPLv2+
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
URL: http://www.gtk.org
|
|
URL: http://www.gtk.org
|
|
@@ -22,6 +22,7 @@ BuildRequires: gettext
|
|
BuildRequires: perl-XML-Parser
|
|
BuildRequires: perl-XML-Parser
|
|
BuildRequires: GConf2-devel
|
|
BuildRequires: GConf2-devel
|
|
BuildRequires: libgudev1-devel
|
|
BuildRequires: libgudev1-devel
|
|
|
|
+BuildRequires: gnome-disk-utility-devel >= 2.30
|
|
|
|
|
|
Requires(post): desktop-file-utils
|
|
Requires(post): desktop-file-utils
|
|
Requires(postun): desktop-file-utils
|
|
Requires(postun): desktop-file-utils
|
|
@@ -104,6 +105,18 @@ PTP based cameras (Picture Transfer Protocol) and MTP based
|
|
media players (Media Transfer Protocol) to applications using gvfs.
|
|
media players (Media Transfer Protocol) to applications using gvfs.
|
|
|
|
|
|
|
|
|
|
|
|
+%package afc
|
|
|
|
+Summary: AFC support for gvfs
|
|
|
|
+Group: System Environment/Libraries
|
|
|
|
+Requires: %{name} = %{version}-%{release}
|
|
|
|
+Requires: usbmuxd
|
|
|
|
+BuildRequires: libimobiledevice-devel >= 0.9.7
|
|
|
|
+
|
|
|
|
+%description afc
|
|
|
|
+This package provides support for reading files on mobile devices
|
|
|
|
+including phones and music players to applications using gvfs.
|
|
|
|
+
|
|
|
|
+
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
%patch1 -p0 -b .archive-integration
|
|
%patch1 -p0 -b .archive-integration
|
|
@@ -117,7 +130,7 @@ autoheader || :
|
|
automake || :
|
|
automake || :
|
|
autoconf || :
|
|
autoconf || :
|
|
|
|
|
|
-%configure --disable-hal
|
|
|
|
|
|
+%configure --disable-hal --enable-gdu
|
|
make # %{?_smp_mflags}
|
|
make # %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
%install
|
|
@@ -138,11 +151,26 @@ rm -rf $RPM_BUILD_ROOT
|
|
killall -USR1 gvfsd >&/dev/null || :
|
|
killall -USR1 gvfsd >&/dev/null || :
|
|
# Update desktop files mime mappings:
|
|
# Update desktop files mime mappings:
|
|
update-desktop-database &> /dev/null ||:
|
|
update-desktop-database &> /dev/null ||:
|
|
|
|
+update-gio-modules "$host" &> /dev/null || :
|
|
|
|
|
|
%postun
|
|
%postun
|
|
/sbin/ldconfig
|
|
/sbin/ldconfig
|
|
# Update desktop files mime mappings:
|
|
# Update desktop files mime mappings:
|
|
update-desktop-database &> /dev/null ||:
|
|
update-desktop-database &> /dev/null ||:
|
|
|
|
+update-gio-modules "$host" &> /dev/null || :
|
|
|
|
+
|
|
|
|
+# Reload .mount files when single subpackage is installed:
|
|
|
|
+%post smb
|
|
|
|
+killall -USR1 gvfsd >&/dev/null || :
|
|
|
|
+%post archive
|
|
|
|
+killall -USR1 gvfsd >&/dev/null || :
|
|
|
|
+%post obexftp
|
|
|
|
+killall -USR1 gvfsd >&/dev/null || :
|
|
|
|
+%post gphoto2
|
|
|
|
+killall -USR1 gvfsd >&/dev/null || :
|
|
|
|
+%post afc
|
|
|
|
+killall -USR1 gvfsd >&/dev/null || :
|
|
|
|
+
|
|
|
|
|
|
%files -f gvfs.lang
|
|
%files -f gvfs.lang
|
|
%defattr(-, root, root, -)
|
|
%defattr(-, root, root, -)
|
|
@@ -162,13 +190,12 @@ update-desktop-database &> /dev/null ||:
|
|
%{_datadir}/gvfs/mounts/dns-sd.mount
|
|
%{_datadir}/gvfs/mounts/dns-sd.mount
|
|
%{_datadir}/gvfs/mounts/network.mount
|
|
%{_datadir}/gvfs/mounts/network.mount
|
|
%{_datadir}/gvfs/mounts/ftp.mount
|
|
%{_datadir}/gvfs/mounts/ftp.mount
|
|
|
|
+%{_datadir}/dbus-1/services/org.gtk.Private.GduVolumeMonitor.service
|
|
%{_datadir}/dbus-1/services/gvfs-daemon.service
|
|
%{_datadir}/dbus-1/services/gvfs-daemon.service
|
|
%{_datadir}/dbus-1/services/gvfs-metadata.service
|
|
%{_datadir}/dbus-1/services/gvfs-metadata.service
|
|
-## %{_datadir}/dbus-1/services/org.gtk.Private.HalVolumeMonitor.service
|
|
|
|
-## %{_datadir}/gvfs/remote-volume-monitors/hal.monitor
|
|
|
|
|
|
+%{_datadir}/gvfs/remote-volume-monitors/gdu.monitor
|
|
%{_libdir}/libgvfscommon.so.*
|
|
%{_libdir}/libgvfscommon.so.*
|
|
%{_libdir}/libgvfscommon-dnssd.so.*
|
|
%{_libdir}/libgvfscommon-dnssd.so.*
|
|
-# %{_libdir}/gio/modules/libgiohal-volume-monitor.so
|
|
|
|
%{_libdir}/gio/modules/libgioremote-volume-monitor.so
|
|
%{_libdir}/gio/modules/libgioremote-volume-monitor.so
|
|
%{_libdir}/gio/modules/libgvfsdbus.so
|
|
%{_libdir}/gio/modules/libgvfsdbus.so
|
|
%{_libdir}/gio/modules/libgiogconf.so
|
|
%{_libdir}/gio/modules/libgiogconf.so
|
|
@@ -185,7 +212,7 @@ update-desktop-database &> /dev/null ||:
|
|
%{_libexecdir}/gvfsd-dnssd
|
|
%{_libexecdir}/gvfsd-dnssd
|
|
%{_libexecdir}/gvfsd-network
|
|
%{_libexecdir}/gvfsd-network
|
|
%{_libexecdir}/gvfsd-metadata
|
|
%{_libexecdir}/gvfsd-metadata
|
|
-## %{_libexecdir}/gvfs-hal-volume-monitor
|
|
|
|
|
|
+%{_libexecdir}/gvfs-gdu-volume-monitor
|
|
%{_bindir}/gvfs-cat
|
|
%{_bindir}/gvfs-cat
|
|
%{_bindir}/gvfs-copy
|
|
%{_bindir}/gvfs-copy
|
|
%{_bindir}/gvfs-info
|
|
%{_bindir}/gvfs-info
|
|
@@ -249,7 +276,22 @@ update-desktop-database &> /dev/null ||:
|
|
%{_datadir}/gvfs/remote-volume-monitors/gphoto2.monitor
|
|
%{_datadir}/gvfs/remote-volume-monitors/gphoto2.monitor
|
|
|
|
|
|
|
|
|
|
|
|
+%files afc
|
|
|
|
+%defattr(-, root, root, -)
|
|
|
|
+%{_libexecdir}/gvfsd-afc
|
|
|
|
+%{_datadir}/gvfs/mounts/afc.mount
|
|
|
|
+%{_libexecdir}/gvfs-afc-volume-monitor
|
|
|
|
+%{_datadir}/dbus-1/services/org.gtk.Private.AfcVolumeMonitor.service
|
|
|
|
+%{_datadir}/gvfs/remote-volume-monitors/afc.monitor
|
|
|
|
+
|
|
|
|
+
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Wed May 12 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.6.1-2
|
|
|
|
+- add configure option --enable-gdu
|
|
|
|
+- add BR: gnome-disk-utility-devel
|
|
|
|
+- add afc subpackage for new AFC backend,
|
|
|
|
+ providing access to Apple's iPhone, and iPod Touch devices
|
|
|
|
+
|
|
* Sat May 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
|
|
* Sat May 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
|
|
- new upstream release
|
|
- new upstream release
|
|
|
|
|