spice-vdagent/spice-vdagent.spec

130 lines
4.0 KiB
RPMSpec
Raw Normal View History

#
# spec file for package spice-vdagent
#
Accepting request 863394 from home:bfrogers:branches:Virtualization - Update to version 0.21.0 * Changes include: * Security fixes: CVE-2020-25650, CVE-2020-25651, CVE-2020-25652, CVE-2020-25653 * Fix shutdown issue due to incompatible thread/fork uses with GLib * Fix mouse pointer issues under Wayland * Fix a crash when running without dbus (e.g: within containers) * !9 - Introduce optional GTK4 support for monitor management * !13 - Enable copying files from client using webdav * Bump spice-protocol dependency to v0.14.3 * Drop all patches, since they are in base tarball now: Add-a-test-for-session_info.patch Avoids-unchecked-file-transfer-IDs-allocation-and-us.patch Avoids-uncontrolled-active_xfers-allocations.patch Avoids-unlimited-agent-connections.patch Avoids-user-session-hijacking.patch Better-check-for-sessions.patch cleanup-active_xfers-when-the-client-disconnects.patch systemd-login-Avoid-a-crash-on-container.patch vdagent-connection-Pass-err-to-g_credentials_get_uni.patch vdagentd-Automatically-release-agent_data.patch vdagentd-Avoid-calling-chmod.patch vdagentd-Better-check-for-vdagent_connection_get_pee.patch vdagentd-Limit-number-of-agents-per-session-to-1.patch vdagentd-Use-bool-for-agent_owns_clipboard-and-clien.patch vdagentd-do-not-allow-to-use-an-already-used-file-xf.patch vdagentd-init-static-uinput-before-fork.patch vdagentd-work-around-GLib-s-fork-issues.patch OBS-URL: https://build.opensuse.org/request/show/863394 OBS-URL: https://build.opensuse.org/package/show/Virtualization/spice-vdagent?expand=0&rev=43
2021-01-15 18:48:26 +01:00
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2014 B1 Systems GmbH, Vohburg, 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.
Accepting request 703813 from home:bfrogers:branches:Virtualization - Update to 0.19.0 * Add libdrm dependency * Fix file descriptor leak on failed connections * Handle new VD_AGENT_GRAPHICS_DEVICE_INFO message advertised by VD_AGENT_CAP_GRAPHICS_DEVICE_INFO capability * Session agent autostart changed to WindowManager ([rhbz#1623947]) This fixes possible race with xdg-user-dirs * Fix of sending empty screen resolution messages ([rhbz#1641723]) * Fix 'Dependency failed for Activation socket' with systemd ([rhbz#1545212]) * Fix error messages about on selecting text on host ([rhbz#1594876]) this was also fixed with Gtk backend * Update paths from /var/run → /run * Fix Session agent restart * Add test for file creation * Prefer GLib memory functions stdlib.h ones * Several code and logs improvements * Add GTK+ framework to handle x11 backend such as clipboard * Deprecate X11 backend in favor of GTK+ framework * Ask pkg-config to appropriate directory to install udev rules * Fix leak of udscs's file descriptor * Better quote directory path when calling xdg-open to save file transfer * Bump GLib to 2.34 * Add systemd socket activation (rhbz#1340160) * Add support to detailed errors on file transfers * Add check for available free space in guest before starting a file transfer * Use better names for duplicated files on file transfer * Improve support on big endian guests (#5) * Use IdleHint to check if a session is locked over console-kit (rhbz#1412673) * Fixes double free on errors over udscs by improving memory ownership * Hide autostart file on Unity * Improve command line messages for vdagentd * Fix typo in --enable-static-uinput configure option * Code repository moved to gitlab.freedesktop.org - Add keyring and tarball signature files - obsoleted patches removed: 8ba17481-quote-save-dir-before-passing-to-shell.patch vdagentd-do-endian-swapping.patch OBS-URL: https://build.opensuse.org/request/show/703813 OBS-URL: https://build.opensuse.org/package/show/Virtualization/spice-vdagent?expand=0&rev=26
2019-05-18 00:21:17 +02:00
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
#This test doesn't work right in build service, but does outside of it
%bcond_with session_info_test
Name: spice-vdagent
Accepting request 863394 from home:bfrogers:branches:Virtualization - Update to version 0.21.0 * Changes include: * Security fixes: CVE-2020-25650, CVE-2020-25651, CVE-2020-25652, CVE-2020-25653 * Fix shutdown issue due to incompatible thread/fork uses with GLib * Fix mouse pointer issues under Wayland * Fix a crash when running without dbus (e.g: within containers) * !9 - Introduce optional GTK4 support for monitor management * !13 - Enable copying files from client using webdav * Bump spice-protocol dependency to v0.14.3 * Drop all patches, since they are in base tarball now: Add-a-test-for-session_info.patch Avoids-unchecked-file-transfer-IDs-allocation-and-us.patch Avoids-uncontrolled-active_xfers-allocations.patch Avoids-unlimited-agent-connections.patch Avoids-user-session-hijacking.patch Better-check-for-sessions.patch cleanup-active_xfers-when-the-client-disconnects.patch systemd-login-Avoid-a-crash-on-container.patch vdagent-connection-Pass-err-to-g_credentials_get_uni.patch vdagentd-Automatically-release-agent_data.patch vdagentd-Avoid-calling-chmod.patch vdagentd-Better-check-for-vdagent_connection_get_pee.patch vdagentd-Limit-number-of-agents-per-session-to-1.patch vdagentd-Use-bool-for-agent_owns_clipboard-and-clien.patch vdagentd-do-not-allow-to-use-an-already-used-file-xf.patch vdagentd-init-static-uinput-before-fork.patch vdagentd-work-around-GLib-s-fork-issues.patch OBS-URL: https://build.opensuse.org/request/show/863394 OBS-URL: https://build.opensuse.org/package/show/Virtualization/spice-vdagent?expand=0&rev=43
2021-01-15 18:48:26 +01:00
Version: 0.21.0
Release: 0
Summary: Agent for Spice guests
Accepting request 703813 from home:bfrogers:branches:Virtualization - Update to 0.19.0 * Add libdrm dependency * Fix file descriptor leak on failed connections * Handle new VD_AGENT_GRAPHICS_DEVICE_INFO message advertised by VD_AGENT_CAP_GRAPHICS_DEVICE_INFO capability * Session agent autostart changed to WindowManager ([rhbz#1623947]) This fixes possible race with xdg-user-dirs * Fix of sending empty screen resolution messages ([rhbz#1641723]) * Fix 'Dependency failed for Activation socket' with systemd ([rhbz#1545212]) * Fix error messages about on selecting text on host ([rhbz#1594876]) this was also fixed with Gtk backend * Update paths from /var/run → /run * Fix Session agent restart * Add test for file creation * Prefer GLib memory functions stdlib.h ones * Several code and logs improvements * Add GTK+ framework to handle x11 backend such as clipboard * Deprecate X11 backend in favor of GTK+ framework * Ask pkg-config to appropriate directory to install udev rules * Fix leak of udscs's file descriptor * Better quote directory path when calling xdg-open to save file transfer * Bump GLib to 2.34 * Add systemd socket activation (rhbz#1340160) * Add support to detailed errors on file transfers * Add check for available free space in guest before starting a file transfer * Use better names for duplicated files on file transfer * Improve support on big endian guests (#5) * Use IdleHint to check if a session is locked over console-kit (rhbz#1412673) * Fixes double free on errors over udscs by improving memory ownership * Hide autostart file on Unity * Improve command line messages for vdagentd * Fix typo in --enable-static-uinput configure option * Code repository moved to gitlab.freedesktop.org - Add keyring and tarball signature files - obsoleted patches removed: 8ba17481-quote-save-dir-before-passing-to-shell.patch vdagentd-do-endian-swapping.patch OBS-URL: https://build.opensuse.org/request/show/703813 OBS-URL: https://build.opensuse.org/package/show/Virtualization/spice-vdagent?expand=0&rev=26
2019-05-18 00:21:17 +02:00
License: GPL-3.0-or-later
Group: System/Daemons
URL: http://spice-space.org/
Accepting request 703813 from home:bfrogers:branches:Virtualization - Update to 0.19.0 * Add libdrm dependency * Fix file descriptor leak on failed connections * Handle new VD_AGENT_GRAPHICS_DEVICE_INFO message advertised by VD_AGENT_CAP_GRAPHICS_DEVICE_INFO capability * Session agent autostart changed to WindowManager ([rhbz#1623947]) This fixes possible race with xdg-user-dirs * Fix of sending empty screen resolution messages ([rhbz#1641723]) * Fix 'Dependency failed for Activation socket' with systemd ([rhbz#1545212]) * Fix error messages about on selecting text on host ([rhbz#1594876]) this was also fixed with Gtk backend * Update paths from /var/run → /run * Fix Session agent restart * Add test for file creation * Prefer GLib memory functions stdlib.h ones * Several code and logs improvements * Add GTK+ framework to handle x11 backend such as clipboard * Deprecate X11 backend in favor of GTK+ framework * Ask pkg-config to appropriate directory to install udev rules * Fix leak of udscs's file descriptor * Better quote directory path when calling xdg-open to save file transfer * Bump GLib to 2.34 * Add systemd socket activation (rhbz#1340160) * Add support to detailed errors on file transfers * Add check for available free space in guest before starting a file transfer * Use better names for duplicated files on file transfer * Improve support on big endian guests (#5) * Use IdleHint to check if a session is locked over console-kit (rhbz#1412673) * Fixes double free on errors over udscs by improving memory ownership * Hide autostart file on Unity * Improve command line messages for vdagentd * Fix typo in --enable-static-uinput configure option * Code repository moved to gitlab.freedesktop.org - Add keyring and tarball signature files - obsoleted patches removed: 8ba17481-quote-save-dir-before-passing-to-shell.patch vdagentd-do-endian-swapping.patch OBS-URL: https://build.opensuse.org/request/show/703813 OBS-URL: https://build.opensuse.org/package/show/Virtualization/spice-vdagent?expand=0&rev=26
2019-05-18 00:21:17 +02:00
Source: http://spice-space.org/download/releases/%{name}-%{version}.tar.bz2
Source1: http://spice-space.org/download/releases/%{name}-%{version}.tar.bz2.sig
Source2: %{name}.keyring
BuildRequires: alsa-devel >= 1.0.22
BuildRequires: desktop-file-utils
BuildRequires: libXfixes-devel
BuildRequires: libXinerama-devel
BuildRequires: libXrandr-devel >= 1.3
BuildRequires: libpciaccess-devel >= 0.10
BuildRequires: libtool
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(gio-2.0) >= 2.50
BuildRequires: pkgconfig(glib-2.0) >= 2.58
BuildRequires: pkgconfig(gobject-2.0) >= 2.50
BuildRequires: pkgconfig(gtk+-3.0) >= 3.22
BuildRequires: pkgconfig(libdrm)
BuildRequires: pkgconfig(libsystemd)
Accepting request 863394 from home:bfrogers:branches:Virtualization - Update to version 0.21.0 * Changes include: * Security fixes: CVE-2020-25650, CVE-2020-25651, CVE-2020-25652, CVE-2020-25653 * Fix shutdown issue due to incompatible thread/fork uses with GLib * Fix mouse pointer issues under Wayland * Fix a crash when running without dbus (e.g: within containers) * !9 - Introduce optional GTK4 support for monitor management * !13 - Enable copying files from client using webdav * Bump spice-protocol dependency to v0.14.3 * Drop all patches, since they are in base tarball now: Add-a-test-for-session_info.patch Avoids-unchecked-file-transfer-IDs-allocation-and-us.patch Avoids-uncontrolled-active_xfers-allocations.patch Avoids-unlimited-agent-connections.patch Avoids-user-session-hijacking.patch Better-check-for-sessions.patch cleanup-active_xfers-when-the-client-disconnects.patch systemd-login-Avoid-a-crash-on-container.patch vdagent-connection-Pass-err-to-g_credentials_get_uni.patch vdagentd-Automatically-release-agent_data.patch vdagentd-Avoid-calling-chmod.patch vdagentd-Better-check-for-vdagent_connection_get_pee.patch vdagentd-Limit-number-of-agents-per-session-to-1.patch vdagentd-Use-bool-for-agent_owns_clipboard-and-clien.patch vdagentd-do-not-allow-to-use-an-already-used-file-xf.patch vdagentd-init-static-uinput-before-fork.patch vdagentd-work-around-GLib-s-fork-issues.patch OBS-URL: https://build.opensuse.org/request/show/863394 OBS-URL: https://build.opensuse.org/package/show/Virtualization/spice-vdagent?expand=0&rev=43
2021-01-15 18:48:26 +01:00
BuildRequires: pkgconfig(spice-protocol) >= 0.14.3
BuildRequires: pkgconfig(systemd)
Accepting request 703813 from home:bfrogers:branches:Virtualization - Update to 0.19.0 * Add libdrm dependency * Fix file descriptor leak on failed connections * Handle new VD_AGENT_GRAPHICS_DEVICE_INFO message advertised by VD_AGENT_CAP_GRAPHICS_DEVICE_INFO capability * Session agent autostart changed to WindowManager ([rhbz#1623947]) This fixes possible race with xdg-user-dirs * Fix of sending empty screen resolution messages ([rhbz#1641723]) * Fix 'Dependency failed for Activation socket' with systemd ([rhbz#1545212]) * Fix error messages about on selecting text on host ([rhbz#1594876]) this was also fixed with Gtk backend * Update paths from /var/run → /run * Fix Session agent restart * Add test for file creation * Prefer GLib memory functions stdlib.h ones * Several code and logs improvements * Add GTK+ framework to handle x11 backend such as clipboard * Deprecate X11 backend in favor of GTK+ framework * Ask pkg-config to appropriate directory to install udev rules * Fix leak of udscs's file descriptor * Better quote directory path when calling xdg-open to save file transfer * Bump GLib to 2.34 * Add systemd socket activation (rhbz#1340160) * Add support to detailed errors on file transfers * Add check for available free space in guest before starting a file transfer * Use better names for duplicated files on file transfer * Improve support on big endian guests (#5) * Use IdleHint to check if a session is locked over console-kit (rhbz#1412673) * Fixes double free on errors over udscs by improving memory ownership * Hide autostart file on Unity * Improve command line messages for vdagentd * Fix typo in --enable-static-uinput configure option * Code repository moved to gitlab.freedesktop.org - Add keyring and tarball signature files - obsoleted patches removed: 8ba17481-quote-save-dir-before-passing-to-shell.patch vdagentd-do-endian-swapping.patch OBS-URL: https://build.opensuse.org/request/show/703813 OBS-URL: https://build.opensuse.org/package/show/Virtualization/spice-vdagent?expand=0&rev=26
2019-05-18 00:21:17 +02:00
BuildRequires: pkgconfig(udev)
Supplements: modalias(xorg-x11-server:virtio:d00000003v*)
%{?systemd_requires}
%description
Spice agent for Linux guests offering the following features:
Features:
* Client mouse mode (no need to grab mouse by client, no mouse lag)
this is handled by the daemon by feeding mouse events into the kernel
via uinput. This will only work if the active X-session is running a
spice-vdagent process so that its resolution can be determined.
* Automatic adjustment of the X-session resolution to the client resolution
* Support of copy and paste (text and images) between the active X-session
and the client
%prep
%setup -q
%build
autoreconf
%configure \
--with-session-info=systemd \
--with-init-script=systemd
make %{?_smp_mflags} V=2
%check
Accepting request 863394 from home:bfrogers:branches:Virtualization - Update to version 0.21.0 * Changes include: * Security fixes: CVE-2020-25650, CVE-2020-25651, CVE-2020-25652, CVE-2020-25653 * Fix shutdown issue due to incompatible thread/fork uses with GLib * Fix mouse pointer issues under Wayland * Fix a crash when running without dbus (e.g: within containers) * !9 - Introduce optional GTK4 support for monitor management * !13 - Enable copying files from client using webdav * Bump spice-protocol dependency to v0.14.3 * Drop all patches, since they are in base tarball now: Add-a-test-for-session_info.patch Avoids-unchecked-file-transfer-IDs-allocation-and-us.patch Avoids-uncontrolled-active_xfers-allocations.patch Avoids-unlimited-agent-connections.patch Avoids-user-session-hijacking.patch Better-check-for-sessions.patch cleanup-active_xfers-when-the-client-disconnects.patch systemd-login-Avoid-a-crash-on-container.patch vdagent-connection-Pass-err-to-g_credentials_get_uni.patch vdagentd-Automatically-release-agent_data.patch vdagentd-Avoid-calling-chmod.patch vdagentd-Better-check-for-vdagent_connection_get_pee.patch vdagentd-Limit-number-of-agents-per-session-to-1.patch vdagentd-Use-bool-for-agent_owns_clipboard-and-clien.patch vdagentd-do-not-allow-to-use-an-already-used-file-xf.patch vdagentd-init-static-uinput-before-fork.patch vdagentd-work-around-GLib-s-fork-issues.patch OBS-URL: https://build.opensuse.org/request/show/863394 OBS-URL: https://build.opensuse.org/package/show/Virtualization/spice-vdagent?expand=0&rev=43
2021-01-15 18:48:26 +01:00
%if %{with session_info_test}
make check V=2
Accepting request 863394 from home:bfrogers:branches:Virtualization - Update to version 0.21.0 * Changes include: * Security fixes: CVE-2020-25650, CVE-2020-25651, CVE-2020-25652, CVE-2020-25653 * Fix shutdown issue due to incompatible thread/fork uses with GLib * Fix mouse pointer issues under Wayland * Fix a crash when running without dbus (e.g: within containers) * !9 - Introduce optional GTK4 support for monitor management * !13 - Enable copying files from client using webdav * Bump spice-protocol dependency to v0.14.3 * Drop all patches, since they are in base tarball now: Add-a-test-for-session_info.patch Avoids-unchecked-file-transfer-IDs-allocation-and-us.patch Avoids-uncontrolled-active_xfers-allocations.patch Avoids-unlimited-agent-connections.patch Avoids-user-session-hijacking.patch Better-check-for-sessions.patch cleanup-active_xfers-when-the-client-disconnects.patch systemd-login-Avoid-a-crash-on-container.patch vdagent-connection-Pass-err-to-g_credentials_get_uni.patch vdagentd-Automatically-release-agent_data.patch vdagentd-Avoid-calling-chmod.patch vdagentd-Better-check-for-vdagent_connection_get_pee.patch vdagentd-Limit-number-of-agents-per-session-to-1.patch vdagentd-Use-bool-for-agent_owns_clipboard-and-clien.patch vdagentd-do-not-allow-to-use-an-already-used-file-xf.patch vdagentd-init-static-uinput-before-fork.patch vdagentd-work-around-GLib-s-fork-issues.patch OBS-URL: https://build.opensuse.org/request/show/863394 OBS-URL: https://build.opensuse.org/package/show/Virtualization/spice-vdagent?expand=0&rev=43
2021-01-15 18:48:26 +01:00
%endif
%install
make install DESTDIR=%{buildroot} V=2
# create rc symlink
ln -s service %{buildroot}%{_sbindir}/rcspice-vdagentd
mkdir -p %{buildroot}%{_datadir}/gdm/greeter/autostart
mv %{buildroot}%{_datadir}/gdm/autostart/LoginWindow/*.desktop %{buildroot}%{_datadir}/gdm/greeter/autostart
rm -fr %{buildroot}%{_datadir}/gdm/autostart
%pre
%service_add_pre spice-vdagentd.service
Accepting request 703813 from home:bfrogers:branches:Virtualization - Update to 0.19.0 * Add libdrm dependency * Fix file descriptor leak on failed connections * Handle new VD_AGENT_GRAPHICS_DEVICE_INFO message advertised by VD_AGENT_CAP_GRAPHICS_DEVICE_INFO capability * Session agent autostart changed to WindowManager ([rhbz#1623947]) This fixes possible race with xdg-user-dirs * Fix of sending empty screen resolution messages ([rhbz#1641723]) * Fix 'Dependency failed for Activation socket' with systemd ([rhbz#1545212]) * Fix error messages about on selecting text on host ([rhbz#1594876]) this was also fixed with Gtk backend * Update paths from /var/run → /run * Fix Session agent restart * Add test for file creation * Prefer GLib memory functions stdlib.h ones * Several code and logs improvements * Add GTK+ framework to handle x11 backend such as clipboard * Deprecate X11 backend in favor of GTK+ framework * Ask pkg-config to appropriate directory to install udev rules * Fix leak of udscs's file descriptor * Better quote directory path when calling xdg-open to save file transfer * Bump GLib to 2.34 * Add systemd socket activation (rhbz#1340160) * Add support to detailed errors on file transfers * Add check for available free space in guest before starting a file transfer * Use better names for duplicated files on file transfer * Improve support on big endian guests (#5) * Use IdleHint to check if a session is locked over console-kit (rhbz#1412673) * Fixes double free on errors over udscs by improving memory ownership * Hide autostart file on Unity * Improve command line messages for vdagentd * Fix typo in --enable-static-uinput configure option * Code repository moved to gitlab.freedesktop.org - Add keyring and tarball signature files - obsoleted patches removed: 8ba17481-quote-save-dir-before-passing-to-shell.patch vdagentd-do-endian-swapping.patch OBS-URL: https://build.opensuse.org/request/show/703813 OBS-URL: https://build.opensuse.org/package/show/Virtualization/spice-vdagent?expand=0&rev=26
2019-05-18 00:21:17 +02:00
%service_add_pre spice-vdagentd.socket
%post
%service_add_post spice-vdagentd.service
if [ "$1" -eq 1 ]; then
systemctl -q enable spice-vdagentd.service || :
fi
Accepting request 703813 from home:bfrogers:branches:Virtualization - Update to 0.19.0 * Add libdrm dependency * Fix file descriptor leak on failed connections * Handle new VD_AGENT_GRAPHICS_DEVICE_INFO message advertised by VD_AGENT_CAP_GRAPHICS_DEVICE_INFO capability * Session agent autostart changed to WindowManager ([rhbz#1623947]) This fixes possible race with xdg-user-dirs * Fix of sending empty screen resolution messages ([rhbz#1641723]) * Fix 'Dependency failed for Activation socket' with systemd ([rhbz#1545212]) * Fix error messages about on selecting text on host ([rhbz#1594876]) this was also fixed with Gtk backend * Update paths from /var/run → /run * Fix Session agent restart * Add test for file creation * Prefer GLib memory functions stdlib.h ones * Several code and logs improvements * Add GTK+ framework to handle x11 backend such as clipboard * Deprecate X11 backend in favor of GTK+ framework * Ask pkg-config to appropriate directory to install udev rules * Fix leak of udscs's file descriptor * Better quote directory path when calling xdg-open to save file transfer * Bump GLib to 2.34 * Add systemd socket activation (rhbz#1340160) * Add support to detailed errors on file transfers * Add check for available free space in guest before starting a file transfer * Use better names for duplicated files on file transfer * Improve support on big endian guests (#5) * Use IdleHint to check if a session is locked over console-kit (rhbz#1412673) * Fixes double free on errors over udscs by improving memory ownership * Hide autostart file on Unity * Improve command line messages for vdagentd * Fix typo in --enable-static-uinput configure option * Code repository moved to gitlab.freedesktop.org - Add keyring and tarball signature files - obsoleted patches removed: 8ba17481-quote-save-dir-before-passing-to-shell.patch vdagentd-do-endian-swapping.patch OBS-URL: https://build.opensuse.org/request/show/703813 OBS-URL: https://build.opensuse.org/package/show/Virtualization/spice-vdagent?expand=0&rev=26
2019-05-18 00:21:17 +02:00
%service_add_post spice-vdagentd.socket
%tmpfiles_create %_tmpfilesdir/spice-vdagentd.conf
%preun
%service_del_preun spice-vdagentd.service
Accepting request 703813 from home:bfrogers:branches:Virtualization - Update to 0.19.0 * Add libdrm dependency * Fix file descriptor leak on failed connections * Handle new VD_AGENT_GRAPHICS_DEVICE_INFO message advertised by VD_AGENT_CAP_GRAPHICS_DEVICE_INFO capability * Session agent autostart changed to WindowManager ([rhbz#1623947]) This fixes possible race with xdg-user-dirs * Fix of sending empty screen resolution messages ([rhbz#1641723]) * Fix 'Dependency failed for Activation socket' with systemd ([rhbz#1545212]) * Fix error messages about on selecting text on host ([rhbz#1594876]) this was also fixed with Gtk backend * Update paths from /var/run → /run * Fix Session agent restart * Add test for file creation * Prefer GLib memory functions stdlib.h ones * Several code and logs improvements * Add GTK+ framework to handle x11 backend such as clipboard * Deprecate X11 backend in favor of GTK+ framework * Ask pkg-config to appropriate directory to install udev rules * Fix leak of udscs's file descriptor * Better quote directory path when calling xdg-open to save file transfer * Bump GLib to 2.34 * Add systemd socket activation (rhbz#1340160) * Add support to detailed errors on file transfers * Add check for available free space in guest before starting a file transfer * Use better names for duplicated files on file transfer * Improve support on big endian guests (#5) * Use IdleHint to check if a session is locked over console-kit (rhbz#1412673) * Fixes double free on errors over udscs by improving memory ownership * Hide autostart file on Unity * Improve command line messages for vdagentd * Fix typo in --enable-static-uinput configure option * Code repository moved to gitlab.freedesktop.org - Add keyring and tarball signature files - obsoleted patches removed: 8ba17481-quote-save-dir-before-passing-to-shell.patch vdagentd-do-endian-swapping.patch OBS-URL: https://build.opensuse.org/request/show/703813 OBS-URL: https://build.opensuse.org/package/show/Virtualization/spice-vdagent?expand=0&rev=26
2019-05-18 00:21:17 +02:00
%service_del_preun spice-vdagentd.socket
%postun
%service_del_postun spice-vdagentd.service
Accepting request 703813 from home:bfrogers:branches:Virtualization - Update to 0.19.0 * Add libdrm dependency * Fix file descriptor leak on failed connections * Handle new VD_AGENT_GRAPHICS_DEVICE_INFO message advertised by VD_AGENT_CAP_GRAPHICS_DEVICE_INFO capability * Session agent autostart changed to WindowManager ([rhbz#1623947]) This fixes possible race with xdg-user-dirs * Fix of sending empty screen resolution messages ([rhbz#1641723]) * Fix 'Dependency failed for Activation socket' with systemd ([rhbz#1545212]) * Fix error messages about on selecting text on host ([rhbz#1594876]) this was also fixed with Gtk backend * Update paths from /var/run → /run * Fix Session agent restart * Add test for file creation * Prefer GLib memory functions stdlib.h ones * Several code and logs improvements * Add GTK+ framework to handle x11 backend such as clipboard * Deprecate X11 backend in favor of GTK+ framework * Ask pkg-config to appropriate directory to install udev rules * Fix leak of udscs's file descriptor * Better quote directory path when calling xdg-open to save file transfer * Bump GLib to 2.34 * Add systemd socket activation (rhbz#1340160) * Add support to detailed errors on file transfers * Add check for available free space in guest before starting a file transfer * Use better names for duplicated files on file transfer * Improve support on big endian guests (#5) * Use IdleHint to check if a session is locked over console-kit (rhbz#1412673) * Fixes double free on errors over udscs by improving memory ownership * Hide autostart file on Unity * Improve command line messages for vdagentd * Fix typo in --enable-static-uinput configure option * Code repository moved to gitlab.freedesktop.org - Add keyring and tarball signature files - obsoleted patches removed: 8ba17481-quote-save-dir-before-passing-to-shell.patch vdagentd-do-endian-swapping.patch OBS-URL: https://build.opensuse.org/request/show/703813 OBS-URL: https://build.opensuse.org/package/show/Virtualization/spice-vdagent?expand=0&rev=26
2019-05-18 00:21:17 +02:00
%service_del_postun spice-vdagentd.socket
%files
%defattr(-,root,root)
Accepting request 703813 from home:bfrogers:branches:Virtualization - Update to 0.19.0 * Add libdrm dependency * Fix file descriptor leak on failed connections * Handle new VD_AGENT_GRAPHICS_DEVICE_INFO message advertised by VD_AGENT_CAP_GRAPHICS_DEVICE_INFO capability * Session agent autostart changed to WindowManager ([rhbz#1623947]) This fixes possible race with xdg-user-dirs * Fix of sending empty screen resolution messages ([rhbz#1641723]) * Fix 'Dependency failed for Activation socket' with systemd ([rhbz#1545212]) * Fix error messages about on selecting text on host ([rhbz#1594876]) this was also fixed with Gtk backend * Update paths from /var/run → /run * Fix Session agent restart * Add test for file creation * Prefer GLib memory functions stdlib.h ones * Several code and logs improvements * Add GTK+ framework to handle x11 backend such as clipboard * Deprecate X11 backend in favor of GTK+ framework * Ask pkg-config to appropriate directory to install udev rules * Fix leak of udscs's file descriptor * Better quote directory path when calling xdg-open to save file transfer * Bump GLib to 2.34 * Add systemd socket activation (rhbz#1340160) * Add support to detailed errors on file transfers * Add check for available free space in guest before starting a file transfer * Use better names for duplicated files on file transfer * Improve support on big endian guests (#5) * Use IdleHint to check if a session is locked over console-kit (rhbz#1412673) * Fixes double free on errors over udscs by improving memory ownership * Hide autostart file on Unity * Improve command line messages for vdagentd * Fix typo in --enable-static-uinput configure option * Code repository moved to gitlab.freedesktop.org - Add keyring and tarball signature files - obsoleted patches removed: 8ba17481-quote-save-dir-before-passing-to-shell.patch vdagentd-do-endian-swapping.patch OBS-URL: https://build.opensuse.org/request/show/703813 OBS-URL: https://build.opensuse.org/package/show/Virtualization/spice-vdagent?expand=0&rev=26
2019-05-18 00:21:17 +02:00
%doc CHANGELOG.md README.md
%license COPYING
%ghost /run/spice-vdagentd
%{_udevrulesdir}/70-spice-vdagentd.rules
%{_unitdir}/spice-vdagentd.service
Accepting request 703813 from home:bfrogers:branches:Virtualization - Update to 0.19.0 * Add libdrm dependency * Fix file descriptor leak on failed connections * Handle new VD_AGENT_GRAPHICS_DEVICE_INFO message advertised by VD_AGENT_CAP_GRAPHICS_DEVICE_INFO capability * Session agent autostart changed to WindowManager ([rhbz#1623947]) This fixes possible race with xdg-user-dirs * Fix of sending empty screen resolution messages ([rhbz#1641723]) * Fix 'Dependency failed for Activation socket' with systemd ([rhbz#1545212]) * Fix error messages about on selecting text on host ([rhbz#1594876]) this was also fixed with Gtk backend * Update paths from /var/run → /run * Fix Session agent restart * Add test for file creation * Prefer GLib memory functions stdlib.h ones * Several code and logs improvements * Add GTK+ framework to handle x11 backend such as clipboard * Deprecate X11 backend in favor of GTK+ framework * Ask pkg-config to appropriate directory to install udev rules * Fix leak of udscs's file descriptor * Better quote directory path when calling xdg-open to save file transfer * Bump GLib to 2.34 * Add systemd socket activation (rhbz#1340160) * Add support to detailed errors on file transfers * Add check for available free space in guest before starting a file transfer * Use better names for duplicated files on file transfer * Improve support on big endian guests (#5) * Use IdleHint to check if a session is locked over console-kit (rhbz#1412673) * Fixes double free on errors over udscs by improving memory ownership * Hide autostart file on Unity * Improve command line messages for vdagentd * Fix typo in --enable-static-uinput configure option * Code repository moved to gitlab.freedesktop.org - Add keyring and tarball signature files - obsoleted patches removed: 8ba17481-quote-save-dir-before-passing-to-shell.patch vdagentd-do-endian-swapping.patch OBS-URL: https://build.opensuse.org/request/show/703813 OBS-URL: https://build.opensuse.org/package/show/Virtualization/spice-vdagent?expand=0&rev=26
2019-05-18 00:21:17 +02:00
%{_unitdir}/spice-vdagentd.socket
%{_tmpfilesdir}/spice-vdagentd.conf
%{_bindir}/spice-vdagent
%{_sbindir}/spice-vdagentd
%{_sbindir}/rcspice-vdagentd
%{_sysconfdir}/xdg/autostart/spice-vdagent.desktop
# For /usr/share/gdm/autostart/LoginWindow/spice-vdagent.desktop
# We own the dir too, otherwise we must Require gdm
%{_datadir}/gdm
%{_mandir}/man1/%{name}*.1*
%changelog