usbredir/usbredir.spec
wguanghao b5a2872a57 fix timeout and abort of fuzz-test
(cherry picked from commit d346b28367f2d3663cdce669e59727c08d4cd3c6)
2021-12-08 15:44:13 +08:00

93 lines
2.3 KiB
RPMSpec

Name: usbredir
Version: 0.8.0
Release: 6
Summary: network protocol libraries for sending USB device traffic
License: LGPLv2+ and GPLv2+
URL: https://www.spice-space.org/usbredir.html
Source0: http://spice-space.org/download/%{name}/%{name}-%{version}.tar.bz2
BuildRequires: libusb1-devel >= 1.0.9 git
Provides: %{name}-server
Obsoletes: %{name}-server
Patch1: 0001-CVE-2021-3700.patch
Patch2: 0002-Skip-empty-write-buffers-when-unserializing-parser.patch
Patch3: 0003-Update-write-buffer-count-during-deserialization.patch
%description
usbredir is the name of a network protocol for sending USB device traffic over
a network connection. It is also the name of the software package offering a parsing
library, a usbredirhost library and several utilities implementing this protocol.
It also including a USB host TCP server, using libusbredirhost.
%package devel
Summary: Including header files and library for the developing of usbredir.
Requires: usbredir = %{version}-%{release}
%description devel
This contains dynamic libraries and header files for the developing of usbredir.
%package help
Summary: Including man files for usbredir
Requires: man
BuildArch: noarch
%description help
This contains man files for the using of usbredir.
%prep
%autosetup -n %{name}-%{version} -p1 -S git
%build
%configure --disable-static
make %{?_smp_mflags} V=1
%install
%make_install
%ldconfig_scriptlets
%files
%license COPYING COPYING.LIB README README.multi-thread
%{_libdir}/libusbredir*.so.*
%{_sbindir}/usbredirserver
%exclude %{_libdir}/libusbredir*.la
%files devel
%doc ChangeLog
%{_includedir}/usbredir*.h
%{_libdir}/libusbredir*.so
%{_libdir}/pkgconfig/libusbredir*.pc
%files help
%{_mandir}/man1/usbredirserver.1*
%changelog
* Tue Dec 07 2021 wuguanghao <wuguanghao3@hauwei.com> - 0.8.0-6
- fix timeout and abort of fuzz-test
* Thu Sep 23 2021 yanglongkang <yanglongkang@hauwei.com> - 0.8.0-5
- fix CVE-2021-3700
* Wed Sep 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.8.0-4
- Type:enhancemnet
- ID:NA
- SUG:NA
- DESC:remove debuginfo
* Wed Aug 28 2019 zhanghaibo <ted.zhang@huawei.com> - 0.8.0-3
- Type:enhancemnet
- ID:NA
- SUG:NA
- DESCi:openEuler Debranding
* Mon Aug 12 2019 zhanghaibo <ted.zhang@huawei.com> - 0.8.0-2
- Package init