2015-07-19 11:42:35 +00:00
|
|
|
Name: usbutils
|
2023-01-13 12:15:44 +00:00
|
|
|
Version: 015
|
2022-12-06 13:22:58 +00:00
|
|
|
Release: %autorelease
|
2015-07-19 11:42:35 +00:00
|
|
|
Summary: Linux USB utilities
|
|
|
|
URL: http://www.linux-usb.org/
|
2023-04-11 15:29:18 +00:00
|
|
|
License: GPL-2.0-or-later
|
2008-02-12 12:36:40 +00:00
|
|
|
|
2015-07-19 11:42:35 +00:00
|
|
|
Source0: https://www.kernel.org/pub/linux/utils/usb/usbutils/%{name}-%{version}.tar.xz
|
2018-06-08 12:25:55 +00:00
|
|
|
|
2021-01-09 00:30:21 +00:00
|
|
|
BuildRequires: make
|
2019-05-12 12:06:51 +00:00
|
|
|
BuildRequires: gcc
|
2015-07-19 11:42:35 +00:00
|
|
|
BuildRequires: libusbx-devel
|
|
|
|
BuildRequires: systemd-devel
|
|
|
|
Requires: hwdata
|
|
|
|
|
2010-08-30 11:50:38 +00:00
|
|
|
%description
|
2004-09-09 13:49:40 +00:00
|
|
|
This package contains utilities for inspecting devices connected to a
|
|
|
|
USB bus.
|
|
|
|
|
|
|
|
%prep
|
2019-05-12 12:06:51 +00:00
|
|
|
%autosetup -p1
|
2018-06-08 12:25:55 +00:00
|
|
|
|
2004-09-09 13:49:40 +00:00
|
|
|
%build
|
2012-07-16 10:49:16 +00:00
|
|
|
%configure --sbindir=%{_sbindir} --datadir=%{_datadir}/hwdata --disable-usbids
|
2019-05-12 12:06:51 +00:00
|
|
|
%make_build
|
2004-09-09 13:49:40 +00:00
|
|
|
|
|
|
|
%install
|
2019-05-12 12:06:51 +00:00
|
|
|
%make_install
|
2017-12-04 02:59:45 +00:00
|
|
|
rm -rf %{buildroot}/%{_libdir}/pkgconfig/usbutils.pc
|
2004-09-09 13:49:40 +00:00
|
|
|
|
|
|
|
%files
|
2021-08-11 08:21:45 +00:00
|
|
|
%license LICENSES/GPL*
|
2018-06-08 12:25:55 +00:00
|
|
|
%doc NEWS
|
2004-09-09 13:49:40 +00:00
|
|
|
%{_mandir}/*/*
|
2009-09-22 11:26:19 +00:00
|
|
|
%{_bindir}/*
|
2004-09-09 13:49:40 +00:00
|
|
|
|
|
|
|
%changelog
|
2022-12-06 13:22:58 +00:00
|
|
|
%autochangelog
|