From 31e4e440d74405d10962f035749e73525e432020893040d0f3e1731574919d26 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Tue, 30 May 2017 08:22:47 +0000 Subject: [PATCH] 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 --- .gitattributes | 23 ++++++++++++++ .gitignore | 1 + _service | 14 +++++++++ uhubctl-0+git20170520.e537110.tar.xz | 3 ++ uhubctl.changes | 18 +++++++++++ uhubctl.spec | 47 ++++++++++++++++++++++++++++ 6 files changed, 106 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 uhubctl-0+git20170520.e537110.tar.xz create mode 100644 uhubctl.changes create mode 100644 uhubctl.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..875790c --- /dev/null +++ b/_service @@ -0,0 +1,14 @@ + + + https://github.com/mvp/uhubctl + git + enable + uhubctl + 0+git%cd.%h + + + *.tar + xz + + + diff --git a/uhubctl-0+git20170520.e537110.tar.xz b/uhubctl-0+git20170520.e537110.tar.xz new file mode 100644 index 0000000..7a59196 --- /dev/null +++ b/uhubctl-0+git20170520.e537110.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2f2b38d1b27998dc7168593dbb559aa73a7ae42e6bf73a8bd79512d496f55e59 +size 13844 diff --git a/uhubctl.changes b/uhubctl.changes new file mode 100644 index 0000000..66b0275 --- /dev/null +++ b/uhubctl.changes @@ -0,0 +1,18 @@ +------------------------------------------------------------------- +Tue May 30 07:56:27 UTC 2017 - ptesarik@suse.com + +- Update to version 0+git20170520.e537110: + * Bump copyright year + * Add AmazonBasics 7 port USB 3.0 hub as supported device + * Add Asus Z87-PLUS as supported device + * Add Rosewill RHUB-210 as supported device + * Add support for FreeBSD and MacPorts on Mac + * Add information about release and EOL years for supported hubs + * add option to reset hub after operation + * Add Sunix SHB4200MA as compatible device + * fix docs for -R (from #30) + +------------------------------------------------------------------- +Tue May 30 07:55:43 UTC 2017 - ptesarik@suse.com + +- initial commit. diff --git a/uhubctl.spec b/uhubctl.spec new file mode 100644 index 0000000..54eb9ba --- /dev/null +++ b/uhubctl.spec @@ -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