]> git.pld-linux.org Git - packages/xorg-driver-video-qxl.git/blame - xorg-driver-video-qxl.spec
- added spice-xserver package
[packages/xorg-driver-video-qxl.git] / xorg-driver-video-qxl.spec
CommitLineData
483d9bf7
JB
1#
2# Conditional build:
3%bcond_without xspice # xspice driver
4#
997146d9
JB
5Summary: X.org video driver for QXL virtual GPU
6Summary(pl.UTF-8): Sterownik obrazu X.org dla wirtualnych procesorów graficznych QXL
7Name: xorg-driver-video-qxl
ed4573ee 8Version: 0.0.16
997146d9
JB
9Release: 1
10License: MIT
11Group: X11/Applications
12Source0: http://xorg.freedesktop.org/releases/individual/driver/xf86-video-qxl-%{version}.tar.bz2
ed4573ee 13# Source0-md5: 21108fae53c14eb2c65413b55a3c8778
997146d9
JB
14URL: http://xorg.freedesktop.org/
15BuildRequires: autoconf >= 2.60
16BuildRequires: automake
17BuildRequires: libtool
18BuildRequires: pkgconfig >= 1:0.19
19BuildRequires: rpmbuild(macros) >= 1.389
ed4573ee 20BuildRequires: spice-protocol >= 0.8.1
483d9bf7 21%{?with_xspice:BuildRequires: spice-server-devel >= 0.6.3}
997146d9
JB
22BuildRequires: xorg-lib-libpciaccess-devel >= 0.10.0
23BuildRequires: xorg-proto-fontsproto-devel
24BuildRequires: xorg-proto-randrproto-devel
25BuildRequires: xorg-proto-renderproto-devel
26BuildRequires: xorg-proto-videoproto-devel
27BuildRequires: xorg-proto-xf86dgaproto-devel
28BuildRequires: xorg-util-util-macros >= 1.4
29BuildRequires: xorg-xserver-server-devel >= 1.0.99.901
30%{?requires_xorg_xserver_videodrv}
31Requires: xorg-lib-libpciaccess >= 0.10.0
32Requires: xorg-xserver-server >= 1.0.99.901
33BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35%description
36X.org video driver for QXL virtual GPU, which can be found in the
37RedHat Enterprise Virtualisation system, and also in the spice
38project.
39
40%description -l pl.UTF-8
41Sterownik obrazu X.org dla wirtualnych procesorów graficznych QXL,
42które można znaleźć w systemie RedHat Enterprise Virtualisation oraz
43w projekcie spice.
44
483d9bf7
JB
45%package -n spice-xserver
46Summary: Xspice - X server and Spice server in one
47Summary(pl.UTF-8): Xspice - serwer X oraz serwer Spice w jednym
48Group: X11/Applications
49Requires: xorg-xserver-server >= 1.0.99.901
50Requires: spice-server-libs >= 0.6.3
51
52%description -n spice-xserver
53Xspice is an X server and Spice server in one. It consists of a
54wrapper script for executing Xorg with the right parameters and
55environment variables, a module named spiceqxl_drv.so implementing
56three drivers: a video mostly code identical to the guest qxl X
57driver, and keyboard and mouse reading from the spice inputs channel.
58
59Xspice allows regular X connections, while a spice client provides the
60keyboard and mouse and video output.
61
62%description -n spice-xserver -l pl.UTF-8
63Xspice to serwer X i serwer Spice w jednym. Składa się ze skryptu
64wywołującego Xorg z właściwymi parametrami i zmiennymi środowiskowymi,
65oraz modułu o nazwie spiceqxl_drv.so implementującego trzy sterowniki:
66graficzny oparty na kodzie prawie identycznym ze sterownikiem X gościa
67qxl, oraz klawiatury i myszy szytające z kanału wejćiowego spice.
68
69Xspice pozwala na normalne połączenia X, podczas gdy klient spice
70udostę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
87rm -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
95rm -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
This page took 0.036893 seconds and 4 git commands to generate.