uhubctl/uhubctl.spec

43 lines
1.0 KiB
RPMSpec

Name: uhubctl
Version: 2.5.0
Release: 1mamba
Summary: uhubctl - USB hub per-port power control
Group: System/Kernel and Hardware
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/mvp/uhubctl
Source: https://github.com/mvp/uhubctl.git/v%{version}/uhubctl-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libusb-devel
## AUTOBUILDREQ-END
%description
uhubctl is utility to control USB power per-port on smart USB hubs. Smart hub is defined as one that implements per-port power switching.
%debug_package
%prep
%setup -q
%build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_sbindir}/uhubctl
%doc COPYING LICENSE
%changelog
* Mon Jul 31 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.5.0-1mamba
- package created using the webbuild interface