Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:GA
gvfs
gvfs.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gvfs.spec of Package gvfs
# # spec file for package gvfs # # Copyright (c) 2014 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/ # %define with_udisks2 1 %define with_cdda 1 Name: gvfs Version: 1.18.3 Release: 0 Summary: VFS functionality for GLib License: LGPL-2.0+ Group: Development/Libraries/C and C++ Url: http://www.gnome.org Source0: http://download.gnome.org/sources/gvfs/1.18/%{name}-%{version}.tar.xz Source99: baselibs.conf # 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 # PATCH-FIX-UPSTREAM gvfs-support-nop-ftruncate.patch bnc466794 bgo573837 gburt@suse.de -- Fixes saving in OOo Patch7: gvfs-support-nop-ftruncate.patch # PATCH-FIX-SLED gvfs-no-useless-x-flags.patch bnc538069 hpj@novell.com -- Only present files as executable if the attr is both supported and set. Patch8: gvfs-no-useless-x-flags.patch # PATCH-FIX-SLED gvfs-obexftp-allow-push-cancel.patch bnc656452 hpj@novell.com -- Let user cancel ObexFTP file send. Patch9: gvfs-obexftp-allow-push-cancel.patch # PATCH-FIX-UPSTREAM 0001-MTP-Fail-fast-if-in-the-middle-of-an-unmount.patch mgorse@suse.com -- fix possible crash when performing an operation after an unmount has started. Patch10: 0001-MTP-Fail-fast-if-in-the-middle-of-an-unmount.patch # PATCH-FIX-UPSTREAM 0001-gphoto2-Return-the-correct-offset-when-seeking.patch bgo#712601 mgorse@suse.com Patch11: 0001-gphoto2-Return-the-correct-offset-when-seeking.patch # PATCH-FIX-UPSTREAM 0001-gphoto2-Don-t-release-the-device-multiple-times.patch bgo#706224 mgorse@suse.com -- fix a crash in gvfsd-gphoto2. Patch12: 0001-gphoto2-Don-t-release-the-device-multiple-times.patch # PATCH-FIX-UPSTREAM 0001-http-Fix-segfault-when-seeking-on-read.patch bgo#710534 mgorse@suse.com -- fix webdav backend segfault for read, seek, read sequence. Patch13: 0001-http-Fix-segfault-when-seeking-on-read.patch # PATCH-FIX-UPSTREAM 0001-http-Fix-the-SEEK_END-offset-calculation.patch bgo#710534 mgorse@suse.com Patch14: 0001-http-Fix-the-SEEK_END-offset-calculation.patch # PATCH-FIX-UPSTREAM 0001-http-Allow-seek-past-end-of-file.patch bgo#710534 mgorse@suse.com Patch15: 0001-http-Allow-seek-past-end-of-file.patch # PATCH-FIX-UPSTREAM 0001-http-Ensure-the-range-header-is-updated.patch bgo#710534 mgorse@suse.com Patch16: 0001-http-Ensure-the-range-header-is-updated.patch # PATCH-FIX-UPSTREAM 0001-archive-fix-segfault-when-libarchive-fails.patch bgo#$670534 mgorse@suse.com Patch17: 0001-archive-fix-segfault-when-libarchive-fails.patch # PATCH-FIX-UPSTREAM 0001-afp-Don-t-crash-when-opening-the-root-directory.patch bgo#720743 mgorse@suse.com Patch18: 0001-afp-Don-t-crash-when-opening-the-root-directory.patch BuildRequires: bluez-devel BuildRequires: docbook-xsl-stylesheets BuildRequires: fuse-devel BuildRequires: intltool BuildRequires: libarchive-devel BuildRequires: libavahi-glib-devel %if %{with_cdda} BuildRequires: pkgconfig(libcdio_paranoia) >= 0.78.2 %endif BuildRequires: libexpat-devel BuildRequires: libgcrypt-devel %if !%{with_udisks2} BuildRequires: libgdu-devel %endif BuildRequires: libgphoto2-devel BuildRequires: libimobiledevice-devel >= 1.1.5 BuildRequires: libsmbclient-devel BuildRequires: libsoup-devel >= 2.34.0 BuildRequires: libtool BuildRequires: pkg-config BuildRequires: translation-update-upstream BuildRequires: xsltproc BuildRequires: pkgconfig(dbus-glib-1) BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(glib-2.0) >= 2.37.0 BuildRequires: pkgconfig(goa-1.0) >= 3.7.1 BuildRequires: pkgconfig(gobject-2.0) BuildRequires: pkgconfig(gtk+-3.0) => 3.0 BuildRequires: pkgconfig(gudev-1.0) BuildRequires: pkgconfig(libbluray) BuildRequires: pkgconfig(libmtp) >= 1.1.5 BuildRequires: pkgconfig(libsecret-unstable) BuildRequires: pkgconfig(libsystemd-login) >= 44 BuildRequires: pkgconfig(smbclient) %if %{with_udisks2} BuildRequires: pkgconfig(udisks2) >= 1.97 %endif Requires: libgvfscommon0 = %{version} Recommends: %{name}-lang Recommends: gvfs-backends Recommends: gvfs-common Recommends: gvfs-fuse BuildRoot: %{_tmppath}/%{name}-%{version}-build %glib2_gio_module_requires %description VFS functionality for GLib. %package -n libgvfscommon0 Summary: VFS functionality for GLib License: LGPL-2.0+ Group: Development/Libraries/C and C++ Requires: %{name} >= %{version} %description -n libgvfscommon0 VFS functionality for GLib. %package backend-afc Summary: VFS functionality for GLib -- iPod / iPhone Support License: LGPL-2.0+ Group: Development/Libraries/C and C++ Requires: %{name} = %{version} %description backend-afc This package provides a gvfs backend that supports iPod / iPhone devices. %package backends Summary: VFS functionality for GLib License: LGPL-2.0+ and GPL-3.0 Group: Development/Libraries/C and C++ Requires: %{name} = %{version} Recommends: gvfs-backend-afc Recommends: obex-data-server %if %{with_udisks2} Recommends: udisks2 %endif %glib2_gsettings_schema_requires %description backends VFS functionality for GLib. %package fuse Summary: VFS functionality for GLib License: LGPL-2.0+ Group: System/Filesystems Requires: %{name} = %{version} Requires: fuse %description fuse VFS functionality for GLib. %package devel Summary: VFS functionality for GLib License: LGPL-2.0+ Group: Development/Libraries/C and C++ Requires: %{name} = %{version} %description devel VFS functionality for GLib. %lang_package %prep %setup -q translation-update-upstream %patch5 -p1 %patch6 -p1 %patch7 -p1 %patch8 -p1 %patch9 -p1 %patch10 -p1 %patch11 -p1 %patch12 -p1 %patch13 -p1 %patch14 -p1 %patch15 -p1 %patch16 -p1 %patch17 -p1 %patch18 -p1 %build autoreconf -f libtoolize -c -f %configure \ --libexecdir=%{_libexecdir}/%{name} \ %if %{with_udisks2} --enable-udisks2 \ --disable-gdu \ %else --disable-udisks2 \ --enable-gdu \ %endif --disable-static make %install %make_install find %{buildroot}%{_libdir} -type f -name '*.la' -delete -print %find_lang %{name} %post %glib2_gio_module_post %postun %glib2_gio_module_postun %post backends %glib2_gsettings_schema_post %postun backends %glib2_gsettings_schema_postun %post -n libgvfscommon0 -p /sbin/ldconfig %postun -n libgvfscommon0 -p /sbin/ldconfig %clean rm -rf %{buildroot} %files %defattr(-, root, root) %doc AUTHORS NEWS README TODO %{_bindir}/gvfs-* %dir %{_datadir}/%{name} %dir %{_datadir}/%{name}/mounts %dir %{_datadir}/%{name}/remote-volume-monitors %{_libdir}/gio/modules/*.so %dir %{_libexecdir}/%{name} %{_libexecdir}/%{name}/gvfsd %{_datadir}/dbus-1/services/gvfs-daemon.service %{_libexecdir}/%{name}/gvfsd-metadata %{_datadir}/dbus-1/services/gvfs-metadata.service %dir %{_datadir}/bash-completion %dir %{_datadir}/bash-completion/completions %{_datadir}/bash-completion/completions/gvfs %{_mandir}/man1/gvfs-*.1%{?ext_man} %{_mandir}/man1/gvfsd.1%{?ext_man} %{_mandir}/man1/gvfsd-metadata.1%{?ext_man} %{_mandir}/man7/gvfs.7%{?ext_man} %files fuse %defattr(-, root, root) %{_libexecdir}/%{name}/gvfsd-fuse %dir %{_libexecdir}/tmpfiles.d %{_libexecdir}/tmpfiles.d/gvfsd-fuse-tmpfiles.conf %{_mandir}/man1/gvfsd-fuse.1%{?ext_man} %files backend-afc %defattr(-, root, root) %{_libexecdir}/%{name}/gvfs-afc-volume-monitor %{_datadir}/dbus-1/services/org.gtk.Private.AfcVolumeMonitor.service %{_datadir}/%{name}/remote-volume-monitors/afc.monitor %{_libexecdir}/%{name}/gvfsd-afc %{_datadir}/%{name}/mounts/afc.mount %files backends %defattr(-, root, root) %if %{with_udisks2} %doc monitor/udisks2/what-is-shown.txt %{_datadir}/dbus-1/services/org.gtk.Private.UDisks2VolumeMonitor.service %{_datadir}/%{name}/remote-volume-monitors/udisks2.monitor %{_libexecdir}/%{name}/gvfs-udisks2-volume-monitor %else %{_libexecdir}/%{name}/gvfs-gdu-volume-monitor %{_datadir}/dbus-1/services/org.gtk.Private.GduVolumeMonitor.service %{_datadir}/%{name}/remote-volume-monitors/gdu.monitor %endif %{_libexecdir}/%{name}/gvfs-gphoto2-volume-monitor %{_datadir}/dbus-1/services/org.gtk.Private.GPhoto2VolumeMonitor.service %{_datadir}/%{name}/remote-volume-monitors/gphoto2.monitor %{_libexecdir}/%{name}/gvfsd-afp %{_datadir}/%{name}/mounts/afp.mount %{_libexecdir}/%{name}/gvfsd-afp-browse %{_datadir}/%{name}/mounts/afp-browse.mount %{_libexecdir}/%{name}/gvfsd-archive %{_datadir}/%{name}/mounts/archive.mount %{_libexecdir}/%{name}/gvfsd-burn %{_datadir}/%{name}/mounts/burn.mount %if %{with_cdda} %{_libexecdir}/%{name}/gvfsd-cdda %{_datadir}/%{name}/mounts/cdda.mount %endif %{_libexecdir}/%{name}/gvfsd-computer %{_datadir}/%{name}/mounts/computer.mount %{_libexecdir}/%{name}/gvfsd-dav %{_datadir}/%{name}/mounts/dav.mount %{_datadir}/%{name}/mounts/dav+sd.mount %{_libexecdir}/%{name}/gvfsd-dnssd %{_datadir}/%{name}/mounts/dns-sd.mount %{_libexecdir}/%{name}/gvfsd-ftp %{_datadir}/%{name}/mounts/ftp.mount %{_libexecdir}/%{name}/gvfsd-gphoto2 %{_datadir}/%{name}/mounts/gphoto2.mount %{_libexecdir}/%{name}/gvfsd-http %{_datadir}/%{name}/mounts/http.mount %{_libexecdir}/%{name}/gvfs-goa-volume-monitor %{_datadir}/%{name}/remote-volume-monitors/goa.monitor %{_datadir}/dbus-1/services/org.gtk.Private.GoaVolumeMonitor.service %{_libexecdir}/%{name}/gvfsd-localtest %{_datadir}/%{name}/mounts/localtest.mount %{_libexecdir}/%{name}/gvfsd-mtp %{_libexecdir}/%{name}/gvfs-mtp-volume-monitor %{_datadir}/%{name}/remote-volume-monitors/mtp.monitor %{_datadir}/dbus-1/services/org.gtk.Private.MTPVolumeMonitor.service %{_datadir}/%{name}/mounts/mtp.mount %{_libexecdir}/%{name}/gvfsd-nds %{_datadir}/%{name}/mounts/nds.mount %{_libexecdir}/%{name}/gvfsd-network %{_datadir}/%{name}/mounts/network.mount %{_libexecdir}/%{name}/gvfsd-nvvfs %{_datadir}/%{name}/mounts/nvvfs.mount %{_libexecdir}/%{name}/gvfsd-obexftp %{_datadir}/%{name}/mounts/obexftp.mount %{_libexecdir}/%{name}/gvfsd-recent %{_datadir}/%{name}/mounts/recent.mount %{_libexecdir}/%{name}/gvfsd-sftp %{_datadir}/%{name}/mounts/sftp.mount %{_libexecdir}/%{name}/gvfsd-smb %{_datadir}/%{name}/mounts/smb.mount %{_libexecdir}/%{name}/gvfsd-smb-browse %{_datadir}/%{name}/mounts/smb-browse.mount # gvfsd-trash is GPLv3 because of trashlib. %{_libexecdir}/%{name}/gvfsd-trash %{_datadir}/%{name}/mounts/trash.mount # GSettings schemas & conversion data # Those schemas are used by gvfsd-network & gvfsd-smb %{_datadir}/glib-2.0/schemas/org.gnome.system.dns_sd.gschema.xml %{_datadir}/glib-2.0/schemas/org.gnome.system.gvfs.enums.xml %{_datadir}/glib-2.0/schemas/org.gnome.system.smb.gschema.xml %dir %{_datadir}/GConf %dir %{_datadir}/GConf/gsettings %{_datadir}/GConf/gsettings/gvfs-dns-sd.convert %{_datadir}/GConf/gsettings/gvfs-smb.convert %files -n libgvfscommon0 %defattr(-, root, root) %{_libdir}/*.so.* %files devel %defattr(-, root, root) %{_includedir}/gvfs-client %{_libdir}/*.so %files lang -f %{name}.lang %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor