Blame SPECS/spice-vdagent.spec

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