From 7214838f4f5a987afaffeff40125b494ed506eeb Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 18:47:05 +0100 Subject: [PATCH] package created using the webbuild interface [release 2.5.0-1mamba;Mon Jul 31 2023] --- README.md | 2 ++ uhubctl.spec | 42 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 uhubctl.spec diff --git a/README.md b/README.md index 976c12c..4a25b8e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # uhubctl +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. + diff --git a/uhubctl.spec b/uhubctl.spec new file mode 100644 index 0000000..89ec0fd --- /dev/null +++ b/uhubctl.spec @@ -0,0 +1,42 @@ +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 +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 2.5.0-1mamba +- package created using the webbuild interface