]>
Commit | Line | Data |
---|---|---|
483d9bf7 JB |
1 | # |
2 | # Conditional build: | |
3 | %bcond_without xspice # xspice driver | |
4 | # | |
997146d9 JB |
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 | |
ed4573ee | 8 | Version: 0.0.16 |
997146d9 JB |
9 | Release: 1 |
10 | License: MIT | |
11 | Group: X11/Applications | |
12 | Source0: http://xorg.freedesktop.org/releases/individual/driver/xf86-video-qxl-%{version}.tar.bz2 | |
ed4573ee | 13 | # Source0-md5: 21108fae53c14eb2c65413b55a3c8778 |
997146d9 JB |
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 | |
ed4573ee | 20 | BuildRequires: spice-protocol >= 0.8.1 |
483d9bf7 | 21 | %{?with_xspice:BuildRequires: spice-server-devel >= 0.6.3} |
997146d9 JB |
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 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
34 | ||
35 | %description | |
36 | X.org video driver for QXL virtual GPU, which can be found in the | |
37 | RedHat Enterprise Virtualisation system, and also in the spice | |
38 | project. | |
39 | ||
40 | %description -l pl.UTF-8 | |
41 | Sterownik obrazu X.org dla wirtualnych procesorów graficznych QXL, | |
42 | które można znaleźć w systemie RedHat Enterprise Virtualisation oraz | |
43 | w projekcie spice. | |
44 | ||
483d9bf7 JB |
45 | %package -n spice-xserver |
46 | Summary: Xspice - X server and Spice server in one | |
47 | Summary(pl.UTF-8): Xspice - serwer X oraz serwer Spice w jednym | |
48 | Group: X11/Applications | |
49 | Requires: xorg-xserver-server >= 1.0.99.901 | |
50 | Requires: spice-server-libs >= 0.6.3 | |
51 | ||
52 | %description -n spice-xserver | |
53 | Xspice is an X server and Spice server in one. It consists of a | |
54 | wrapper script for executing Xorg with the right parameters and | |
55 | environment variables, a module named spiceqxl_drv.so implementing | |
56 | three drivers: a video mostly code identical to the guest qxl X | |
57 | driver, and keyboard and mouse reading from the spice inputs channel. | |
58 | ||
59 | Xspice allows regular X connections, while a spice client provides the | |
60 | keyboard and mouse and video output. | |
61 | ||
62 | %description -n spice-xserver -l pl.UTF-8 | |
63 | Xspice to serwer X i serwer Spice w jednym. Składa się ze skryptu | |
64 | wywołującego Xorg z właściwymi parametrami i zmiennymi środowiskowymi, | |
65 | oraz modułu o nazwie spiceqxl_drv.so implementującego trzy sterowniki: | |
66 | graficzny oparty na kodzie prawie identycznym ze sterownikiem X gościa | |
67 | qxl, oraz klawiatury i myszy szytające z kanału wejćiowego spice. | |
68 | ||
69 | Xspice pozwala na normalne połączenia X, podczas gdy klient spice | |
70 | udostępnia wejście klawiatury i myszy oraz wyjście obrazu. | |
71 | ||
997146d9 JB |
72 | %prep |
73 | %setup -q -n xf86-video-qxl-%{version} | |
74 | ||
75 | %build | |
76 | %{__libtoolize} | |
77 | %{__aclocal} | |
78 | %{__autoconf} | |
79 | %{__autoheader} | |
80 | %{__automake} | |
483d9bf7 JB |
81 | %configure \ |
82 | %{?with_xspice:--enable-xspice} | |
997146d9 JB |
83 | |
84 | %{__make} | |
85 | ||
86 | %install | |
87 | rm -rf $RPM_BUILD_ROOT | |
88 | ||
89 | %{__make} install \ | |
90 | DESTDIR=$RPM_BUILD_ROOT | |
91 | ||
92 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/*/*.la | |
93 | ||
94 | %clean | |
95 | rm -rf $RPM_BUILD_ROOT | |
96 | ||
97 | %files | |
98 | %defattr(644,root,root,755) | |
99 | %doc COPYING ChangeLog README TODO | |
100 | %attr(755,root,root) %{_libdir}/xorg/modules/drivers/qxl_drv.so | |
483d9bf7 JB |
101 | |
102 | %if %{with xspice} | |
103 | %files -n spice-xserver | |
104 | %defattr(644,root,root,755) | |
105 | %doc README.xspice examples/spiceqxl.xorg.conf.example | |
106 | %attr(755,root,root) %{_bindir}/xspice | |
107 | %attr(755,root,root) %{_libdir}/xorg/modules/drivers/spiceqxl_drv.so | |
108 | %endif |