Name: libusb-vhci Version: 0.8 Release: 1%{?dist} Summary: USB Virtual Host Controller Interface user-mode libraries License: GPLv2 URL: https://sourceforge.net/projects/usb-vhci/ Source0: https://sourceforge.net/projects/usb-vhci/files/native%20libraries/libusb_vhci-0.8.tar.gz BuildArch: x86_64 BuildRequires: vhci-hcd Requires: vhci-hcd %description libusb-vhci along with vhci-hcd module allows a process to create a virtual usb host controller. Real or virtual usb devices can be "plugged" into this controller. %define debug_package %{nil} %prep cd %{_builddir} rm -rf %{name}-%{version} /usr/bin/gzip -dc %{_sourcedir}/libusb_vhci-%{version}.tar.gz | /usr/bin/tar -xf - if [ $? -ne 0 ]; then exit $? fi mv libusb_vhci-%{version} %{name}-%{version} %setup -qDT %build %configure make %install rm -rf $RPM_BUILD_ROOT %makeinstall %files %defattr(-,root,root) /usr/include/libusb_vhci.h /usr/lib64/libusb_vhci.a /usr/lib64/libusb_vhci.la /usr/lib64/libusb_vhci.so /usr/lib64/libusb_vhci.so.0 /usr/lib64/libusb_vhci.so.0.0.0 %changelog * Thu Jun 04 2020 Castor Sky 0.8 - First version of RPM package