|
|
bc4b25 |
Name: spice-vdagent
|
|
|
bc4b25 |
Version: 0.21.0
|
|
|
32eeaa |
Release: 5%{?dist}
|
|
|
bc4b25 |
Summary: Agent for Spice guests
|
|
|
bc4b25 |
License: GPLv3+
|
|
|
bc4b25 |
URL: https://spice-space.org/
|
|
|
bc4b25 |
Source0: https://spice-space.org/download/releases/%{name}-%{version}.tar.bz2
|
|
|
bc4b25 |
Source1: https://spice-space.org/download/releases/%{name}-%{version}.tar.bz2.sig
|
|
|
bc4b25 |
Source2: jrope-7FDAB9AF.keyring
|
|
|
bc4b25 |
|
|
|
bc4b25 |
Patch0001: 0001-Fix-g_memdup-deprecation-warning-with-glib-2.68.patch
|
|
|
be5118 |
Patch0002: 0002-vdagent-udscs-limit-retry-to-connect-to-vdagentd.patch
|
|
|
be5118 |
Patch0003: 0003-udscs-udscs_connect-return-error-to-caller.patch
|
|
|
32eeaa |
Patch0004: 0004-Do-not-process-X11-events-in-vdagent_x11_create.patch
|
|
|
32eeaa |
Patch0005: 0005-vdagent-Remove-watch-event-on-vdagent_display_destro.patch
|
|
|
bc4b25 |
|
|
|
bc4b25 |
BuildRequires: make
|
|
|
bc4b25 |
BuildRequires: systemd-devel
|
|
|
bc4b25 |
BuildRequires: glib2-devel >= 2.50
|
|
|
bc4b25 |
BuildRequires: spice-protocol >= 0.14.3
|
|
|
bc4b25 |
BuildRequires: libXrandr-devel libXinerama-devel
|
|
|
bc4b25 |
BuildRequires: libXfixes-devel systemd desktop-file-utils libtool
|
|
|
bc4b25 |
BuildRequires: alsa-lib-devel dbus-devel libdrm-devel
|
|
|
bc4b25 |
# For autoreconf, needed after clipboard patch series
|
|
|
bc4b25 |
BuildRequires: automake autoconf
|
|
|
bc4b25 |
BuildRequires: gnupg2
|
|
|
bc4b25 |
%{?systemd_requires}
|
|
|
bc4b25 |
|
|
|
bc4b25 |
%description
|
|
|
bc4b25 |
Spice agent for Linux guests offering the following features:
|
|
|
bc4b25 |
|
|
|
bc4b25 |
Features:
|
|
|
bc4b25 |
* Client mouse mode (no need to grab mouse by client, no mouse lag)
|
|
|
bc4b25 |
this is handled by the daemon by feeding mouse events into the kernel
|
|
|
bc4b25 |
via uinput. This will only work if the active X-session is running a
|
|
|
bc4b25 |
spice-vdagent process so that its resolution can be determined.
|
|
|
bc4b25 |
* Automatic adjustment of the X-session resolution to the client resolution
|
|
|
bc4b25 |
* Support of copy and paste (text and images) between the active X-session
|
|
|
bc4b25 |
and the client
|
|
|
bc4b25 |
|
|
|
bc4b25 |
|
|
|
bc4b25 |
%prep
|
|
|
bc4b25 |
gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
|
|
|
bc4b25 |
%autosetup -p1
|
|
|
bc4b25 |
autoreconf -fi
|
|
|
bc4b25 |
|
|
|
bc4b25 |
|
|
|
bc4b25 |
%build
|
|
|
bc4b25 |
%configure \
|
|
|
bc4b25 |
--with-session-info=systemd \
|
|
|
bc4b25 |
--with-init-script=systemd \
|
|
|
bc4b25 |
--disable-pciaccess
|
|
|
bc4b25 |
|
|
|
bc4b25 |
make %{?_smp_mflags} V=2
|
|
|
bc4b25 |
|
|
|
bc4b25 |
|
|
|
bc4b25 |
%install
|
|
|
bc4b25 |
make install DESTDIR=$RPM_BUILD_ROOT V=2
|
|
|
bc4b25 |
|
|
|
bc4b25 |
|
|
|
bc4b25 |
%post
|
|
|
bc4b25 |
%systemd_post spice-vdagentd.service spice-vdagentd.socket
|
|
|
bc4b25 |
|
|
|
bc4b25 |
%preun
|
|
|
bc4b25 |
%systemd_preun spice-vdagentd.service spice-vdagentd.socket
|
|
|
bc4b25 |
|
|
|
bc4b25 |
%postun
|
|
|
bc4b25 |
%systemd_postun_with_restart spice-vdagentd.service spice-vdagentd.socket
|
|
|
bc4b25 |
|
|
|
bc4b25 |
|
|
|
bc4b25 |
%files
|
|
|
bc4b25 |
%doc COPYING CHANGELOG.md README.md
|
|
|
bc4b25 |
/usr/lib/udev/rules.d/70-spice-vdagentd.rules
|
|
|
bc4b25 |
%{_unitdir}/spice-vdagentd.service
|
|
|
bc4b25 |
%{_unitdir}/spice-vdagentd.socket
|
|
|
bc4b25 |
%{_prefix}/lib/tmpfiles.d/spice-vdagentd.conf
|
|
|
bc4b25 |
%{_bindir}/spice-vdagent
|
|
|
bc4b25 |
%{_sbindir}/spice-vdagentd
|
|
|
bc4b25 |
%{_var}/run/spice-vdagentd
|
|
|
bc4b25 |
%{_sysconfdir}/xdg/autostart/spice-vdagent.desktop
|
|
|
bc4b25 |
# For /usr/share/gdm/autostart/LoginWindow/spice-vdagent.desktop
|
|
|
bc4b25 |
# We own the dir too, otherwise we must Require gdm
|
|
|
bc4b25 |
%{_datadir}/gdm
|
|
|
bc4b25 |
%{_mandir}/man1/%{name}*.1*
|
|
|
bc4b25 |
|
|
|
bc4b25 |
|
|
|
bc4b25 |
%changelog
|
|
|
32eeaa |
* Mon Jan 16 2023 Victor Toso <victortoso@redhat.com> 0.21.0-5
|
|
|
32eeaa |
- Avoid crash due use before initialisation of X11 events
|
|
|
32eeaa |
Related: rhbz#2160750
|
|
|
32eeaa |
|
|
|
be5118 |
* Tue Dec 21 2021 Victor Toso <victortoso@redhat.com> 0.21.0-4
|
|
|
be5118 |
- Limit session agent to (re)connect to system agent to a minute
|
|
|
be5118 |
Related: rhbz#2028013
|
|
|
be5118 |
|
|
|
bc4b25 |
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0.21.0-3
|
|
|
bc4b25 |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
bc4b25 |
Related: rhbz#1991688
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Tue Jun 01 2021 Uri Lublin <uril@redhat.com> - 0.21.0-2
|
|
|
bc4b25 |
- Build without pciaccess
|
|
|
bc4b25 |
Resolves: rhbz#1964922
|
|
|
bc4b25 |
- Fix g_memdup deprecation warning with glib >= 2.68
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Mon Feb 8 2021 Victor Toso <victortoso@redhat.com> 0.21.0-1
|
|
|
bc4b25 |
- Update to spice-vdagent 0.21.0
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.20.0-4
|
|
|
bc4b25 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.20.0-3
|
|
|
bc4b25 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Thu Mar 26 2020 Victor Toso <victortoso@redhat.com> 0.20.0-2
|
|
|
bc4b25 |
- Fix agent shutdown
|
|
|
bc4b25 |
Resolves: rhbz#1813667
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Tue Mar 10 2020 Victor Toso <victortoso@redhat.com> 0.20.0-1
|
|
|
bc4b25 |
- Update to spice-vdagent 0.20.0
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.19.0-5
|
|
|
bc4b25 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Fri Oct 04 2019 Adam Williamson <awilliam@redhat.com> - 0.19.0-4
|
|
|
bc4b25 |
- Backport clipboard-race patches for #1755038
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Fri Sep 13 2019 Benjamin Berg <bberg@redhat.com> - 0.19.0-3
|
|
|
bc4b25 |
- Add patch to lookup graphical session
|
|
|
bc4b25 |
https://gitlab.freedesktop.org/spice/linux/vd_agent/merge_requests/2
|
|
|
bc4b25 |
- Resolves: #1750120
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.19.0-2
|
|
|
bc4b25 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Fri Apr 12 2019 Victor Toso <victortoso@redhat.com> 0.19.0-1
|
|
|
bc4b25 |
- Update to spice-vdagent 0.19.0
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.18.0-3
|
|
|
bc4b25 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.18.0-2
|
|
|
bc4b25 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Tue Jun 12 2018 Victor Toso <victortoso@redhat.com> 0.18.0-1
|
|
|
bc4b25 |
- Update to spice-vdagent 0.18.0
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.17.0-6
|
|
|
bc4b25 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Thu Jan 25 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.17.0-5
|
|
|
bc4b25 |
- Fix systemd executions/requirements
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.17.0-4
|
|
|
bc4b25 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.17.0-3
|
|
|
bc4b25 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.17.0-2
|
|
|
bc4b25 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Tue Nov 22 2016 Christophe Fergeau <cfergeau@redhat.com> 0.17.0-1
|
|
|
bc4b25 |
- Update to spice-vdagent 0.17.0
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.0-3
|
|
|
bc4b25 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Mon Oct 05 2015 Christophe Fergeau <cfergeau@redhat.com> 0.16.0-2
|
|
|
bc4b25 |
- Add upstream patch fixing a memory corruption bug (double free)
|
|
|
bc4b25 |
Resolves: rhbz#1268666
|
|
|
bc4b25 |
Exit with a non-0 exit code when the virtio device cannot be opened by the
|
|
|
bc4b25 |
agent
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Tue Jun 30 2015 Christophe Fergeau <cfergeau@redhat.com> 0.16.0-1
|
|
|
bc4b25 |
- Update to 0.16.0 release
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15.0-5
|
|
|
bc4b25 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 0.15.0-4
|
|
|
bc4b25 |
- Rebuilt for Fedora 23 Change
|
|
|
bc4b25 |
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15.0-3
|
|
|
bc4b25 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15.0-2
|
|
|
bc4b25 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Mon Oct 14 2013 Alon Levy <alevy@redhat.com> - 0.15.0-1
|
|
|
bc4b25 |
- New upstream release 0.15.0
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Tue Sep 10 2013 Hans de Goede <hdegoede@redhat.com> - 0.14.0-5
|
|
|
bc4b25 |
- Silence session agent error logging when not running in a vm (rhbz#999804)
|
|
|
bc4b25 |
- Release guest clipboard ownership on client disconnect (rhbz#1003977)
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14.0-4
|
|
|
bc4b25 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Wed Jul 3 2013 Hans de Goede <hdegoede@redhat.com> - 0.14.0-3
|
|
|
bc4b25 |
- Advertise clipboard line-endings for copy and paste line-ending conversion
|
|
|
bc4b25 |
- Build spice-vdagentd as pie + relro
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Mon May 20 2013 Hans de Goede <hdegoede@redhat.com> - 0.14.0-2
|
|
|
bc4b25 |
- Drop the no longer needed /etc/modules-load.d/spice-vdagentd.conf (#963201)
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Fri Apr 12 2013 Hans de Goede <hdegoede@redhat.com> - 0.14.0-1
|
|
|
bc4b25 |
- New upstream release 0.14.0
|
|
|
bc4b25 |
- Adds support for file transfers from client to guest
|
|
|
bc4b25 |
- Adds manpages for spice-vdagent and spice-vdagentd
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.1-2
|
|
|
bc4b25 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Tue Jan 8 2013 Hans de Goede <hdegoede@redhat.com> - 0.12.1-1
|
|
|
bc4b25 |
- New upstream release 0.12.1
|
|
|
bc4b25 |
- Fixes various issues with dynamic monitor / resolution support
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Mon Nov 12 2012 Hans de Goede <hdegoede@redhat.com> - 0.12.0-2
|
|
|
bc4b25 |
- Fix setting of mode on non arbitrary resolution capable X driver
|
|
|
bc4b25 |
- Fix wrong mouse coordinates on vms with multiple qxl devices
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Sat Sep 1 2012 Hans de Goede <hdegoede@redhat.com> - 0.12.0-1
|
|
|
bc4b25 |
- New upstream release 0.12.0
|
|
|
bc4b25 |
- This moves the tmpfiles.d to /usr/lib/tmpfiles.d (rhbz#840194)
|
|
|
bc4b25 |
- This adds a systemd .service file (rhbz#848102)
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.1-2
|
|
|
bc4b25 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Tue Mar 27 2012 Hans de Goede <hdegoede@redhat.com> - 0.10.1-1
|
|
|
bc4b25 |
- New upstream release 0.10.1
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Thu Mar 22 2012 Hans de Goede <hdegoede@redhat.com> - 0.10.0-1
|
|
|
bc4b25 |
- New upstream release 0.10.0
|
|
|
bc4b25 |
- This supports using systemd-logind instead of console-kit (rhbz#756398)
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-2
|
|
|
bc4b25 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Mon Jul 18 2011 Hans de Goede <hdegoede@redhat.com> 0.8.1-1
|
|
|
bc4b25 |
- New upstream release 0.8.1
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Fri Jul 15 2011 Hans de Goede <hdegoede@redhat.com> 0.8.0-2
|
|
|
bc4b25 |
- Make the per session agent process automatically reconnect to the system
|
|
|
bc4b25 |
spice-vdagentd when the system daemon gets restarted
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Tue Apr 19 2011 Hans de Goede <hdegoede@redhat.com> 0.8.0-1
|
|
|
bc4b25 |
- New upstream release 0.8.0
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Mon Mar 07 2011 Hans de Goede <hdegoede@redhat.com> 0.6.3-6
|
|
|
bc4b25 |
- Fix setting of the guest resolution from a multi monitor client
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.3-5
|
|
|
bc4b25 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Mon Jan 10 2011 Hans de Goede <hdegoede@redhat.com> 0.6.3-4
|
|
|
bc4b25 |
- Make sysvinit script exit cleanly when not running on a spice enabled vm
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Fri Nov 19 2010 Hans de Goede <hdegoede@redhat.com> 0.6.3-3
|
|
|
bc4b25 |
- Put the pid and log files into their own subdir (#648553)
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Mon Nov 8 2010 Hans de Goede <hdegoede@redhat.com> 0.6.3-2
|
|
|
bc4b25 |
- Fix broken multiline description in initscript lsb header (#648549)
|
|
|
bc4b25 |
|
|
|
bc4b25 |
* Sat Oct 30 2010 Hans de Goede <hdegoede@redhat.com> 0.6.3-1
|
|
|
bc4b25 |
- Initial Fedora package
|