3ec7519
Name:           spice-vdagent
Alon Levy ab08b20
Version:        0.15.0
Alon Levy ab08b20
Release:        1%{?dist}
3ec7519
Summary:        Agent for Spice guests
3ec7519
Group:          Applications/System
3ec7519
License:        GPLv3+
3ec7519
URL:            http://spice-space.org/
3ec7519
Source0:        http://spice-space.org/download/releases/%{name}-%{version}.tar.bz2
a084815
# Fixes from upstream git
a084815
BuildRequires:  systemd-devel glib2-devel spice-protocol >= 0.12.6
a084815
BuildRequires:  libpciaccess-devel libXrandr-devel libXinerama-devel
a084815
BuildRequires:  libXfixes-devel systemd-units desktop-file-utils libtool
2f7cfe8
Requires(post): systemd-units
2f7cfe8
Requires(preun): systemd-units
2f7cfe8
Requires(postun): systemd-units
3ec7519
3ec7519
%description
3ec7519
Spice agent for Linux guests offering the following features:
3ec7519
3ec7519
Features:
3ec7519
* Client mouse mode (no need to grab mouse by client, no mouse lag)
3ec7519
  this is handled by the daemon by feeding mouse events into the kernel
3ec7519
  via uinput. This will only work if the active X-session is running a
3ec7519
  spice-vdagent process so that its resolution can be determined.
3ec7519
* Automatic adjustment of the X-session resolution to the client resolution
3ec7519
* Support of copy and paste (text and images) between the active X-session
3ec7519
  and the client
