2017-05-30 08:22:47 +00:00
|
|
|
#
|
|
|
|
# spec file for package uhubctl
|
|
|
|
#
|
|
|
|
# Copyright (c) 2017 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 http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: uhubctl
|
2018-06-18 11:24:49 +00:00
|
|
|
Version: 2.0.0+git20180615.1709413
|
2017-05-30 08:22:47 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: USB hub per-port power control
|
2018-06-18 11:24:49 +00:00
|
|
|
License: GPL-2.0-only
|
2017-05-30 08:22:47 +00:00
|
|
|
Group: Development/Tools/Other
|
2018-06-18 11:24:49 +00:00
|
|
|
URL: https://github.com/mvp/uhubctl
|
2017-05-30 08:22:47 +00:00
|
|
|
Source: %{name}-%{version}.tar.xz
|
2018-06-18 11:24:49 +00:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: pkgconfig(libusb-1.0)
|
2017-05-30 08:22:47 +00:00
|
|
|
|
|
|
|
%description
|
2018-06-18 11:24:49 +00:00
|
|
|
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.
|
2017-05-30 08:22:47 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
export CFLAGS="%{optflags}"
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
%files
|
2018-06-18 11:24:49 +00:00
|
|
|
%license COPYING LICENSE
|
|
|
|
%doc README.md
|
2017-05-30 08:22:47 +00:00
|
|
|
%{_sbindir}/uhubctl
|
|
|
|
|
|
|
|
%changelog
|