]> git.pld-linux.org Git - packages/xorg-driver-video-qxl.git/blame - xorg-driver-video-qxl.spec
- fix building with xserver 1.19
[packages/xorg-driver-video-qxl.git] / xorg-driver-video-qxl.spec
CommitLineData
483d9bf7
JB
1#
2# Conditional build:
f9f6cfce 3%bcond_without pcsc # spiceccid PC/SC driver
483d9bf7
JB
4%bcond_without xspice # xspice driver
5#
f9f6cfce
JB
6%if %{without xspice}
7%undefine with_pcsc
8%endif
997146d9
JB
9Summary: X.org video driver for QXL virtual GPU
10Summary(pl.UTF-8): Sterownik obrazu X.org dla wirtualnych procesorów graficznych QXL
11Name: xorg-driver-video-qxl
f9f6cfce 12Version: 0.1.4
93424eaf 13Release: 6
997146d9
JB
14License: MIT
15Group: X11/Applications
16Source0: http://xorg.freedesktop.org/releases/individual/driver/xf86-video-qxl-%{version}.tar.bz2
f9f6cfce 17# Source0-md5: 41e234f38fe8045eef7ade83c34f6dd4
04e891f1 18Patch0: %{name}-cast.patch
9dfe1cdd 19Patch1: libcacard.patch
93424eaf 20Patch2: xserver-1.19.patch
997146d9
JB
21URL: http://xorg.freedesktop.org/
22BuildRequires: autoconf >= 2.60
23BuildRequires: automake
f9f6cfce 24%{?with_pcsc:BuildRequires: libcacard-devel}
04e891f1 25BuildRequires: libdrm-devel >= 2.4.46
997146d9 26BuildRequires: libtool
f9f6cfce 27%{?with_pcsc:BuildRequires: pcsc-lite-devel}
997146d9
JB
28BuildRequires: pkgconfig >= 1:0.19
29BuildRequires: rpmbuild(macros) >= 1.389
0f1f4e07 30BuildRequires: spice-protocol >= 0.12.0
483d9bf7 31%{?with_xspice:BuildRequires: spice-server-devel >= 0.6.3}
04e891f1 32BuildRequires: udev-devel
997146d9
JB
33BuildRequires: xorg-lib-libpciaccess-devel >= 0.10.0
34BuildRequires: xorg-proto-fontsproto-devel
35BuildRequires: xorg-proto-randrproto-devel
36BuildRequires: xorg-proto-renderproto-devel
37BuildRequires: xorg-proto-videoproto-devel
38BuildRequires: xorg-proto-xf86dgaproto-devel
39BuildRequires: xorg-util-util-macros >= 1.4
40BuildRequires: xorg-xserver-server-devel >= 1.0.99.901
41%{?requires_xorg_xserver_videodrv}
63e20094 42Requires: libdrm >= 2.4.46
997146d9
JB
43Requires: xorg-lib-libpciaccess >= 0.10.0
44Requires: xorg-xserver-server >= 1.0.99.901
c43bac10 45Provides: xorg-driver-video
997146d9
JB
46BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
47
48%description
49X.org video driver for QXL virtual GPU, which can be found in the
50RedHat Enterprise Virtualisation system, and also in the spice
51project.
52
53%description -l pl.UTF-8
54Sterownik obrazu X.org dla wirtualnych procesorów graficznych QXL,
c43bac10
ER
55które można znaleźć w systemie RedHat Enterprise Virtualisation oraz w
56projekcie spice.
997146d9 57
f9f6cfce
JB
58%package -n pcsc-driver-spiceccid
59Summary: Chip/Smart Card Interface Devices driver for Spice
60Summary(pl.UTF-8): Sterownik CCID dla Spice
61Group: Libraries
62Requires: pcsc-lite
63
64%description -n pcsc-driver-spiceccid
65Chip/Smart Card Interface Devices driver for Spice.
66
67This driver is built to interface to pcsc-lite as a serial smartcard
68device. It translates the IFD (Interface device) ABI into the Spice
69protocol.
70
71%description -n pcsc-driver-spiceccid -l pl.UTF-8
72Sterownik CCID (Chip/Smart Card Interface Device) dla Spice.
73
74Ten sterownik współpracuje z pcsc-lite jako szeregowy czytnik kart
75procesorowych. Tłumaczy ABI IFD (Interface device) na protokół Spice.
76
483d9bf7
JB
77%package -n spice-xserver
78Summary: Xspice - X server and Spice server in one
79Summary(pl.UTF-8): Xspice - serwer X oraz serwer Spice w jednym
80Group: X11/Applications
483d9bf7 81Requires: spice-server-libs >= 0.6.3
c43bac10 82Requires: xorg-xserver-server >= 1.0.99.901
483d9bf7
JB
83
84%description -n spice-xserver
85Xspice is an X server and Spice server in one. It consists of a
86wrapper script for executing Xorg with the right parameters and
87environment variables, a module named spiceqxl_drv.so implementing
88three drivers: a video mostly code identical to the guest qxl X
89driver, and keyboard and mouse reading from the spice inputs channel.
90
91Xspice allows regular X connections, while a spice client provides the
92keyboard and mouse and video output.
93
94%description -n spice-xserver -l pl.UTF-8
95Xspice to serwer X i serwer Spice w jednym. Składa się ze skryptu
96wywołującego Xorg z właściwymi parametrami i zmiennymi środowiskowymi,
97oraz modułu o nazwie spiceqxl_drv.so implementującego trzy sterowniki:
98graficzny oparty na kodzie prawie identycznym ze sterownikiem X gościa
99qxl, oraz klawiatury i myszy szytające z kanału wejćiowego spice.
100
101Xspice pozwala na normalne połączenia X, podczas gdy klient spice
102udostępnia wejście klawiatury i myszy oraz wyjście obrazu.
103
997146d9
JB
104%prep
105%setup -q -n xf86-video-qxl-%{version}
04e891f1 106%patch0 -p1
9dfe1cdd 107%patch1 -p1
93424eaf 108%patch2 -p1
997146d9
JB
109
110%build
111%{__libtoolize}
112%{__aclocal}
113%{__autoconf}
114%{__autoheader}
115%{__automake}
483d9bf7 116%configure \
f9f6cfce 117 %{?with_pcsc:--enable-ccid --with-ccid-module-dir=%{_libdir}/pcsc/drivers} \
483d9bf7 118 %{?with_xspice:--enable-xspice}
997146d9
JB
119
120%{__make}
121
122%install
123rm -rf $RPM_BUILD_ROOT
124
125%{__make} install \
126 DESTDIR=$RPM_BUILD_ROOT
127
128%{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/*/*.la
f9f6cfce
JB
129%if %{with pcsc}
130%{__rm} $RPM_BUILD_ROOT%{_libdir}/pcsc/drivers/*.la
131%endif
997146d9
JB
132
133%clean
134rm -rf $RPM_BUILD_ROOT
135
136%files
137%defattr(644,root,root,755)
138%doc COPYING ChangeLog README TODO
139%attr(755,root,root) %{_libdir}/xorg/modules/drivers/qxl_drv.so
483d9bf7 140
f9f6cfce
JB
141%if %{with pcsc}
142%files -n pcsc-driver-spiceccid
143%defattr(644,root,root,755)
144%attr(755,root,root) %{_libdir}/pcsc/drivers/libspiceccid.so*
145%endif
146
483d9bf7
JB
147%if %{with xspice}
148%files -n spice-xserver
149%defattr(644,root,root,755)
150%doc README.xspice examples/spiceqxl.xorg.conf.example
b221d1da 151%attr(755,root,root) %{_bindir}/Xspice
483d9bf7
JB
152%attr(755,root,root) %{_libdir}/xorg/modules/drivers/spiceqxl_drv.so
153%endif
This page took 0.064331 seconds and 4 git commands to generate.