Accepting request 220663 from home:seife:testing
Without spice-vdagent in the guest, SPICE is only half as spicy, so let's get it into Factory / openSUSE proper! OBS-URL: https://build.opensuse.org/request/show/220663 OBS-URL: https://build.opensuse.org/package/show/Virtualization/spice-vdagent?expand=0&rev=1
This commit is contained in:
commit
0047c7f17c
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
spice-vdagent-0.15.0.tar.bz2
Normal file
3
spice-vdagent-0.15.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5bae1747307c2f4195f6de97639391be7c6be6c5673fdcc9febed6faca22bd34
|
||||||
|
size 123527
|
12
spice-vdagent.changes
Normal file
12
spice-vdagent.changes
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 3 08:39:02 UTC 2014 - seife+obs@b1-systems.com
|
||||||
|
|
||||||
|
- run spec-cleaner
|
||||||
|
- remove autoreconf call
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Feb 2 14:15:26 UTC 2014 - seife+obs@b1-systems.com
|
||||||
|
|
||||||
|
- import the spec file from fedora core 21, adapt for openSUSE
|
||||||
|
- version 0.15.0
|
||||||
|
|
101
spice-vdagent.spec
Normal file
101
spice-vdagent.spec
Normal file
@ -0,0 +1,101 @@
|
|||||||
|
#
|
||||||
|
# spec file for package spice-vdagent
|
||||||
|
#
|
||||||
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
|
# Copyright (c) 2014 B1 Systems GmbH, Vohburg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: spice-vdagent
|
||||||
|
Version: 0.15.0
|
||||||
|
Release: 0
|
||||||
|
Summary: Agent for Spice guests
|
||||||
|
License: GPL-3.0+
|
||||||
|
Group: Applications/System
|
||||||
|
Url: http://spice-space.org/
|
||||||
|
Source0: http://spice-space.org/download/releases/%{name}-%{version}.tar.bz2
|
||||||
|
BuildRequires: desktop-file-utils
|
||||||
|
BuildRequires: glib2-devel
|
||||||
|
BuildRequires: libXfixes-devel
|
||||||
|
BuildRequires: libXinerama-devel
|
||||||
|
BuildRequires: libXrandr-devel
|
||||||
|
BuildRequires: libpciaccess-devel
|
||||||
|
BuildRequires: libtool
|
||||||
|
BuildRequires: spice-protocol-devel >= 0.12.6
|
||||||
|
BuildRequires: systemd
|
||||||
|
BuildRequires: systemd-devel
|
||||||
|
%{?systemd_requires}
|
||||||
|
|
||||||
|
%description
|
||||||
|
Spice agent for Linux guests offering the following features:
|
||||||
|
|
||||||
|
Features:
|
||||||
|
* Client mouse mode (no need to grab mouse by client, no mouse lag)
|
||||||
|
this is handled by the daemon by feeding mouse events into the kernel
|
||||||
|
via uinput. This will only work if the active X-session is running a
|
||||||
|
spice-vdagent process so that its resolution can be determined.
|
||||||
|
* Automatic adjustment of the X-session resolution to the client resolution
|
||||||
|
* Support of copy and paste (text and images) between the active X-session
|
||||||
|
and the client
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure --with-session-info=systemd --with-init-script=systemd
|
||||||
|
make %{?_smp_mflags} V=2
|
||||||
|
|
||||||
|
%install
|
||||||
|
make install DESTDIR=%{buildroot} V=2
|
||||||
|
# move udev role
|
||||||
|
mv %{buildroot}/lib/udev %{buildroot}%{_prefix}/lib
|
||||||
|
rmdir %{buildroot}/lib
|
||||||
|
# remove rsyslogd config
|
||||||
|
rm -rf %{buildroot}%{_sysconfdir}/rsyslog.d
|
||||||
|
# create rc symlink
|
||||||
|
ln -s service %{buildroot}%{_sbindir}/rcspice-vdagentd
|
||||||
|
|
||||||
|
%pre
|
||||||
|
%service_add_pre spice-vdagentd.service
|
||||||
|
|
||||||
|
%post
|
||||||
|
%service_add_post spice-vdagentd.service
|
||||||
|
|
||||||
|
%preun
|
||||||
|
%service_del_preun spice-vdagentd.service
|
||||||
|
|
||||||
|
%postun
|
||||||
|
%service_del_postun spice-vdagentd.service
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc COPYING ChangeLog README TODO
|
||||||
|
%dir %{_libexecdir}/udev
|
||||||
|
%dir %{_libexecdir}/udev/rules.d
|
||||||
|
%{_libexecdir}/udev/rules.d/70-spice-vdagentd.rules
|
||||||
|
%{_unitdir}/spice-vdagentd.service
|
||||||
|
%{_unitdir}/spice-vdagentd.target
|
||||||
|
%{_libexecdir}/tmpfiles.d/spice-vdagentd.conf
|
||||||
|
%{_bindir}/spice-vdagent
|
||||||
|
%{_sbindir}/spice-vdagentd
|
||||||
|
%{_sbindir}/rcspice-vdagentd
|
||||||
|
%ghost %{_var}/run/spice-vdagentd
|
||||||
|
%{_sysconfdir}/xdg/autostart/spice-vdagent.desktop
|
||||||
|
# For /usr/share/gdm/autostart/LoginWindow/spice-vdagent.desktop
|
||||||
|
# We own the dir too, otherwise we must Require gdm
|
||||||
|
%{_datadir}/gdm
|
||||||
|
%{_mandir}/man1/%{name}*.1*
|
||||||
|
|
||||||
|
%changelog
|
Loading…
x
Reference in New Issue
Block a user