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