usbredir/usbredir.spec

89 lines
2.2 KiB
RPMSpec
Raw Normal View History

2019-09-30 11:19:08 -04:00
Name: usbredir
Version: 0.8.0
Release: 6
2019-09-30 11:19:08 -04:00
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
2019-09-30 11:19:08 -04:00
Provides: %{name}-server
Obsoletes: %{name}-server
%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
2019-09-30 11:19:08 -04:00
%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
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.8.0-6
- DESC: delete -S git from %autosetup, and delete BuildRequires git
2021-06-29 17:27:05 +08:00
* Tue Jun 29 2021 zhouwenpei <zhouwenpei1@huawei.com> - 0.8.0-5
- add buildrequire gcc.
2019-09-30 11:19:08 -04:00
* 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