Blame SPECS/spice-vdagent.spec

0a6c7d
Name:           spice-vdagent
0a6c7d
Version:        0.18.0
0a6c7d
Release:        3%{?dist}
0a6c7d
Summary:        Agent for Spice guests
0a6c7d
Group:          Applications/System
0a6c7d
License:        GPLv3+
0a6c7d
URL:            https://spice-space.org/
0a6c7d
Source0:        https://spice-space.org/download/releases/%{name}-%{version}.tar.bz2
0a6c7d
Patch00001:     0001-vdagent-Do-not-send-empty-screen-resolution-messages.patch
0a6c7d
Patch00002:     0002-udscs-Avoid-file-descriptor-leak.patch
0a6c7d
BuildRequires:  git-core
0a6c7d
BuildRequires:  systemd-devel glib2-devel spice-protocol >= 0.12.13
0a6c7d
BuildRequires:  libpciaccess-devel libXrandr-devel libXinerama-devel
0a6c7d
BuildRequires:  libXfixes-devel systemd desktop-file-utils libtool
0a6c7d
BuildRequires:  alsa-lib-devel dbus-devel
0a6c7d
%{?systemd_requires}
0a6c7d
0a6c7d
%description
0a6c7d
Spice agent for Linux guests offering the following features:
0a6c7d
0a6c7d
Features:
0a6c7d
* Client mouse mode (no need to grab mouse by client, no mouse lag)
0a6c7d
  this is handled by the daemon by feeding mouse events into the kernel
0a6c7d
  via uinput. This will only work if the active X-session is running a
0a6c7d
  spice-vdagent process so that its resolution can be determined.
0a6c7d
* Automatic adjustment of the X-session resolution to the client resolution
0a6c7d
* Support of copy and paste (text and images) between the active X-session
0a6c7d
  and the client
0a6c7d
0a6c7d
0a6c7d
%prep
0a6c7d
%autosetup -S git_am
0a6c7d
#autoreconf -fi
0a6c7d
0a6c7d
0a6c7d
%build
0a6c7d
%configure --with-session-info=systemd --with-init-script=systemd
0a6c7d
make %{?_smp_mflags} V=2
0a6c7d
0a6c7d
0a6c7d
%install
0a6c7d
make install DESTDIR=$RPM_BUILD_ROOT V=2
0a6c7d
0a6c7d
0a6c7d
%post
0a6c7d
%systemd_post spice-vdagentd.service spice-vdagentd.socket
0a6c7d
0a6c7d
%preun
0a6c7d
%systemd_preun spice-vdagentd.service spice-vdagentd.socket
0a6c7d
0a6c7d
%postun
0a6c7d
%systemd_postun_with_restart spice-vdagentd.service spice-vdagentd.socket
0a6c7d
0a6c7d
0a6c7d
%files
0a6c7d
%doc COPYING ChangeLog README TODO
0a6c7d
/usr/lib/udev/rules.d/70-spice-vdagentd.rules
0a6c7d
%{_unitdir}/spice-vdagentd.service
0a6c7d
%{_unitdir}/spice-vdagentd.socket
0a6c7d
%{_prefix}/lib/tmpfiles.d/spice-vdagentd.conf
0a6c7d
%{_bindir}/spice-vdagent
0a6c7d
%{_sbindir}/spice-vdagentd
0a6c7d
%{_var}/run/spice-vdagentd
0a6c7d
%{_sysconfdir}/xdg/autostart/spice-vdagent.desktop
0a6c7d
# For /usr/share/gdm/autostart/LoginWindow/spice-vdagent.desktop
0a6c7d
# We own the dir too, otherwise we must Require gdm
0a6c7d
%{_datadir}/gdm
0a6c7d
%{_mandir}/man1/%{name}*.1*
0a6c7d
0a6c7d
0a6c7d
%changelog
0a6c7d
* Tue Dec 18 2018 Victor Toso <victortoso@redhat.com> 0.18.0-3
0a6c7d
- Fix leak of unix sockets.
0a6c7d
  Resolves: rhbz#1660108
0a6c7d
0a6c7d
* Thu Nov 15 2018 Victor Toso <victortoso@redhat.com> 0.18.0-2
0a6c7d
- Fix unusable mouse on xorg resolution event in wayland
0a6c7d
  Resolves: rhbz#1641723
0a6c7d
0a6c7d
* Tue Jun 12 2018 Victor Toso <victortoso@redhat.com> 0.18.0-1
0a6c7d
- Update to spice-vdagent 0.18.0
0a6c7d
0a6c7d
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.17.0-6
0a6c7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
0a6c7d
0a6c7d
* Thu Jan 25 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.17.0-5
0a6c7d
- Fix systemd executions/requirements
0a6c7d
0a6c7d
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.17.0-4
0a6c7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
0a6c7d
0a6c7d
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.17.0-3
0a6c7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
0a6c7d
0a6c7d
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.17.0-2
0a6c7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
0a6c7d
0a6c7d
* Tue Nov 22 2016 Christophe Fergeau <cfergeau@redhat.com> 0.17.0-1
0a6c7d
- Update to spice-vdagent 0.17.0
0a6c7d
0a6c7d
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.0-3
0a6c7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
0a6c7d
0a6c7d
* Mon Oct 05 2015 Christophe Fergeau <cfergeau@redhat.com> 0.16.0-2
0a6c7d
- Add upstream patch fixing a memory corruption bug (double free)
0a6c7d
  Resolves: rhbz#1268666
