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