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