cafaa2
Name: usbutils
cafaa2
Version: 007
1ef3bb
Release: 5%{?dist}
cafaa2
Source:	https://www.kernel.org/pub/linux/utils/usb/usbutils/%{name}-%{version}.tar.gz
cafaa2
URL: http://www.linux-usb.org/
cafaa2
License: GPLv2+
cafaa2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
cafaa2
cafaa2
Requires: hwdata
cafaa2
BuildRequires: autoconf, libtool, libusb-devel >= 0.1.8, libusb1-devel
cafaa2
Summary: Linux USB utilities
cafaa2
Group: Applications/System
cafaa2
Conflicts: hotplug < 3:2002_01_14-2
cafaa2
cafaa2
#Path to usb.ids in lsusb.py should be with /hwdata/
cafaa2
Patch0: usbutils-006-hwdata.patch
cafaa2
Patch1: usbutils-007-python2.patch
cafaa2
1ef3bb
Patch2: 0001-lsusb-t-don-t-segfault-when-usbbuslist-is-empty.patch
1ef3bb
Patch3: 0001-lsusb-t-handle-problem-if-there-is-no-usb-bus-list.patch
1ef3bb
cafaa2
%description
cafaa2
This package contains utilities for inspecting devices connected to a
cafaa2
USB bus.
cafaa2
cafaa2
%prep
cafaa2
%setup -q
cafaa2
%patch0 -p1
cafaa2
%patch1 -p1
cafaa2
1ef3bb
%patch2 -p1
1ef3bb
%patch3 -p1
1ef3bb
cafaa2
%build
cafaa2
%configure --sbindir=%{_sbindir} --datadir=%{_datadir}/hwdata --disable-usbids
cafaa2
make %{?_smp_mflags}
cafaa2
cafaa2
%install
cafaa2
rm -rf $RPM_BUILD_ROOT
cafaa2
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
cafaa2
cafaa2
%files
cafaa2
%defattr(-,root,root,-)
cafaa2
%{_mandir}/*/*
cafaa2
%{_bindir}/*
cafaa2
%{_datadir}/pkgconfig/usbutils.pc
cafaa2
%doc AUTHORS COPYING ChangeLog NEWS README
cafaa2
cafaa2
%clean
cafaa2
rm -rf $RPM_BUILD_ROOT
cafaa2
cafaa2
%changelog
1ef3bb
* Mon Mar 30 2015 Lukáš Nykrýn <lnykryn@redhat.com> - 007-5
1ef3bb
- lsusb -t: fix crashes
1ef3bb
6fa543
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 007-4
6fa543
- Mass rebuild 2014-01-24
6fa543
6fa543
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 007-3
6fa543
- Mass rebuild 2013-12-27
6fa543
cafaa2
* Thu Jul 25 2013 Lukáš Nykrýn <lnykryn@redhat.com> - 007-2
cafaa2
- change shebang directly to python (#987047)
cafaa2
cafaa2
* Mon Jun 17 2013 Lukáš Nykrýn <lnykryn@redhat.com> - 007-1
cafaa2
- new upstream release
cafaa2
cafaa2
* Tue Feb 26 2013 Lukáš Nykrýn <lnykryn@redhat.com> - 006-4
cafaa2
- lsusb-t: make sure that interfaces are added to lists only once (#914929)
cafaa2
cafaa2
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 006-3
cafaa2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
cafaa2
cafaa2
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 006-2
cafaa2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
cafaa2
cafaa2
* Mon Jul 16 2012 Lukáš Nykrýn <lnykryn@redhat.com> - 006-1
cafaa2
- new upstream release
cafaa2
cafaa2
* Thu Apr 19 2012 Lukas Nykryn <lnykryn@redhat.com> 005-1
cafaa2
- new upstream release
cafaa2
cafaa2
* Thu Apr 19 2012 Lukas Nykryn <lnykryn@redhat.com> 004-4
cafaa2
- Ignore missing driver symlink (#808934)
cafaa2
cafaa2
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 004-3
cafaa2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
cafaa2
cafaa2
* Tue Aug 20 2011 Lukas Nykryn <lnykryn@redhat.com> 004-2
cafaa2
- fixed paths to usb.ids 
cafaa2
cafaa2
* Sat Aug 13 2011 Jiri Moskovcak <jmoskovc@redhat.com> 004-1
cafaa2
- new upstream release
cafaa2
- dropepd config descriptor patch, it's included in upstream version
cafaa2
cafaa2
* Thu Aug 11 2011 Jiri Moskovcak <jmoskovc@redhat.com> 003-3
cafaa2
- fixed path to usb.ids in lsusb.py rhbz#729903
cafaa2
cafaa2
* Mon Jun 27 2011 Nils Philippsen <nils@redhat.com> 003-2
cafaa2
- don't use invalid config descriptors (#707853)
cafaa2
cafaa2
* Thu Jun 16 2011 Jiri Moskovcak <jmoskovc@redhat.com> 003-1
cafaa2
- new upstream release
cafaa2
cafaa2
* Tue Apr 26 2011 Jiri Moskovcak <jmoskovc@redhat.com> 002-1
cafaa2
- new upstream release
cafaa2
- udpated hwdata patch
cafaa2
cafaa2
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 001-3
cafaa2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
cafaa2
cafaa2
* Wed Jan 27 2011 Jiri Moskovcak <jmoskovc@redhat.com> 001-2
cafaa2
- rebuild against new libusb
cafaa2
cafaa2
* Thu Jan 06 2011 Jiri Moskovcak <jmoskovc@redhat.com> 001-1
cafaa2
- new upstream release
cafaa2
- updated usbhid-dump subproject
cafaa2
- usbutils: Support UVC frame-based descriptors
cafaa2
- usbutils: Support UVC MPEG2-TS format descriptor
cafaa2
- lsusb: Fix getting BOS and DEVQUAL descriptors
cafaa2
- lsusb: Dump the Pipe Usage desciptor
cafaa2
- lsusb: Fix bMaxBurst reporting
cafaa2
- lsusb: install into /usr/bin
cafaa2
- usbmisc: pull in unistd.h for readlink()
cafaa2
- lsusb: pull in stdlib.h for exit()
cafaa2
- lsusb: constify!
cafaa2
- usbutils: convert to libusb-1.0
cafaa2
- Update usbhid-dump to release 1.2
cafaa2
- usbutils: Fix compile error on Ubuntu 9.04
cafaa2
- usbutils: Make lsusb -t show USB 3.0 devices
cafaa2
cafaa2
* Wed Oct 27 2010 Jiri Moskovcak <jmoskovc@redhat.com> 0.91-2
cafaa2
- bump release
cafaa2
cafaa2
* Wed Oct 27 2010 Jiri Moskovcak <jmoskovc@redhat.com> 0.91-1
cafaa2
- new upstream release
cafaa2
  - ads usbhid-dump
cafaa2
cafaa2
* Thu Aug 26 2010 Jiri Moskovcak <jmoskovc@redhat.com> 0.90-1
cafaa2
- new upstream release
cafaa2
cafaa2
* Tue Sep 22 2009  Jiri Moskovcak <jmoskovc@redhat.com> 0.86-2
cafaa2
- spec file fixes - package should not own /usr/{bin,sbin} (rhbz#524005)
cafaa2
cafaa2
* Wed Sep 16 2009  Jiri Moskovcak <jmoskovc@redhat.com> 0.86-1
cafaa2
- new version
cafaa2
- spec file fixes as suggested in rhbz#466041 (info@owlriver.com)
cafaa2
cafaa2
* Mon Aug 24 2009 Karsten Hopp <karsten@redhat.com> 0.82-5
cafaa2
- drop ExcludeArch: s390 s390x as we need this package on s390x to be able to build
cafaa2
  p.e. udev without any hacks
cafaa2
cafaa2
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.82-4
cafaa2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
cafaa2
cafaa2
* Wed Jul  1 2009  Jiri Moskovcak <jmoskovc@rdhat.com> 0.82-3
cafaa2
- added autoconf to fix build in koji
cafaa2
cafaa2
* Wed Jul  1 2009  Jiri Moskovcak <jmoskovc@redhat.com> 0.82-2
cafaa2
- minor fix in Makefile.am to properly find usb.ids from hwdata
cafaa2
- Resolves: #506974
cafaa2
cafaa2
* Fri May 22 2009 David Zeuthen <davidz@redhat.com> 0.82-1
cafaa2
- Update to 0.82
cafaa2
cafaa2
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.73-3
cafaa2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
cafaa2
cafaa2
* Tue Feb 12 2008 Jiri Moskovcak <jmoskovc@redhat.com> 0.73-2
cafaa2
- spec file cleanup
cafaa2
cafaa2
* Thu Jan 17 2008 Jiri Moskovcak <jmoskovc@redhat.com> 0.73-1
cafaa2
- new version 0.73
cafaa2
cafaa2
* Mon Sep 18 2006 Thomas Woerner <twoerner@redhat.com> 0.72-1
cafaa2
- new version 0.72
cafaa2
- videoterminal (vt) patch is now upstream, dropped
cafaa2
cafaa2
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.71-2.1
cafaa2
- rebuild
cafaa2
cafaa2
* Wed Mar 01 2006 Karsten Hopp <karsten@redhat.de> 1.71-2
cafaa2
- add usbutils-0.71-VT.patch to fix warnings about unknown lines
cafaa2
  (#176903)
cafaa2
cafaa2
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.71-1.2
cafaa2
- bump again for double-long bug on ppc(64)
cafaa2
cafaa2
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.71-1.1
cafaa2
- rebuilt for new gcc4.1 snapshot and glibc changes
cafaa2
cafaa2
* Tue Dec 13 2005 Thomas Woerner <twoerner@redhat.com> 0.71-1
cafaa2
- new version 0.71
cafaa2
cafaa2
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
cafaa2
- rebuilt
cafaa2
cafaa2
* Fri Apr 15 2005 Thomas Woerner <twoerner@redhat.com> 0.70-1.1
cafaa2
- added fix from Robert Scheck to fix missing BuildRequires for libusb-devel
cafaa2
 (#155006)
cafaa2
cafaa2
* Thu Apr 14 2005 Thomas Woerner <twoerner@redhat.com> 0.70-1
cafaa2
- new version 0.70
cafaa2
cafaa2
* Thu Jan 20 2005 David Woodhouse <dwmw2@redhat.com> 0.11-6.2
cafaa2
- Don't byteswap parts of device descriptor which kernel already swapped
cafaa2
cafaa2
* Mon Sep 13 2004 Thomas Woerner <twoerner@redhat.com> 0.11-6.1
cafaa2
- added missing BuildRequires for libtool (#132406)
cafaa2
cafaa2
* Wed Sep  1 2004 Thomas Woerner <twoerner@redhat.com> 0.11-6
cafaa2
- added patch from Aurelien Jarno for unknown HID Country Code entries in
cafaa2
  usb.ids (#127415)
cafaa2
cafaa2
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cafaa2
- rebuilt
cafaa2
cafaa2
* Tue May  4 2004 Bill Nottingham <notting@redhat.com> 0.11-4
cafaa2
- add patch from USB maintainer to fix various brokenness (#115694, <david-b@pacbell.net>)
cafaa2
cafaa2
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cafaa2
- rebuilt
cafaa2
cafaa2
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
cafaa2
- rebuilt
cafaa2
cafaa2
* Tue Jun  3 2003 Jeff Johnson <jbj@redhat.com>
cafaa2
- add explicit epoch's where needed.
cafaa2
cafaa2
* Mon May 19 2003 Bill Nottingham <notting@redhat.com> 0.11-1
cafaa2
- update to 0.11, fixes #90640
cafaa2
- add patch to fix some warnings (#78462, <d.binderman@virgin.net>)
cafaa2
cafaa2
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
cafaa2
- rebuilt
cafaa2
cafaa2
* Fri Nov 29 2002 Tim Powers <timp@redhat.com> 0.9-9
cafaa2
- remove unpackaged files from the buildroot
cafaa2
cafaa2
* Wed Nov 20 2002 Florian La Roche <Florian.LaRoche@redhat.de>
cafaa2
- exclude mainframe
cafaa2
cafaa2
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
cafaa2
- automated rebuild
cafaa2
cafaa2
* Thu May 23 2002 Tim Powers <timp@redhat.com>
cafaa2
- automated rebuild
cafaa2
cafaa2
* Thu Mar 21 2002 Trond Eivind Glomsrød <teg@redhat.com> 0.9-5
cafaa2
- Fix conflict check
cafaa2
cafaa2
* Mon Mar 18 2002 Trond Eivind Glomsrød <teg@redhat.com> 0.9-4
cafaa2
- Conflict with older versions of hotplug which contained
cafaa2
  parts of this package (#60615)
cafaa2
cafaa2
* Fri Feb 22 2002 Trond Eivind Glomsrød <teg@redhat.com> 0.9-3
cafaa2
- Rebuild
cafaa2
cafaa2
* Wed Jan 30 2002 Bill Nottingham <notting@redhat.com> 0.9-2
cafaa2
- require hwdata
cafaa2
cafaa2
* Wed Jan 16 2002 Trond Eivind Glomsrød <teg@redhat.com> 0.9-1
cafaa2
- Initial RPM
cafaa2
- make it build on ia64
cafaa2