packages: spice-vdagent/spice-vdagent.spec - up to 0.10.1

qboosh qboosh at pld-linux.org
Tue Apr 3 19:36:40 CEST 2012


Author: qboosh                       Date: Tue Apr  3 17:36:40 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 0.10.1

---- Files affected:
packages/spice-vdagent:
   spice-vdagent.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/spice-vdagent/spice-vdagent.spec
diff -u packages/spice-vdagent/spice-vdagent.spec:1.2 packages/spice-vdagent/spice-vdagent.spec:1.3
--- packages/spice-vdagent/spice-vdagent.spec:1.2	Thu Jul 21 17:58:35 2011
+++ packages/spice-vdagent/spice-vdagent.spec	Tue Apr  3 19:36:35 2012
@@ -1,20 +1,29 @@
 # $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with	systemd	# use systemd instead of ConsoleKit for session tracking
+#
 Summary:	Linux guest agent for SPICE
 Summary(pl.UTF-8):	Agent gościa linuksowego dla SPICE
 Name:		spice-vdagent
-Version:	0.8.1
+Version:	0.10.1
 Release:	0.1
 License:	GPL v3+
 Group:		X11/Applications
 Source0:	http://spice-space.org/download/releases/%{name}-%{version}.tar.bz2
-# Source0-md5:	279c59bc3c21081ed354fbdd5c757688
+# Source0-md5:	0e69a13e4df37eefb52b1df795b22755
 URL:		http://spice-space.org/
-BuildRequires:	ConsoleKit-devel
+%{!?with_systemd:BuildRequires:	ConsoleKit-devel}
 BuildRequires:	dbus-devel
 BuildRequires:	rpmbuild(macros) >= 1.228
 BuildRequires:	spice-protocol >= 0.8.0
+%{?with_systemd:BuildRequires:	systemd-devel >= 42}
+BuildRequires:	xorg-lib-libX11-devel
 BuildRequires:	xorg-lib-libXfixes-devel
+BuildRequires:	xorg-lib-libXinerama-devel
 BuildRequires:	xorg-lib-libXrandr-devel
+BuildRequires:	xorg-lib-libpciaccess-devel >= 0.10
+Requires:	xorg-lib-libpciaccess >= 0.10
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -36,7 +45,8 @@
 
 %build
 %configure \
-	--disable-silent-rules
+	--disable-silent-rules \
+	--with-session-info=%{?with_systemd:systemd}%{!?with_systemd:console-kit}
 %{__make}
 
 %install
@@ -65,8 +75,8 @@
 %attr(755,root,root) %{_sbindir}/spice-vdagentd
 # TODO: PLDify
 %attr(754,root,root) /etc/rc.d/init.d/spice-vdagentd
-# TODO: change to PLD-compliat way
-#/etc/tmpfiles.d/spice-vdagentd.conf
+# XXX: should be /usr/lib/tmpfiles.d?
+/etc/tmpfiles.d/spice-vdagentd.conf
 /etc/xdg/autostart/spice-vdagent.desktop
 #%{_datadir}/gdm/autostart/LoginWindow/spice-vdagent.desktop
 
@@ -76,6 +86,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2012/04/03 17:36:35  qboosh
+- up to 0.10.1
+
 Revision 1.2  2011/07/21 15:58:35  qboosh
 - up to 0.8.1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/spice-vdagent/spice-vdagent.spec?r1=1.2&r2=1.3



More information about the pld-cvs-commit mailing list