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.
This commit is contained in:
Ondrej Holy 2015-06-04 09:40:17 +02:00
parent dfec61bce5
commit bcaf5c1fd7

View File

@ -3,7 +3,7 @@
Summary: Backends for the gio framework in GLib Summary: Backends for the gio framework in GLib
Name: gvfs Name: gvfs
Version: 1.25.2 Version: 1.25.2
Release: 1%{?dist} Release: 2%{?dist}
License: GPLv3 and LGPLv2+ and BSD and MPLv2.0 License: GPLv3 and LGPLv2+ and BSD and MPLv2.0
URL: http://www.gtk.org URL: http://www.gtk.org
@ -29,6 +29,7 @@ BuildRequires: systemd-devel >= 44
BuildRequires: libxslt-devel BuildRequires: libxslt-devel
BuildRequires: gtk3-devel BuildRequires: gtk3-devel
BuildRequires: docbook-style-xsl BuildRequires: docbook-style-xsl
Requires: %{name}-client%{?_isa} = %{version}-%{release}
Requires(post): desktop-file-utils Requires(post): desktop-file-utils
Requires(postun): 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. 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 %package devel
Summary: Development files for gvfs Summary: Development files for gvfs
Requires: %{name} = %{version}-%{release} Requires: %{name}-client%{?_isa} = %{version}-%{release}
%description devel %description devel
The gvfs-devel package contains headers and other files that are The gvfs-devel package contains headers and other files that are
@ -224,10 +233,7 @@ killall -USR1 gvfsd >&/dev/null || :
%postun archive %postun archive
update-desktop-database >&/dev/null || : update-desktop-database >&/dev/null || :
%files -f gvfs.lang %files
%{!?_licensedir:%global license %%doc}
%license COPYING COPYING.GPL3
%doc AUTHORS NEWS README
%dir %{_datadir}/gvfs %dir %{_datadir}/gvfs
%dir %{_datadir}/gvfs/mounts %dir %{_datadir}/gvfs/mounts
%{_datadir}/gvfs/mounts/sftp.mount %{_datadir}/gvfs/mounts/sftp.mount
@ -251,13 +257,7 @@ update-desktop-database >&/dev/null || :
%{_datadir}/gvfs/remote-volume-monitors/udisks2.monitor %{_datadir}/gvfs/remote-volume-monitors/udisks2.monitor
%{_datadir}/GConf/gsettings/*.convert %{_datadir}/GConf/gsettings/*.convert
%{_datadir}/glib-2.0/schemas/*.xml %{_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}/gvfs/libgvfsdaemon.so
%{_libdir}/gio/modules/libgioremote-volume-monitor.so
%{_libdir}/gio/modules/libgvfsdbus.so
%{_libexecdir}/gvfsd %{_libexecdir}/gvfsd
%{_libexecdir}/gvfsd-ftp %{_libexecdir}/gvfsd-ftp
%{_libexecdir}/gvfsd-sftp %{_libexecdir}/gvfsd-sftp
@ -273,28 +273,22 @@ update-desktop-database >&/dev/null || :
%{_libexecdir}/gvfsd-metadata %{_libexecdir}/gvfsd-metadata
%{_libexecdir}/gvfs-udisks2-volume-monitor %{_libexecdir}/gvfs-udisks2-volume-monitor
%{_libexecdir}/gvfsd-recent %{_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.1.gz
%doc %{_mandir}/man1/gvfsd-metadata.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 %doc %{_mandir}/man7/gvfs.7.gz
%{_bindir}/gvfs-*
%doc %{_mandir}/man1/gvfs-*
%files devel %files devel
%dir %{_includedir}/gvfs-client %dir %{_includedir}/gvfs-client
@ -360,6 +354,14 @@ update-desktop-database >&/dev/null || :
%{_datadir}/installed-tests %{_datadir}/installed-tests
%changelog %changelog
* Mon Jun 8 2015 Ondrej Holy <oholy@redhat.com> - 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 <kalevlember@gmail.com> - 1.25.2-1 * Sun May 31 2015 Kalev Lember <kalevlember@gmail.com> - 1.25.2-1
- Update to 1.25.2 - Update to 1.25.2