Name: usbredir Version: 0.8.0 Release: 7 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 gcc Provides: %{name}-server Obsoletes: %{name}-server Patch1: 0001-CVE-2021-3700.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 %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 * Thu Sep 23 2021 yanglongkang - 0.8.0-7 - fix CVE-2021-3700 * Fri Jul 30 2021 chenyanpanHW - 0.8.0-6 - DESC: delete -S git from %autosetup, and delete BuildRequires git * Tue Jun 29 2021 zhouwenpei - 0.8.0-5 - add buildrequire gcc. * Wed Sep 11 2019 openEuler Buildteam - 0.8.0-4 - Type:enhancemnet - ID:NA - SUG:NA - DESC:remove debuginfo * Wed Aug 28 2019 zhanghaibo - 0.8.0-3 - Type:enhancemnet - ID:NA - SUG:NA - DESCi:openEuler Debranding * Mon Aug 12 2019 zhanghaibo - 0.8.0-2 - Package init