0a6c7d
  Exit with a non-0 exit code when the virtio device cannot be opened by the
0a6c7d
  agent
0a6c7d
0a6c7d
* Tue Jun 30 2015 Christophe Fergeau <cfergeau@redhat.com> 0.16.0-1
0a6c7d
- Update to 0.16.0 release
0a6c7d
0a6c7d
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15.0-5
0a6c7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
0a6c7d
0a6c7d
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 0.15.0-4
0a6c7d
- Rebuilt for Fedora 23 Change
0a6c7d
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
0a6c7d
0a6c7d
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15.0-3
0a6c7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
0a6c7d
0a6c7d
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15.0-2
0a6c7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
0a6c7d
0a6c7d
* Mon Oct 14 2013 Alon Levy <alevy@redhat.com> - 0.15.0-1
0a6c7d
- New upstream release 0.15.0
0a6c7d
0a6c7d
* Tue Sep 10 2013 Hans de Goede <hdegoede@redhat.com> - 0.14.0-5
0a6c7d
- Silence session agent error logging when not running in a vm (rhbz#999804)
0a6c7d
- Release guest clipboard ownership on client disconnect (rhbz#1003977)
0a6c7d
0a6c7d
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14.0-4
0a6c7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
0a6c7d
0a6c7d
* Wed Jul  3 2013 Hans de Goede <hdegoede@redhat.com> - 0.14.0-3
0a6c7d
- Advertise clipboard line-endings for copy and paste line-ending conversion
0a6c7d
- Build spice-vdagentd as pie + relro
0a6c7d
0a6c7d
* Mon May 20 2013 Hans de Goede <hdegoede@redhat.com> - 0.14.0-2
0a6c7d
- Drop the no longer needed /etc/modules-load.d/spice-vdagentd.conf (#963201)
0a6c7d
0a6c7d
* Fri Apr 12 2013 Hans de Goede <hdegoede@redhat.com> - 0.14.0-1
0a6c7d
- New upstream release 0.14.0
0a6c7d
- Adds support for file transfers from client to guest
0a6c7d
- Adds manpages for spice-vdagent and spice-vdagentd
0a6c7d
0a6c7d
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.1-2
0a6c7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
0a6c7d
0a6c7d
* Tue Jan  8 2013 Hans de Goede <hdegoede@redhat.com> - 0.12.1-1
0a6c7d
- New upstream release 0.12.1
0a6c7d
- Fixes various issues with dynamic monitor / resolution support
0a6c7d
0a6c7d
* Mon Nov 12 2012 Hans de Goede <hdegoede@redhat.com> - 0.12.0-2
0a6c7d
- Fix setting of mode on non arbitrary resolution capable X driver
0a6c7d
- Fix wrong mouse coordinates on vms with multiple qxl devices
0a6c7d
0a6c7d
* Sat Sep  1 2012 Hans de Goede <hdegoede@redhat.com> - 0.12.0-1
0a6c7d
- New upstream release 0.12.0
0a6c7d
- This moves the tmpfiles.d to /usr/lib/tmpfiles.d (rhbz#840194)
0a6c7d
- This adds a systemd .service file (rhbz#848102)
0a6c7d
0a6c7d
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.1-2
0a6c7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
0a6c7d
0a6c7d
* Tue Mar 27 2012 Hans de Goede <hdegoede@redhat.com> - 0.10.1-1
0a6c7d
- New upstream release 0.10.1
0a6c7d
0a6c7d
* Thu Mar 22 2012 Hans de Goede <hdegoede@redhat.com> - 0.10.0-1
0a6c7d
- New upstream release 0.10.0
0a6c7d
- This supports using systemd-logind instead of console-kit (rhbz#756398)
0a6c7d
0a6c7d
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-2
0a6c7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
0a6c7d
0a6c7d
* Mon Jul 18 2011 Hans de Goede <hdegoede@redhat.com> 0.8.1-1
0a6c7d
- New upstream release 0.8.1
0a6c7d
0a6c7d
* Fri Jul 15 2011 Hans de Goede <hdegoede@redhat.com> 0.8.0-2
0a6c7d
- Make the per session agent process automatically reconnect to the system
0a6c7d
  spice-vdagentd when the system daemon gets restarted
0a6c7d
0a6c7d
* Tue Apr 19 2011 Hans de Goede <hdegoede@redhat.com> 0.8.0-1
0a6c7d
- New upstream release 0.8.0
0a6c7d
0a6c7d
* Mon Mar 07 2011 Hans de Goede <hdegoede@redhat.com> 0.6.3-6
0a6c7d
- Fix setting of the guest resolution from a multi monitor client
0a6c7d
0a6c7d
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.3-5
0a6c7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
0a6c7d
0a6c7d
* Mon Jan 10 2011 Hans de Goede <hdegoede@redhat.com> 0.6.3-4
0a6c7d
- Make sysvinit script exit cleanly when not running on a spice enabled vm
0a6c7d
0a6c7d
* Fri Nov 19 2010 Hans de Goede <hdegoede@redhat.com> 0.6.3-3
0a6c7d
- Put the pid and log files into their own subdir (#648553)
0a6c7d
0a6c7d
* Mon Nov  8 2010 Hans de Goede <hdegoede@redhat.com> 0.6.3-2
0a6c7d
- Fix broken multiline description in initscript lsb header (#648549)
0a6c7d
0a6c7d
* Sat Oct 30 2010 Hans de Goede <hdegoede@redhat.com> 0.6.3-1
0a6c7d
- Initial Fedora package