forked from pool/uhubctl
Accepting request 499604 from home:ptesarik
OBS-URL: https://build.opensuse.org/request/show/499604 OBS-URL: https://build.opensuse.org/package/show/devel:tools/uhubctl?expand=0&rev=1
This commit is contained in:
47
uhubctl.spec
Normal file
47
uhubctl.spec
Normal file
@@ -0,0 +1,47 @@
|
||||
#
|
||||
# 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
|
||||
Version: 0+git20170520.e537110
|
||||
Release: 0
|
||||
Summary: USB hub per-port power control
|
||||
License: GPL-2.0
|
||||
Group: Development/Tools/Other
|
||||
Url: https://github.com/mvp/uhubctl
|
||||
Source: %{name}-%{version}.tar.xz
|
||||
BuildRequires: libusb-devel
|
||||
|
||||
%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
|
||||
%defattr(-,root,root)
|
||||
%doc README.md COPYING LICENSE
|
||||
%{_sbindir}/uhubctl
|
||||
|
||||
%changelog
|
Reference in New Issue
Block a user