加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
spice.spec 2.88 KB
一键复制 编辑 原始数据 按行查看 历史
wangkerong 提交于 2021-06-07 15:00 . fix cve-2021-20201
Name: spice
Version: 0.14.3
Release: 3
Summary: Implements the SPICE protocol
Group: User Interface/Desktops
License: LGPLv2+
URL: https://www.spice-space.org/
Source0: https://www.spice-space.org/download/releases/%{name}-%{version}.tar.bz2
Source1: https://www.spice-space.org/download/releases/%{name}-%{version}.tar.bz2.sign
Source2: victortoso-E37A484F.keyring
Patch6000: backport-0001-CVE-2020-14355.patch
Patch6001: backport-0002-CVE-2020-14355.patch
Patch6002: backport-0003-CVE-2020-14355.patch
Patch6003: backport-0004-CVE-2020-14355.patch
Patch6004: backport-0001-CVE-2021-20201.patch
Patch6005: backport-0002-CVE-2021-20201.patch
ExclusiveArch: %{ix86} x86_64 %{arm} aarch64
BuildRequires: gcc pkgconfig glib2-devel spice-protocol >= 0.14.0 opus-devel git-core gnupg2
BuildRequires: pixman-devel openssl-devel libjpeg-devel libcacard-devel cyrus-sasl-devel
BuildRequires: lz4-devel gstreamer1-devel gstreamer1-plugins-base-devel orc-devel
%description
The SPICE package provides the SPICE server library and client.
These components are used to provide access to a remote machine's
display and devices.
%package server
Summary: Implements the server side of the SPICE protocol
Obsoletes: spice-client < %{version}-%{release}
%description server
This package contains the run-time libraries for any application that wishes
to be a SPICE server and is used to expose a remote machine's display and devices.
%package server-devel
Summary: Header files and development files for %{name}-server
Requires: %{name}-server pkgconfig
%description server-devel
The %{name}-server-devel package contains static libraries and header files for
developing applications that use %{name}-server.
%package_help
%prep
gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
%autosetup -n %{name}-%{version} -p1
%build
%define configure_client --disable-client
%configure --enable-smartcard --disable-client --enable-lz4 --enable-gstreamer=1.0 --disable-celt051
%make_build WARN_CFLAGS='' V=1
%install
make DESTDIR=%{buildroot} install
%delete_la_and_a
install -d %{buildroot}%{_libexecdir}
%ldconfig_scriptlets server
%files server
%defattr(-,root,root)
%license COPYING
%{_libdir}/libspice-server.so.*
%files server-devel
%defattr(-,root,root)
%{_includedir}/spice-server/*.h
%{_libdir}/pkgconfig/*.pc
%{_libdir}/libspice-server.so
%files help
%defattr(-,root,root)
%doc README
%changelog
* Mon Jun 07 2021 wangkerong <wangkerong@huawei.com> - 0.14.3-3
- Type:CVE
- Id:CVE-2021-20201
- SUG:NA
- DESC:fix CVE-2021-20201
* Tue Feb 23 2021 jinzhimin <jinzhimin2@huawei.com> - 0.14.3-2
- fix CVE-2020-14355
* Tues Oct 4 2020 jinzhimin<jinzhimin2@huawei.com> - 0.14.3-1
- update to 0.14.3
* Fri Oct 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.14.0-6
- Package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化