3 %bcond_without xspice # xspice driver
5 Summary: X.org video driver for QXL virtual GPU
6 Summary(pl.UTF-8): Sterownik obrazu X.org dla wirtualnych procesorów graficznych QXL
7 Name: xorg-driver-video-qxl
11 Group: X11/Applications
12 Source0: http://xorg.freedesktop.org/releases/individual/driver/xf86-video-qxl-%{version}.tar.bz2
13 # Source0-md5: 3d854268744ff92751430d83b8acaeb6
14 URL: http://xorg.freedesktop.org/
15 BuildRequires: autoconf >= 2.60
16 BuildRequires: automake
17 BuildRequires: libtool
18 BuildRequires: pkgconfig >= 1:0.19
19 BuildRequires: rpmbuild(macros) >= 1.389
20 BuildRequires: spice-protocol >= 0.12.0
21 %{?with_xspice:BuildRequires: spice-server-devel >= 0.6.3}
22 BuildRequires: xorg-lib-libpciaccess-devel >= 0.10.0
23 BuildRequires: xorg-proto-fontsproto-devel
24 BuildRequires: xorg-proto-randrproto-devel
25 BuildRequires: xorg-proto-renderproto-devel
26 BuildRequires: xorg-proto-videoproto-devel
27 BuildRequires: xorg-proto-xf86dgaproto-devel
28 BuildRequires: xorg-util-util-macros >= 1.4
29 BuildRequires: xorg-xserver-server-devel >= 1.0.99.901
30 %{?requires_xorg_xserver_videodrv}
31 Requires: xorg-lib-libpciaccess >= 0.10.0
32 Requires: xorg-xserver-server >= 1.0.99.901
33 Provides: xorg-driver-video
34 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37 X.org video driver for QXL virtual GPU, which can be found in the
38 RedHat Enterprise Virtualisation system, and also in the spice
41 %description -l pl.UTF-8
42 Sterownik obrazu X.org dla wirtualnych procesorów graficznych QXL,
43 które można znaleźć w systemie RedHat Enterprise Virtualisation oraz w
46 %package -n spice-xserver
47 Summary: Xspice - X server and Spice server in one
48 Summary(pl.UTF-8): Xspice - serwer X oraz serwer Spice w jednym
49 Group: X11/Applications
50 Requires: spice-server-libs >= 0.6.3
51 Requires: xorg-xserver-server >= 1.0.99.901
53 %description -n spice-xserver
54 Xspice is an X server and Spice server in one. It consists of a
55 wrapper script for executing Xorg with the right parameters and
56 environment variables, a module named spiceqxl_drv.so implementing
57 three drivers: a video mostly code identical to the guest qxl X
58 driver, and keyboard and mouse reading from the spice inputs channel.
60 Xspice allows regular X connections, while a spice client provides the
61 keyboard and mouse and video output.
63 %description -n spice-xserver -l pl.UTF-8
64 Xspice to serwer X i serwer Spice w jednym. Składa się ze skryptu
65 wywołującego Xorg z właściwymi parametrami i zmiennymi środowiskowymi,
66 oraz modułu o nazwie spiceqxl_drv.so implementującego trzy sterowniki:
67 graficzny oparty na kodzie prawie identycznym ze sterownikiem X gościa
68 qxl, oraz klawiatury i myszy szytające z kanału wejćiowego spice.
70 Xspice pozwala na normalne połączenia X, podczas gdy klient spice
71 udostępnia wejście klawiatury i myszy oraz wyjście obrazu.
74 %setup -q -n xf86-video-qxl-%{version}
83 %{?with_xspice:--enable-xspice}
88 rm -rf $RPM_BUILD_ROOT
91 DESTDIR=$RPM_BUILD_ROOT
93 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/*/*.la
96 rm -rf $RPM_BUILD_ROOT
99 %defattr(644,root,root,755)
100 %doc COPYING ChangeLog README TODO
101 %attr(755,root,root) %{_libdir}/xorg/modules/drivers/qxl_drv.so
104 %files -n spice-xserver
105 %defattr(644,root,root,755)
106 %doc README.xspice examples/spiceqxl.xorg.conf.example
107 %attr(755,root,root) %{_bindir}/Xspice
108 %attr(755,root,root) %{_libdir}/xorg/modules/drivers/spiceqxl_drv.so