Sisyphus repository
Last update: 22 october 2019 | SRPMs: 17517 | Visits: 15403874
en ru br
ALT Linux repos

Group :: Networking/Remote access
RPM: spice-vdagent

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _localstatedir /var
#Use GTK+ instead of Xlib
%def_with gtk

Name: spice-vdagent
Version: 0.18.0
Release: alt1%ubt
Summary: Agent for Spice guests
Group: Networking/Remote access
License: GPLv3+

# VCS-git:

Source: %name-%version.tar
Source2: spice-vdagentd.init-alt
Patch: %name-%version.patch

BuildRequires(pre): rpm-build-ubt
BuildRequires: pkgconfig(glib-2.0) >= 2.34
%{?_with_gtk:BuildRequires: pkgconfig(gtk+-3.0) >= 3.10}
BuildRequires: pkgconfig(xfixes) pkgconfig(xrandr) >= 1.3 pkgconfig(xinerama) pkgconfig(x11)
BuildRequires: pkgconfig(spice-protocol) >= 0.12.13
BuildRequires: pkgconfig(alsa) >= 1.0.22
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(pciaccess) >= 0.10
BuildRequires: desktop-file-utils
BuildRequires: pkgconfig(systemd) pkgconfig(libsystemd) >= 209
BuildRequires: pkgconfig(udev)

Spice agent for Linux guests offering the following 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

%patch -p1

%configure \
   %{subst_with gtk} \
--with-session-info=auto \


install -m 0755 %SOURCE2 %buildroot%_initdir/spice-vdagentd

%post_service spice-vdagentd

%preun_service spice-vdagentd



Full changelog you can see here

design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin