From f757e08370adcee4c51d212c0076f9bbdd9f3078 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 23 Oct 2024 02:30:39 +0000 Subject: automatic import of usbutils --- .gitignore | 1 + sources | 1 + usbutils.spec | 88 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 90 insertions(+) create mode 100644 sources create mode 100644 usbutils.spec diff --git a/.gitignore b/.gitignore index e69de29..3cd6454 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/usbutils-018.tar.xz diff --git a/sources b/sources new file mode 100644 index 0000000..b1e4016 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +0a351e2241c50a1f026a455dccf24d73 usbutils-018.tar.xz diff --git a/usbutils.spec b/usbutils.spec new file mode 100644 index 0000000..59bf534 --- /dev/null +++ b/usbutils.spec @@ -0,0 +1,88 @@ +Name: usbutils +Version: 018 +Release: 1 +Summary: Linux utilities for USB device +License: GPL-2.0-or-later +URL: http://www.linux-usb.org/ + +Source0: https://www.kernel.org/pub/linux/utils/usb/usbutils/%{name}-%{version}.tar.xz + +BuildRequires: meson >= 0.60.0 +BuildRequires: pkgconfig(libudev) >= 196 +BuildRequires: pkgconfig(libusb-1.0) >= 1.0.22 +Requires: hwdata + +%description +This is a collection of USB tools running on a USB host. + +%package_help + +%prep +%autosetup -n %{name}-%{version} -p1 + +%build +%meson +%meson_build + +%install +%meson_install +rm -rf %{buildroot}/%{_libdir}/pkgconfig/usbutils.pc + +%files +%doc NEWS +%license LICENSES/GPL-2.0-only.txt LICENSES/GPL-3.0-only.txt +%{_bindir}/* + +%files help +%{_mandir}/man?/* + +%changelog +* Wed Oct 23 2024 Funda Wang - 018-1 +- update to 018 + +* Wed Jan 31 2024 zhanghongtao - 017-1 +- update package to usbutils-017 +- lsusb: add fallback names for 'lsusb -v' output +- Honor system libdir and includedir +- usbutils: lsusb-t: print entries for devices with no interfaces +- lsusb -t: sort in bus order, not reverse order +- susb-t: if a driver is not bound to an interface, report "[none]" +- Generate usbutils.pc pkgconfig file +- usbreset: Allow idProduct and idVendor to be 0 +- susb: Add function that sorts the output by device ID. +- lsusb: Additional sorting by bus number. +- lsusb: This is a more compact implementation of the device list sort implemented within this pull request. The output remains the same as the one demonstrated in the previous commit. + +* Tue Feb 7 2023 zhanghongtao - 015-1 +- update package to usbutils-015 + +* Tue Nov 1 2022 lihaoxiang - 014-2 +- fix an runtime error reported by undefined sanitizer + +* Tue Nov 23 2021 yanglongkang - 014-1 +- update package to 014 + +* Tue Sep 28 2021 Wenchao Hao - 012-5 +- Nothing but to sync master and LTS branch + +* Fri Jul 30 2021 chenyanpanHW - 012-3 +- DESC: delete -S git from %autosetup, and delete BuildRequires git + +* Thu Oct 29 2020 Zhiqiang Liu -012-2 +- backport one patch to init string buffer before reading from it + +* Thu Jul 16 2020 liubo -012-1 +- upgrade package to 012 + +* Wed Aug 21 2019 zhanghaibo - 010-4 +- Type:enhancemnet +- ID:NA +- SUG:NA +- DESCi:openEuler Debranding + +* Wed Aug 21 2019 Su Weifeng - 010-3 +- Type:other +- ID:NA +- SUG:NA +- DESC:rename patches +- Package init -- cgit v1.2.3