- Update to new upstream release 2.1.0: * Add explicit workaround for USB device not removed after port power down on Linux * Implemented reading ContainerID from BOS descriptor to detect USB2/3 dual devices * Support fractional seconds for delay * Improve USB2/3 duality handling * Add support for comma separated list of ranges to port list parser * Improve USB3 support OBS-URL: https://build.opensuse.org/request/show/728031 OBS-URL: https://build.opensuse.org/package/show/devel:tools/uhubctl?expand=0&rev=4
50 lines
1.4 KiB
RPMSpec
50 lines
1.4 KiB
RPMSpec
#
|
|
# spec file for package uhubctl
|
|
#
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: uhubctl
|
|
Version: 2.1.0
|
|
Release: 0
|
|
Summary: USB hub per-port power control
|
|
License: GPL-2.0-only
|
|
Group: Development/Tools/Other
|
|
URL: https://github.com/mvp/uhubctl
|
|
Source: https://github.com/mvp/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: pkgconfig(libusb-1.0)
|
|
|
|
%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.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
export CFLAGS="%{optflags}"
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%files
|
|
%license COPYING LICENSE
|
|
%doc README.md
|
|
%{_sbindir}/uhubctl
|
|
|
|
%changelog
|