46 lines
1.2 KiB
RPMSpec
46 lines
1.2 KiB
RPMSpec
Name: uhubctl
|
|
Version: 2.6.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
|
|
* Thu Sep 05 2024 Automatic Build System <autodist@openmamba.org> 2.6.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Jul 31 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.5.0-1mamba
|
|
- package created using the webbuild interface
|