From bcaf5c1fd7d8a484c13b5d7546526737f8756f2a Mon Sep 17 00:00:00 2001 From: Ondrej Holy Date: Thu, 4 Jun 2015 09:40:17 +0200 Subject: [PATCH] Move client libs into the own subpackage GVfs has a lot of low-level dependencies. We want to split gvfs package on client and daemon part due to app sandboxing, because we want to have only the client part of GVfs in the runtime and we don't want unnecessary dependencies there. --- gvfs.spec | 64 ++++++++++++++++++++++++++++--------------------------- 1 file changed, 33 insertions(+), 31 deletions(-) diff --git a/gvfs.spec b/gvfs.spec index da2e2cf..37802c9 100644 --- a/gvfs.spec +++ b/gvfs.spec @@ -3,7 +3,7 @@ Summary: Backends for the gio framework in GLib Name: gvfs Version: 1.25.2 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3 and LGPLv2+ and BSD and MPLv2.0 URL: http://www.gtk.org @@ -29,6 +29,7 @@ BuildRequires: systemd-devel >= 44 BuildRequires: libxslt-devel BuildRequires: gtk3-devel BuildRequires: docbook-style-xsl +Requires: %{name}-client%{?_isa} = %{version}-%{release} Requires(post): desktop-file-utils Requires(postun): desktop-file-utils @@ -49,9 +50,17 @@ The gvfs package provides backend implementations for the gio framework in GLib. It includes ftp, sftp, cifs. +%package client +Summary: Client modules of backends for the gio framework in GLib + +%description client +The gvfs package provides client modules of backend implementations for the gio +framework in GLib. + + %package devel Summary: Development files for gvfs -Requires: %{name} = %{version}-%{release} +Requires: %{name}-client%{?_isa} = %{version}-%{release} %description devel The gvfs-devel package contains headers and other files that are @@ -224,10 +233,7 @@ killall -USR1 gvfsd >&/dev/null || : %postun archive update-desktop-database >&/dev/null || : -%files -f gvfs.lang -%{!?_licensedir:%global license %%doc} -%license COPYING COPYING.GPL3 -%doc AUTHORS NEWS README +%files %dir %{_datadir}/gvfs %dir %{_datadir}/gvfs/mounts %{_datadir}/gvfs/mounts/sftp.mount @@ -251,13 +257,7 @@ update-desktop-database >&/dev/null || : %{_datadir}/gvfs/remote-volume-monitors/udisks2.monitor %{_datadir}/GConf/gsettings/*.convert %{_datadir}/glib-2.0/schemas/*.xml -%dir %{_datadir}/bash-completion -%dir %{_datadir}/bash-completion/completions -%{_datadir}/bash-completion/completions/gvfs* -%{_libdir}/gvfs/libgvfscommon.so %{_libdir}/gvfs/libgvfsdaemon.so -%{_libdir}/gio/modules/libgioremote-volume-monitor.so -%{_libdir}/gio/modules/libgvfsdbus.so %{_libexecdir}/gvfsd %{_libexecdir}/gvfsd-ftp %{_libexecdir}/gvfsd-sftp @@ -273,28 +273,22 @@ update-desktop-database >&/dev/null || : %{_libexecdir}/gvfsd-metadata %{_libexecdir}/gvfs-udisks2-volume-monitor %{_libexecdir}/gvfsd-recent -%{_bindir}/gvfs-cat -%{_bindir}/gvfs-copy -%{_bindir}/gvfs-info -%{_bindir}/gvfs-less -%{_bindir}/gvfs-ls -%{_bindir}/gvfs-mime -%{_bindir}/gvfs-mkdir -%{_bindir}/gvfs-monitor-dir -%{_bindir}/gvfs-monitor-file -%{_bindir}/gvfs-mount -%{_bindir}/gvfs-move -%{_bindir}/gvfs-open -%{_bindir}/gvfs-rename -%{_bindir}/gvfs-rm -%{_bindir}/gvfs-save -%{_bindir}/gvfs-trash -%{_bindir}/gvfs-tree -%{_bindir}/gvfs-set-attribute -%doc %{_mandir}/man1/gvfs-* %doc %{_mandir}/man1/gvfsd.1.gz %doc %{_mandir}/man1/gvfsd-metadata.1.gz + +%files client -f gvfs.lang +%{!?_licensedir:%global license %%doc} +%license COPYING COPYING.GPL3 +%doc AUTHORS NEWS README +%dir %{_datadir}/bash-completion +%dir %{_datadir}/bash-completion/completions +%{_datadir}/bash-completion/completions/gvfs* +%{_libdir}/gvfs/libgvfscommon.so +%{_libdir}/gio/modules/libgioremote-volume-monitor.so +%{_libdir}/gio/modules/libgvfsdbus.so %doc %{_mandir}/man7/gvfs.7.gz +%{_bindir}/gvfs-* +%doc %{_mandir}/man1/gvfs-* %files devel %dir %{_includedir}/gvfs-client @@ -360,6 +354,14 @@ update-desktop-database >&/dev/null || : %{_datadir}/installed-tests %changelog +* Mon Jun 8 2015 Ondrej Holy - 1.25.2-2 +- Move client libs into the own subpackage +- Move gvfs tools into the own subpackage +- Move gvfsd-fuse-tmpfiles.conf into fuse subpackage +- Remove obsoleted expat-devel dependency +- Remove obsoleted Group tags +- Fix bogus dates + * Sun May 31 2015 Kalev Lember - 1.25.2-1 - Update to 1.25.2