2019-09-30 11:19:30 -04:00
|
|
|
Name: virglrenderer
|
2019-11-06 19:55:43 +08:00
|
|
|
Version: 0.7.0
|
2022-03-02 00:12:02 +08:00
|
|
|
Release: 3
|
2019-11-06 19:55:43 +08:00
|
|
|
Summary: VirGL virtual OpenGL renderer
|
2019-09-30 11:19:30 -04:00
|
|
|
License: MIT
|
2019-11-06 19:55:43 +08:00
|
|
|
URL: https://virgil3d.github.io
|
2019-09-30 11:19:30 -04:00
|
|
|
|
2019-11-06 19:55:43 +08:00
|
|
|
Source0: https://www.freedesktop.org/software/virgl/virglrenderer-%{version}.tar.gz
|
2019-09-30 11:19:30 -04:00
|
|
|
|
2021-11-04 19:55:46 +08:00
|
|
|
Patch0: backport-CVE-2019-18390.patch
|
|
|
|
|
Patch1: backport-CVE-2019-18389.patch
|
|
|
|
|
Patch2: backport-CVE-2019-18391.patch
|
|
|
|
|
Patch3: backport-vrend-Keep-the-max-texture-sizes-in-the-vrend_state.patch
|
|
|
|
|
Patch4: backport-CVE-2019-18388.patch
|
2022-03-02 00:12:02 +08:00
|
|
|
Patch5: backport-CVE-2020-8002.patch
|
|
|
|
|
Patch6: backport-CVE-2020-8003.patch
|
2021-11-04 19:55:46 +08:00
|
|
|
|
2019-09-30 11:19:30 -04:00
|
|
|
BuildRequires: autoconf
|
|
|
|
|
BuildRequires: automake
|
|
|
|
|
BuildRequires: libtool
|
2019-11-06 19:55:43 +08:00
|
|
|
BuildRequires: python3
|
|
|
|
|
BuildRequires: autoconf-archive
|
2019-09-30 11:19:30 -04:00
|
|
|
BuildRequires: libepoxy-devel
|
2019-11-06 19:55:43 +08:00
|
|
|
BuildRequires: libdrm-devel
|
2019-09-30 11:19:30 -04:00
|
|
|
BuildRequires: mesa-libgbm-devel
|
2019-11-06 19:55:43 +08:00
|
|
|
BuildRequires: xorg-x11-util-macros
|
2019-09-30 11:19:30 -04:00
|
|
|
BuildRequires: mesa-libEGL-devel
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The virgil3d rendering library is a library used by
|
|
|
|
|
qemu to implement 3D GPU support for the virtio GPU.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Virgil3D renderer development files
|
|
|
|
|
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description devel
|
2019-11-06 19:55:43 +08:00
|
|
|
Virgil3D renderer development files,
|
|
|
|
|
It is required while building qemu.
|
2019-09-30 11:19:30 -04:00
|
|
|
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%prep
|
2021-11-04 19:55:46 +08:00
|
|
|
%autosetup -n %{name}-%{version} -p1
|
2019-11-06 19:55:43 +08:00
|
|
|
|
2019-09-30 11:19:30 -04:00
|
|
|
%build
|
2019-11-06 19:55:43 +08:00
|
|
|
autoreconf -if
|
|
|
|
|
%configure
|
2019-09-30 11:19:30 -04:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make DESTDIR="%{buildroot}" install
|
2019-11-06 19:55:43 +08:00
|
|
|
rm -rf %{buildroot}%{_libdir}/*.la
|
|
|
|
|
rm -rf %{buildroot}%{_bindir}/virgl_test_server
|
2019-09-30 11:19:30 -04:00
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license COPYING
|
|
|
|
|
%{_libdir}/lib*.so.*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%dir %{_includedir}/virgl/
|
|
|
|
|
%{_includedir}/virgl/*
|
|
|
|
|
%{_libdir}/lib*.so
|
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
|
|
|
|
|
%changelog
|
2022-03-02 00:12:02 +08:00
|
|
|
* Tue Mar 1 2022 AlexChen <alex.chen@huawei.com> - 0.7.0-3
|
|
|
|
|
- Fix CVE-2020-8002 CVE-2020-8003
|
|
|
|
|
|
2021-11-04 19:55:46 +08:00
|
|
|
* Thu Nov 4 2021 panxiaohe <panxiaohe@huawei.com> - 0.7.0-2
|
|
|
|
|
- Fix CVE-2019-18388 CVE-2019-18389 CVE-2019-18390 CVE-2019-18391
|
|
|
|
|
|
2019-11-06 19:55:43 +08:00
|
|
|
* Fri Oct 18 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.7.0-1
|
|
|
|
|
- Package init
|