|
|
3ec7519 |
Name: spice-vdagent
|
|
|
3ec7519 |
Version: 0.6.3
|
|
|
8d05527 |
Release: 5%{?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
|
|
|
6c7d603 |
# Some small fixes from upstream git
|
|
|
3ec7519 |
Patch0: 0001-Install-spice-vdagentd-in-usr-sbin-not-sbin.patch
|
|
|
3ec7519 |
Patch1: 0002-Only-start-spice-vdagentd-in-runlevel-5.patch
|
|
|
3ec7519 |
Patch2: 0003-sysv-initscript-fix-lsb-header-multi-line-descriptio.patch
|
|
|
33a1137 |
Patch3: 0004-Put-the-pid-and-log-files-into-their-own-subdir.patch
|
|
|
6c7d603 |
Patch4: 0005-sysv-initscript-exit-cleanly-when-not-running-under-.patch
|
|
|
3ec7519 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
3ec7519 |
BuildRequires: dbus-devel spice-protocol libXrandr-devel libXfixes-devel
|
|
|
3ec7519 |
BuildRequires: desktop-file-utils
|
|
|
3ec7519 |
Requires: ConsoleKit
|
|
|
3ec7519 |
Requires(post): chkconfig
|
|
|
3ec7519 |
Requires(postun): initscripts
|
|
|
3ec7519 |
Requires(preun): chkconfig
|
|
|
3ec7519 |
Requires(preun): initscripts
|
|
|
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 |
%patch0 -p1
|
|
|
3ec7519 |
%patch1 -p1
|
|
|
3ec7519 |
%patch2 -p1
|
|
|
33a1137 |
%patch3 -p1
|
|
|
6c7d603 |
%patch4 -p1
|
|
|
3ec7519 |
|
|
|
3ec7519 |
|
|
|
3ec7519 |
%build
|
|
|
3ec7519 |
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
|
|
|
3ec7519 |
|
|
|
3ec7519 |
|
|
|
3ec7519 |
%install
|
|
|
3ec7519 |
rm -rf $RPM_BUILD_ROOT
|
|
|
3ec7519 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
3ec7519 |
|
|
|
3ec7519 |
|
|
|
3ec7519 |
%clean
|
|
|
3ec7519 |
rm -rf $RPM_BUILD_ROOT
|
|
|
3ec7519 |
|
|
|
3ec7519 |
|
|
|
3ec7519 |
%post
|
|
|
3ec7519 |
/sbin/chkconfig --add spice-vdagentd
|
|
|
3ec7519 |
|
|
|
3ec7519 |
%preun
|
|
|
3ec7519 |
if [ $1 = 0 ] ; then
|
|
|
3ec7519 |
/sbin/service spice-vdagentd stop >/dev/null 2>&1
|
|
|
3ec7519 |
/sbin/chkconfig --del spice-vdagentd
|
|
|
3ec7519 |
fi
|
|
|
3ec7519 |
|
|
|
3ec7519 |
%postun
|
|
|
3ec7519 |
if [ "$1" -ge "1" ] ; then
|
|
|
3ec7519 |
/sbin/service spice-vdagentd condrestart >/dev/null 2>&1 || :
|
|
|
3ec7519 |
fi
|
|
|
3ec7519 |
|
|
|
3ec7519 |
|
|
|
3ec7519 |
%files
|
|
|
3ec7519 |
%defattr(-,root,root,-)
|
|
|
3ec7519 |
%doc COPYING ChangeLog README TODO
|
|
|
3ec7519 |
%{_initddir}/spice-vdagentd
|
|
|
3ec7519 |
%{_bindir}/spice-vdagent
|
|
|
3ec7519 |
%{_sbindir}/spice-vdagentd
|
|
|
33a1137 |
%{_var}/log/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
|
|
|
3ec7519 |
|
|
|
3ec7519 |
|
|
|
3ec7519 |
%changelog
|
|
|
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
|