39 lines
733 B
RPMSpec
39 lines
733 B
RPMSpec
Name: usbutils
|
|
Version: 015
|
|
Release: %autorelease
|
|
Summary: Linux USB utilities
|
|
URL: http://www.linux-usb.org/
|
|
License: GPL-2.0-or-later
|
|
|
|
Source0: https://www.kernel.org/pub/linux/utils/usb/usbutils/%{name}-%{version}.tar.xz
|
|
|
|
BuildRequires: make
|
|
BuildRequires: gcc
|
|
BuildRequires: libusbx-devel
|
|
BuildRequires: systemd-devel
|
|
Requires: hwdata
|
|
|
|
%description
|
|
This package contains utilities for inspecting devices connected to a
|
|
USB bus.
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
%configure --sbindir=%{_sbindir} --datadir=%{_datadir}/hwdata --disable-usbids
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
rm -rf %{buildroot}/%{_libdir}/pkgconfig/usbutils.pc
|
|
|
|
%files
|
|
%license LICENSES/GPL*
|
|
%doc NEWS
|
|
%{_mandir}/*/*
|
|
%{_bindir}/*
|
|
|
|
%changelog
|
|
%autochangelog
|