3ec751
Name:           spice-vdagent
007948
Version:        0.12.1
007948
Release:        1%{?dist}
3ec751
Summary:        Agent for Spice guests
3ec751
Group:          Applications/System
3ec751
License:        GPLv3+
3ec751
URL:            http://spice-space.org/
3ec751
Source0:        http://spice-space.org/download/releases/%{name}-%{version}.tar.bz2
10c2a8
BuildRequires:  systemd-devel spice-protocol libpciaccess-devel
10c2a8
BuildRequires:  libXrandr-devel libXinerama-devel libXfixes-devel
2f7cfe
BuildRequires:  systemd-units desktop-file-utils
2f7cfe
Requires(post): systemd-units
2f7cfe
Requires(preun): systemd-units
2f7cfe
Requires(postun): systemd-units
3ec751
3ec751
%description
3ec751
Spice agent for Linux guests offering the following features:
3ec751
3ec751
Features:
3ec751
* Client mouse mode (no need to grab mouse by client, no mouse lag)
3ec751
  this is handled by the daemon by feeding mouse events into the kernel
3ec751
  via uinput. This will only work if the active X-session is running a
3ec751
  spice-vdagent process so that its resolution can be determined.
3ec751
* Automatic adjustment of the X-session resolution to the client resolution
3ec751
* Support of copy and paste (text and images) between the active X-session
3ec751
  and the client
3ec751
3ec751
3ec751
%prep
3ec751
%setup -q
3ec751
3ec751
3ec751
%build
2f7cfe
%configure --with-session-info=systemd --with-init-script=systemd
007948
make %{?_smp_mflags} V=2
3ec751
3ec751
3ec751
%install
007948
make install DESTDIR=$RPM_BUILD_ROOT V=2
3ec751
3ec751
3ec751
%post
2f7cfe
%systemd_post spice-vdagentd.service
3ec751
3ec751
%preun
2f7cfe
%systemd_preun spice-vdagentd.service
3ec751
3ec751
%postun
2f7cfe
%systemd_postun_with_restart spice-vdagentd.service
3ec751
3ec751
3ec751
%files
3ec751
%doc COPYING ChangeLog README TODO
2f7cfe
%config(noreplace) %{_sysconfdir}/rsyslog.d/spice-vdagentd.conf
2f7cfe
/lib/udev/rules.d/70-spice-vdagentd.rules
2f7cfe
%{_unitdir}/spice-vdagentd.service
2f7cfe
%{_unitdir}/spice-vdagentd.target
2f7cfe
%{_prefix}/lib/tmpfiles.d/spice-vdagentd.conf
3ec751
%{_bindir}/spice-vdagent
3ec751
%{_sbindir}/spice-vdagentd
3ec751
%{_var}/run/spice-vdagentd
2f7cfe
%{_sysconfdir}/modules-load.d/spice-vdagentd.conf
3ec751
%{_sysconfdir}/xdg/autostart/spice-vdagent.desktop
3ec751
# For /usr/share/gdm/autostart/LoginWindow/spice-vdagent.desktop
3ec751
# We own the dir too, otherwise we must Require gdm
3ec751
%{_datadir}/gdm
3ec751
3ec751
3ec751
%changelog
007948
* Tue Jan  8 2013 Hans de Goede <hdegoede@redhat.com> - 0.12.1-1
007948
- New upstream release 0.12.1
007948
- Fixes various issues with dynamic monitor / resolution support
007948
c4ccff
* Mon Nov 12 2012 Hans de Goede <hdegoede@redhat.com> - 0.12.0-2
c4ccff
- Fix setting of mode on non arbitrary resolution capable X driver
c4ccff
- Fix wrong mouse coordinates on vms with multiple qxl devices
c4ccff
2f7cfe
* Sat Sep  1 2012 Hans de Goede <hdegoede@redhat.com> - 0.12.0-1
2f7cfe
- New upstream release 0.12.0
2f7cfe
- This moves the tmpfiles.d to /usr/lib/tmpfiles.d (rhbz#840194)
2f7cfe
- This adds a systemd .service file (rhbz#848102)
2f7cfe
c242d6
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.1-2
c242d6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
c242d6
d82c79
* Tue Mar 27 2012 Hans de Goede <hdegoede@redhat.com> - 0.10.1-1
d82c79
- New upstream release 0.10.1
d82c79
10c2a8
* Thu Mar 22 2012 Hans de Goede <hdegoede@redhat.com> - 0.10.0-1
10c2a8
- New upstream release 0.10.0
10c2a8
- This supports using systemd-logind instead of console-kit (rhbz#756398)
10c2a8
aae1aa
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-2
aae1aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
aae1aa
d3cc08
* Mon Jul 18 2011 Hans de Goede <hdegoede@redhat.com> 0.8.1-1
d3cc08
- New upstream release 0.8.1
d3cc08
6ccc77
* Fri Jul 15 2011 Hans de Goede <hdegoede@redhat.com> 0.8.0-2
6ccc77
- Make the per session agent process automatically reconnect to the system
6ccc77
  spice-vdagentd when the system daemon gets restarted
6ccc77
0569e2
* Tue Apr 19 2011 Hans de Goede <hdegoede@redhat.com> 0.8.0-1
0569e2
- New upstream release 0.8.0
0569e2
ae22ce
* Mon Mar 07 2011 Hans de Goede <hdegoede@redhat.com> 0.6.3-6
ae22ce
- Fix setting of the guest resolution from a multi monitor client
ae22ce
8d0552
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.3-5
8d0552
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
8d0552
6c7d60
* Mon Jan 10 2011 Hans de Goede <hdegoede@redhat.com> 0.6.3-4
6c7d60
- Make sysvinit script exit cleanly when not running on a spice enabled vm
6c7d60
33a113
* Fri Nov 19 2010 Hans de Goede <hdegoede@redhat.com> 0.6.3-3
33a113
- Put the pid and log files into their own subdir (#648553)
33a113
3ec751
* Mon Nov  8 2010 Hans de Goede <hdegoede@redhat.com> 0.6.3-2
3ec751
- Fix broken multiline description in initscript lsb header (#648549)
3ec751
3ec751
* Sat Oct 30 2010 Hans de Goede <hdegoede@redhat.com> 0.6.3-1
3ec751
- Initial Fedora package