* usbreset.1: fix typo in the busnum/devicenum example.
* usbreset: fix swapped vendor and product ID in help/manpage.
* usbreset.1: fix groff warnings and small fixes.
* Remove commented out code in usbreset.c and list.h and
container_of.h .
* lsusb: turn a FIXME comment for dump_comm_descriptor() into
something real.
* lsusb: remove FIXME about wireless usb device.
* lsusb: change FIXME for bmEthernetStatistics into a TODO.
* lsusb.c: change TODO into a fixme in do_dualspeed() .
* usbreset: move the serial number forward in the output.
* usb-devices: fix up bash warning for $altset
(fixes boo#1253475).
* usb-devices: fix up some minor shellcheck warning messages.
* usb-spec: remove vendor specific entry.
* usbreset: support resetting device by serial number.
* lsusb: Show wBytesPerInterval field of the SS EP companion
descriptor.
* usb-devices: Make devcount 'local' to handle recursion.
* usb-devices: Make devnum 'local' to handle recursion.
* lsusb-t: add verblevel 3 to print_usbdevice() .
* lsusb: improve usb2 device capability descriptor.
* Fix display of HID descriptors.
OBS-URL: https://build.opensuse.org/package/show/Base:System/usbutils?expand=0&rev=57
67 lines
1.8 KiB
RPMSpec
67 lines
1.8 KiB
RPMSpec
#
|
|
# spec file for package usbutils
|
|
#
|
|
# Copyright (c) 2025 SUSE LLC and contributors
|
|
#
|
|
# 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: usbutils
|
|
Version: 019
|
|
Release: 0
|
|
Summary: Tools and libraries for USB devices
|
|
License: GPL-2.0-or-later
|
|
Group: Hardware/Other
|
|
URL: https://sourceforge.net/projects/linux-usb/
|
|
Source0: https://github.com/gregkh/usbutils/archive/refs/tags/v%{version}.tar.gz
|
|
Patch0: usbutils-enable-usbreset.patch
|
|
BuildRequires: libtool
|
|
BuildRequires: libusb-1_0-devel >= 1.0.14
|
|
BuildRequires: meson
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: python-rpm-macros
|
|
BuildRequires: pkgconfig(libudev) >= 196
|
|
Requires: hwdata
|
|
Obsoletes: usbutils-devel < %{version}
|
|
|
|
%description
|
|
This package contains a utility for inspecting devices connected to USB
|
|
ports.
|
|
|
|
%prep
|
|
%setup -q
|
|
%autopatch -p1
|
|
|
|
%build
|
|
%meson
|
|
%meson_build
|
|
|
|
%install
|
|
%meson_install
|
|
%python3_fix_shebang
|
|
|
|
%files
|
|
%doc NEWS
|
|
%license LICENSES/*
|
|
%{_bindir}/lsusb
|
|
%{_bindir}/lsusb.py
|
|
%{_bindir}/usb-devices
|
|
%{_bindir}/usbhid-dump
|
|
%{_bindir}/usbreset
|
|
%{_mandir}/man1/lsusb.py.1%{?ext_man}
|
|
%{_mandir}/man1/usb-devices.1%{?ext_man}
|
|
%{_mandir}/man8/lsusb.8%{?ext_man}
|
|
%{_mandir}/man8/usbhid-dump.8%{?ext_man}
|
|
|
|
%changelog
|