Package init
This commit is contained in:
commit
92d8f6c83a
BIN
usbredir-0.8.0.tar.bz2
Normal file
BIN
usbredir-0.8.0.tar.bz2
Normal file
Binary file not shown.
82
usbredir.spec
Normal file
82
usbredir.spec
Normal file
@ -0,0 +1,82 @@
|
||||
Name: usbredir
|
||||
Version: 0.8.0
|
||||
Release: 4
|
||||
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
|
||||
|
||||
%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
|
||||
* 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
|
||||
Loading…
x
Reference in New Issue
Block a user