3ec7519
Name:           spice-vdagent
2f7cfe8
Version:        0.12.0
2f7cfe8
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
10c2a8b
BuildRequires:  systemd-devel spice-protocol libpciaccess-devel
10c2a8b
BuildRequires:  libXrandr-devel libXinerama-devel libXfixes-devel
2f7cfe8
BuildRequires:  systemd-units desktop-file-utils
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
3ec7519
3ec7519
3ec7519
%build
2f7cfe8
%configure --with-session-info=systemd --with-init-script=systemd
0569e20
make %{?_smp_mflags}
3ec7519
3ec7519
3ec7519
%install
3ec7519
make install DESTDIR=$RPM_BUILD_ROOT
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
2f7cfe8
%{_sysconfdir}/modules-load.d/spice-vdagentd.conf
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
3ec7519
3ec7519
3ec7519
%changelog
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