3ec7519
3ec7519
3ec7519
%prep
3ec7519
%setup -q
a084815
autoreconf -fi
3ec7519
3ec7519
3ec7519
%build
2f7cfe8
%configure --with-session-info=systemd --with-init-script=systemd
007948e
make %{?_smp_mflags} V=2
3ec7519
3ec7519
3ec7519
%install
007948e
make install DESTDIR=$RPM_BUILD_ROOT V=2
3ec7519
3ec7519
3ec7519
%post
2f7cfe8
%systemd_post spice-vdagentd.service
3ec7519
3ec7519
%preun
2f7cfe8
%systemd_preun spice-vdagentd.service
3ec7519
3ec7519
%postun
2f7cfe8
%systemd_postun_with_restart spice-vdagentd.service
3ec7519
3ec7519
3ec7519
%files
3ec7519
%doc COPYING ChangeLog README TODO
2f7cfe8
%config(noreplace) %{_sysconfdir}/rsyslog.d/spice-vdagentd.conf
2f7cfe8
/lib/udev/rules.d/70-spice-vdagentd.rules
2f7cfe8
%{_unitdir}/spice-vdagentd.service
2f7cfe8
%{_unitdir}/spice-vdagentd.target
2f7cfe8
%{_prefix}/lib/tmpfiles.d/spice-vdagentd.conf
3ec7519
%{_bindir}/spice-vdagent
3ec7519
%{_sbindir}/spice-vdagentd
3ec7519
%{_var}/run/spice-vdagentd
3ec7519
%{_sysconfdir}/xdg/autostart/spice-vdagent.desktop
3ec7519
# For /usr/share/gdm/autostart/LoginWindow/spice-vdagent.desktop
3ec7519
# We own the dir too, otherwise we must Require gdm
3ec7519
%{_datadir}/gdm
8a4f24f
%{_mandir}/man1/%{name}*.1*
3ec7519
3ec7519
3ec7519
%changelog
Alon Levy ab08b20
* Mon Oct 14 2013 Alon Levy <alevy@redhat.com> - 0.15.0-1
Alon Levy ab08b20
- New upstream release 0.15.0
Alon Levy ab08b20
f5f826c
* Tue Sep 10 2013 Hans de Goede <hdegoede@redhat.com> - 0.14.0-5
f5f826c
- Silence session agent error logging when not running in a vm (rhbz#999804)
f5f826c
- Release guest clipboard ownership on client disconnect (rhbz#1003977)
f5f826c
02033c1
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14.0-4
02033c1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
02033c1
a084815
* Wed Jul  3 2013 Hans de Goede <hdegoede@redhat.com> - 0.14.0-3
a084815
- Advertise clipboard line-endings for copy and paste line-ending conversion
a084815
- Build spice-vdagentd as pie + relro
a084815
07275dd
* Mon May 20 2013 Hans de Goede <hdegoede@redhat.com> - 0.14.0-2
07275dd
- Drop the no longer needed /etc/modules-load.d/spice-vdagentd.conf (#963201)
07275dd
8a4f24f
* Fri Apr 12 2013 Hans de Goede <hdegoede@redhat.com> - 0.14.0-1
8a4f24f
- New upstream release 0.14.0
8a4f24f
- Adds support for file transfers from client to guest
8a4f24f
- Adds manpages for spice-vdagent and spice-vdagentd
8a4f24f
18790f2
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.1-2
18790f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
18790f2
007948e
* Tue Jan  8 2013 Hans de Goede <hdegoede@redhat.com> - 0.12.1-1
007948e
- New upstream release 0.12.1
007948e
- Fixes various issues with dynamic monitor / resolution support
007948e
c4ccffc
* Mon Nov 12 2012 Hans de Goede <hdegoede@redhat.com> - 0.12.0-2
c4ccffc
- Fix setting of mode on non arbitrary resolution capable X driver
c4ccffc
- Fix wrong mouse coordinates on vms with multiple qxl devices
c4ccffc
2f7cfe8
* Sat Sep  1 2012 Hans de Goede <hdegoede@redhat.com> - 0.12.0-1
2f7cfe8
- New upstream release 0.12.0
2f7cfe8
- This moves the tmpfiles.d to /usr/lib/tmpfiles.d (rhbz#840194)
2f7cfe8
- This adds a systemd .service file (rhbz#848102)
2f7cfe8
c242d62
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.1-2
c242d62
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
c242d62
d82c792
* Tue Mar 27 2012 Hans de Goede <hdegoede@redhat.com> - 0.10.1-1
d82c792
- New upstream release 0.10.1
d82c792
10c2a8b
* Thu Mar 22 2012 Hans de Goede <hdegoede@redhat.com> - 0.10.0-1
10c2a8b
- New upstream release 0.10.0
10c2a8b
- This supports using systemd-logind instead of console-kit (rhbz#756398)
10c2a8b
aae1aa6
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-2
aae1aa6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
aae1aa6
d3cc086
* Mon Jul 18 2011 Hans de Goede <hdegoede@redhat.com> 0.8.1-1
d3cc086
- New upstream release 0.8.1
d3cc086
6ccc771
* Fri Jul 15 2011 Hans de Goede <hdegoede@redhat.com> 0.8.0-2
6ccc771
- Make the per session agent process automatically reconnect to the system
6ccc771
  spice-vdagentd when the system daemon gets restarted
6ccc771
0569e20
* Tue Apr 19 2011 Hans de Goede <hdegoede@redhat.com> 0.8.0-1
0569e20
- New upstream release 0.8.0
0569e20
ae22cef
* Mon Mar 07 2011 Hans de Goede <hdegoede@redhat.com> 0.6.3-6
ae22cef
- Fix setting of the guest resolution from a multi monitor client
ae22cef
8d05527
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.3-5
8d05527
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
8d05527
6c7d603
* Mon Jan 10 2011 Hans de Goede <hdegoede@redhat.com> 0.6.3-4
6c7d603
- Make sysvinit script exit cleanly when not running on a spice enabled vm
6c7d603
33a1137
* Fri Nov 19 2010 Hans de Goede <hdegoede@redhat.com> 0.6.3-3
33a1137
- Put the pid and log files into their own subdir (#648553)
33a1137
3ec7519
* Mon Nov  8 2010 Hans de Goede <hdegoede@redhat.com> 0.6.3-2
3ec7519
- Fix broken multiline description in initscript lsb header (#648549)
3ec7519
3ec7519
* Sat Oct 30 2010 Hans de Goede <hdegoede@redhat.com> 0.6.3-1
3ec7519
- Initial Fedora package