xorg-x11-drv-qxl/xorg-x11-drv-qxl.spec

68 lines
2.3 KiB
RPMSpec
Raw Normal View History

2020-02-14 13:08:44 +08:00
%undefine _hardened_build
Name: xorg-x11-drv-qxl
Version: 0.1.6
Release: 1
2020-02-14 13:08:44 +08:00
Summary: Qxl video driver for the X Window System
License: MIT
URL: http://www.x.org
Source0: http://xorg.freedesktop.org/releases/individual/driver/xf86-video-qxl-%{version}.tar.xz
2020-02-14 13:08:44 +08:00
Patch0001: 0001-worst-hack-of-all-time-to-qxl-driver.patch
Patch0002: 0002-Xspice-Adjust-shebang-to-explicitly-mention-python3.patch
2020-02-14 13:08:44 +08:00
BuildRequires: pkgconfig git-core xorg-x11-server-devel >= 1.1.0-1 spice-protocol >= 0.12.1
BuildRequires: libdrm-devel >= 2.4.46-1 spice-server-devel >= 0.8.0 glib2-devel
BuildRequires: libtool libudev-devel libXfont2-devel libXext-devel
2020-02-14 13:08:44 +08:00
Requires: Xorg %(xserver-sdk-abi-requires ansic) %(xserver-sdk-abi-requires videodrv)
%description
The xorg-x11-drv-qxl packages provide an X11 video driver for the QEMU QXL video accelerator.
%package -n xorg-x11-server-Xspice
Summary: Server for X or spice clients
Requires: Xorg %(xserver-sdk-abi-requires ansic) %(xserver-sdk-abi-requires videodrv)
Requires: xorg-x11-server-Xorg
%description -n xorg-x11-server-Xspice
Xspice creates a virtual X server that you can then connect to remotely using any Spice client.
%prep
%autosetup -n xf86-video-qxl-%{version} -p1
%build
autoreconf -ivf
%configure --enable-xspice
%make_build
%install
%make_install
install -Dp -m644 examples/spiceqxl.xorg.conf.example $RPM_BUILD_ROOT%{_sysconfdir}/X11/spiceqxl.xorg.conf
%delete_la
%files
%doc COPYING README.md
2020-02-14 13:08:44 +08:00
%(pkg-config xorg-server --variable=moduledir)/drivers/qxl_drv.so
%exclude /usr/share/doc/xf86-video-qxl/spiceqxl.xorg.conf.example
%files -n xorg-x11-server-Xspice
%doc COPYING README.xspice README.md examples/spiceqxl.xorg.conf.example
2020-02-14 13:08:44 +08:00
%config(noreplace) %{_sysconfdir}/X11/spiceqxl.xorg.conf
%{_bindir}/Xspice
%(pkg-config xorg-server --variable=moduledir)/drivers/spiceqxl_drv.so
%changelog
* Sat Jan 28 2023 Chenxi Mao <chenxi.mao@suse.com> - 0.1.6-1
- Upgrade to 0.1.6
* Tue Oct 25 2022 wangkerong <wangkerong@h-partners.com> - 0.1.5-15
- rebuild for next release
2022-01-08 14:14:55 +08:00
* Sat Jan 8 2022 yangcheng <yangcheng87@huawei.com> - 0.1.5-14
- fix build error with xserver
* Thu Aug 6 2020 xiaoweiwei <xiaoweiwei5@huawei.com> - 0.1.5-13
- Add compilation dependency to solve compilation failture
2020-02-14 13:08:44 +08:00
* Thu Nov 28 2019 shijian <shijian16@huawei.com> - 0.1.5-11
- Package init