File usbutils.spec of Package usbutils

# spec file for package usbutils
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# 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

Name:           usbutils
BuildRequires:  libusb-1_0-devel
BuildRequires:  pkg-config
Version:        006
Release:        0
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Summary:        Tools and libraries for USB devices
License:        GPL-2.0+
Group:          Hardware/Other
Source0:        usbutils-%{version}.tar.xz
Source1:        usbutils-rpmlintrc
Source2:        usb.ids
Patch:          config-guess-sub-update.patch

This package contains a utility for inspecting devices connected to USB

%setup -q
cp %{S:2} usb.ids

%configure --disable-zlib
make %{?jobs:-j %jobs}


%defattr(0644, root, root, 0755)
%attr(0644, root, root) %{_mandir}/man1/*
%attr(0644, root, root) %{_mandir}/man8/*
%attr(0755, root, root) %{_prefix}/bin/*
%attr(0755, root, root) %{_prefix}/sbin/*
%doc AUTHORS ChangeLog

openSUSE Build Service is sponsored by