2019-09-30 11:19:10 -04:00
|
|
|
Name: usbutils
|
2020-07-16 22:22:21 +08:00
|
|
|
Version: 012
|
2021-09-28 14:51:28 +08:00
|
|
|
Release: 5
|
2019-09-30 11:19:10 -04:00
|
|
|
Summary: Linux utilities for USB device
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
URL: http://www.linux-usb.org/
|
|
|
|
|
|
|
|
|
|
Source0: https://www.kernel.org/pub/linux/utils/usb/usbutils/%{name}-%{version}.tar.xz
|
|
|
|
|
Source1: GPL-2.0.txt
|
|
|
|
|
Source2: GPL-3.0.txt
|
|
|
|
|
|
2020-10-29 21:44:05 +08:00
|
|
|
Patch1: 0001-usbmisc-initialize-string-buffer-before-reading-from.patch
|
|
|
|
|
|
2021-07-30 23:39:43 +08:00
|
|
|
BuildRequires: libusbx-devel systemd-devel gcc autoconf automake libtool
|
2019-09-30 11:19:10 -04:00
|
|
|
Requires: hwdata
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This is a collection of USB tools running on a USB host.
|
|
|
|
|
|
|
|
|
|
%package help
|
|
|
|
|
Summary: Including man files for usbutils
|
|
|
|
|
Requires: man
|
|
|
|
|
|
|
|
|
|
%description help
|
|
|
|
|
This contains man files for the using of usbutils.
|
|
|
|
|
|
|
|
|
|
%prep
|
2021-07-30 23:39:43 +08:00
|
|
|
%autosetup -n %{name}-%{version} -p1
|
2019-09-30 11:19:10 -04:00
|
|
|
|
|
|
|
|
%build
|
2020-07-16 22:22:21 +08:00
|
|
|
autoreconf -vif
|
2019-09-30 11:19:10 -04:00
|
|
|
%configure --sbindir=%{_sbindir} --datadir=%{_datadir}/hwdata --disable-usbids
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install INSTALL="install -p"
|
|
|
|
|
install -D -m 644 %{SOURCE1} %{buildroot}%{_defaultlicensedir}/%{name}/GPL-2.0.txt
|
|
|
|
|
install -D -m 644 %{SOURCE2} %{buildroot}%{_defaultlicensedir}/%{name}/GPL-3.0.txt
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc NEWS
|
|
|
|
|
%license GPL-2.0.txt GPL-3.0.txt
|
|
|
|
|
%{_bindir}/*
|
|
|
|
|
|
|
|
|
|
%files help
|
|
|
|
|
%{_mandir}/*/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2021-09-28 14:51:28 +08:00
|
|
|
* Tue Sep 28 2021 Wenchao Hao <haowenchao@huawei.com> - 012-5
|
|
|
|
|
- Nothing but to sync master and LTS branch
|
|
|
|
|
|
2021-07-30 23:39:43 +08:00
|
|
|
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 012-3
|
|
|
|
|
- DESC: delete -S git from %autosetup, and delete BuildRequires git
|
|
|
|
|
|
2020-10-29 21:44:05 +08:00
|
|
|
* Thu Oct 29 2020 Zhiqiang Liu <liuzhiqiang26@huawei.com> -012-2
|
|
|
|
|
- backport one patch to init string buffer before reading from it
|
|
|
|
|
|
2020-07-16 22:22:21 +08:00
|
|
|
* Thu July 16 2020 liubo <liubo254@huawei.com> -012-1
|
|
|
|
|
- upgrade package to 012
|
|
|
|
|
|
2019-09-30 11:19:10 -04:00
|
|
|
* Wed Aug 21 2019 zhanghaibo <ted.zhang@huawei.com> - 010-4
|
|
|
|
|
- Type:enhancemnet
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESCi:openEuler Debranding
|
|
|
|
|
|
|
|
|
|
* Wed Aug 21 2019 Su Weifeng <suweifeng1@huawei.com> - 010-3
|
|
|
|
|
- Type:other
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:rename patches
|
|
|
|
|
- Package init
|