File usbutils.spec of Package usbutils

#
# spec file for package usbutils
#
# Copyright (c) 2014 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 http://bugs.opensuse.org/
#


Name:           usbutils
Version:        008
Release:        0
Summary:        Tools and libraries for USB devices
License:        GPL-2.0+
Group:          Hardware/Other
Url:            http://sourceforge.net/projects/linux-usb/
Source0:        https://www.kernel.org/pub/linux/utils/usb/usbutils/usbutils-%{version}.tar.xz
Source1:        usbutils-rpmlintrc
BuildRequires:  libusb-1_0-devel
BuildRequires:  pkg-config
BuildRequires:  pkgconfig(libudev) >= 196
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
This package contains a utility for inspecting devices connected to USB
ports.

%prep
%setup -q

%build
%configure --disable-zlib
make %{?_smp_mflags}

%install
make install DESTDIR=%{buildroot}

%files
%defattr(0644, root, root, 0755)
%attr(0644, root, root) %{_mandir}/man1/*
%attr(0644, root, root) %{_mandir}/man8/*
%attr(0755, root, root) %{_bindir}/*
%{_datadir}/pkgconfig/usbutils.pc
%doc AUTHORS ChangeLog

%changelog
openSUSE Build Service is sponsored by