[packages/xorg-driver-video-qxl] - updated to 0.1.4 - package pcsc driver

qboosh qboosh at pld-linux.org
Wed Apr 8 18:42:08 CEST 2015


commit f9f6cfce4edd6da08a175911fca5994b020f91c0
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Apr 8 18:43:39 2015 +0200

    - updated to 0.1.4
    - package pcsc driver

 xorg-driver-video-qxl.spec | 41 ++++++++++++++++++++++++++++++++++++++---
 1 file changed, 38 insertions(+), 3 deletions(-)
---
diff --git a/xorg-driver-video-qxl.spec b/xorg-driver-video-qxl.spec
index f9a2328..b1ed042 100644
--- a/xorg-driver-video-qxl.spec
+++ b/xorg-driver-video-qxl.spec
@@ -1,22 +1,28 @@
 #
 # Conditional build:
+%bcond_without	pcsc	# spiceccid PC/SC driver
 %bcond_without	xspice	# xspice driver
 #
+%if %{without xspice}
+%undefine	with_pcsc
+%endif
 Summary:	X.org video driver for QXL virtual GPU
 Summary(pl.UTF-8):	Sterownik obrazu X.org dla wirtualnych procesorów graficznych QXL
 Name:		xorg-driver-video-qxl
-Version:	0.1.3
-Release:	3
+Version:	0.1.4
+Release:	1
 License:	MIT
 Group:		X11/Applications
 Source0:	http://xorg.freedesktop.org/releases/individual/driver/xf86-video-qxl-%{version}.tar.bz2
-# Source0-md5:	ed86c38d350a63ce225d0d11435bb446
+# Source0-md5:	41e234f38fe8045eef7ade83c34f6dd4
 Patch0:		%{name}-cast.patch
 URL:		http://xorg.freedesktop.org/
 BuildRequires:	autoconf >= 2.60
 BuildRequires:	automake
+%{?with_pcsc:BuildRequires:	libcacard-devel}
 BuildRequires:	libdrm-devel >= 2.4.46
 BuildRequires:	libtool
+%{?with_pcsc:BuildRequires:	pcsc-lite-devel}
 BuildRequires:	pkgconfig >= 1:0.19
 BuildRequires:	rpmbuild(macros) >= 1.389
 BuildRequires:	spice-protocol >= 0.12.0
@@ -47,6 +53,25 @@ Sterownik obrazu X.org dla wirtualnych procesorów graficznych QXL,
 które można znaleźć w systemie RedHat Enterprise Virtualisation oraz w
 projekcie spice.
 
+%package -n pcsc-driver-spiceccid
+Summary:	Chip/Smart Card Interface Devices driver for Spice
+Summary(pl.UTF-8):	Sterownik CCID dla Spice
+Group:		Libraries
+Requires:	pcsc-lite
+
+%description -n pcsc-driver-spiceccid
+Chip/Smart Card Interface Devices driver for Spice.
+
+This driver is built to interface to pcsc-lite as a serial smartcard
+device. It translates the IFD (Interface device) ABI into the Spice
+protocol.
+
+%description -n pcsc-driver-spiceccid -l pl.UTF-8
+Sterownik CCID (Chip/Smart Card Interface Device) dla Spice.
+
+Ten sterownik współpracuje z pcsc-lite jako szeregowy czytnik kart
+procesorowych. Tłumaczy ABI IFD (Interface device) na protokół Spice.
+
 %package -n spice-xserver
 Summary:	Xspice - X server and Spice server in one
 Summary(pl.UTF-8):	Xspice - serwer X oraz serwer Spice w jednym
@@ -85,6 +110,7 @@ udostępnia wejście klawiatury i myszy oraz wyjście obrazu.
 %{__autoheader}
 %{__automake}
 %configure \
+	%{?with_pcsc:--enable-ccid --with-ccid-module-dir=%{_libdir}/pcsc/drivers} \
 	%{?with_xspice:--enable-xspice}
 
 %{__make}
@@ -96,6 +122,9 @@ rm -rf $RPM_BUILD_ROOT
 	DESTDIR=$RPM_BUILD_ROOT
 
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/*/*.la
+%if %{with pcsc}
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/pcsc/drivers/*.la
+%endif
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -105,6 +134,12 @@ rm -rf $RPM_BUILD_ROOT
 %doc COPYING ChangeLog README TODO
 %attr(755,root,root) %{_libdir}/xorg/modules/drivers/qxl_drv.so
 
+%if %{with pcsc}
+%files -n pcsc-driver-spiceccid
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/pcsc/drivers/libspiceccid.so*
+%endif
+
 %if %{with xspice}
 %files -n spice-xserver
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xorg-driver-video-qxl.git/commitdiff/f9f6cfce4edd6da08a175911fca5994b020f91c0



More information about the pld-cvs-commit mailing list