[packages/spice-vdagent] up to 0.19.0
atler
atler at pld-linux.org
Tue Apr 16 20:00:20 CEST 2019
commit 0e15557253a9d511541299b15a262dc1b5efe3f3
Author: Jan Palus <atler at pld-linux.org>
Date: Tue Apr 16 19:59:32 2019 +0200
up to 0.19.0
spice-vdagent-tmpfile.patch | 12 ++++++++++++
spice-vdagent.spec | 13 +++++++++----
2 files changed, 21 insertions(+), 4 deletions(-)
---
diff --git a/spice-vdagent.spec b/spice-vdagent.spec
index 185ad92..3ac3d26 100644
--- a/spice-vdagent.spec
+++ b/spice-vdagent.spec
@@ -1,3 +1,5 @@
+# TODO:
+# - package gdm files
#
# Conditional build:
%bcond_with systemd # use systemd instead of ConsoleKit for session tracking
@@ -5,12 +7,13 @@
Summary: Linux guest agent for SPICE
Summary(pl.UTF-8): Agent gościa linuksowego dla SPICE
Name: spice-vdagent
-Version: 0.18.0
+Version: 0.19.0
Release: 0.1
License: GPL v3+
Group: X11/Applications
Source0: https://www.spice-space.org/download/releases/%{name}-%{version}.tar.bz2
-# Source0-md5: 1adcea00743142249aa417c7e39635a9
+# Source0-md5: 5f409625f075e35238336ff11af62306
+Patch0: %{name}-tmpfile.patch
URL: https://www.spice-space.org/
BuildRequires: alsa-lib-devel >= 1.0.22
BuildRequires: autoconf >= 2.59
@@ -18,9 +21,10 @@ BuildRequires: automake
%{!?with_systemd:BuildRequires: dbus-devel}
BuildRequires: glib2-devel >= 1:2.34
BuildRequires: gtk+3-devel >= 3.10
+BuildRequires: libdrm-devel
BuildRequires: pkgconfig
BuildRequires: rpmbuild(macros) >= 1.228
-BuildRequires: spice-protocol >= 0.12.8
+BuildRequires: spice-protocol >= 0.14.0
%{?with_systemd:BuildRequires: systemd-devel >= 209}
BuildRequires: xorg-lib-libX11-devel
BuildRequires: xorg-lib-libXfixes-devel
@@ -50,6 +54,7 @@ honorujących /etc/xdg/autostart oraz pod GDM-em.
%prep
%setup -q
+%patch0 -p1
%build
%configure \
@@ -79,7 +84,7 @@ fi
%files
%defattr(644,root,root,755)
-%doc ChangeLog README TODO
+%doc CHANGELOG.md README.md
%attr(755,root,root) %{_bindir}/spice-vdagent
%attr(755,root,root) %{_sbindir}/spice-vdagentd
# TODO: PLDify
diff --git a/spice-vdagent-tmpfile.patch b/spice-vdagent-tmpfile.patch
new file mode 100644
index 0000000..9a95fc7
--- /dev/null
+++ b/spice-vdagent-tmpfile.patch
@@ -0,0 +1,12 @@
+diff -urN spice-vdagent-0.19.0.orig/Makefile.am spice-vdagent-0.19.0/Makefile.am
+--- spice-vdagent-0.19.0.orig/Makefile.am 2019-04-16 19:34:06.723014733 +0200
++++ spice-vdagent-0.19.0/Makefile.am 2019-04-16 19:34:16.186288179 +0200
+@@ -123,7 +123,7 @@
+ gdmautostart2_DATA = $(top_srcdir)/data/spice-vdagent.desktop
+
+ install-data-local:
+- $(mkdir_p) $(DESTDIR)$(localstatedir)/run/spice-vdagentd
++ $(mkdir_p) $(DESTDIR)/run/spice-vdagentd
+
+ if INIT_SCRIPT_RED_HAT
+ initdir = $(sysconfdir)/rc.d/init.d
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/spice-vdagent.git/commitdiff/0e15557253a9d511541299b15a262dc1b5efe3f3
More information about the pld-cvs-commit
mailing list