Sync from SUSE:SLFO:Main libusb-1_0 revision 59a96b590d0449c65a2db8d5d7eb2752

This commit is contained in:
Adrian Schröter 2024-05-03 16:00:34 +02:00
commit 0dcade939a
7 changed files with 739 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

5
baselibs.conf Normal file
View File

@ -0,0 +1,5 @@
libusb-1_0-0
libusb-1_0-devel
requires -libusb-1_0-<targettype>
requires "libusb-1_0-0-<targettype> = <version>"

BIN
libusb-1.0.27.tar.bz2 (Stored with Git LFS) Normal file

Binary file not shown.

16
libusb-1.0.27.tar.bz2.asc Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEnH6pSTnGnE+8Pb+oqgY5B577YbkFAmW6xoMACgkQqgY5B577
YbmEWg/9Fp2VLICEVOIUYT5dMQt9d3nRf6hSNHepUj8sSq2F7AYDWLTMQjhU1JZg
0uuLqcBMDjRQL22L5AVoC/Gfyg8Xe2fWGFKWOFEqOeK6wz+zGVvzOI5Wq58fqgLG
z3aIuvMLU3YflGQGfKhNo4O1RRWtt18mI81vJWL6iKN2FJeDSQ/fpqrgVYjk87IX
XpkE4ukzb5xJ97iORfZxHIvE20Y00wTWloMm/dGnhh9c+Wxa3tKwXL3H4g+pQjli
SIEzYNFKXXic2U6jgAdlSw8pll4VPoALQAmrYD4Bb7uR0KYD3PL0Ln2rXWB252+T
ZGGS6kQFN/Ju6wz36RqbYfzVf3GxdlPagBYyZx/UQgj7r7HuvxhS5FaBaWr0U5e6
D7bQZDwqc7WoDEpGAkAkdCBp/qs9JWbWW8CgTKkLPcnT+oZDOJxlj3ADoDivS91c
QBDg28Wia7BWMesDgWYlvMsDNd6zSTPcQLpiJjb7wBdlYuU9ELNgVziwlz8vEyt2
4U0Ec7180nJpzn6BpabHx1V2NEMXIwOqBjC8zisjLluRi7S8Vj/Ts6DDyw9SGqN7
ncTeSEU+LK2a9nvsIaXIyZ/N+0sic7rdjWbqHcCtneQ1QdqjFtsAXW48AbG6vJvY
sYh610vVqHXGlwbJlzO4HnhoAPAKbFxGsXgZa1YTATGN+4TO2QE=
=e8dx
-----END PGP SIGNATURE-----

509
libusb-1_0.changes Normal file
View File

@ -0,0 +1,509 @@
-------------------------------------------------------------------
Thu Feb 1 10:01:05 UTC 2024 - Marcus Meissner <meissner@suse.com>
- Update to version 1.0.27
* New libusb_init_context API to replace libusb_init
* New libusb_get_max_alt_packet_size API
* New libusb_get_platform_descriptor API (BOS)
* Allow setting log callback with libusb_set_option/libusb_init_context
* New WebAssembly + WebUSB backend using Emscripten
* Fix regression in libusb_set_interface_alt_setting
* Fix sync transfer completion race and use-after-free
* Fix hotplug exit ordering
* Linux: NO_DEVICE_DISCOVERY option set per context
- added signature and keyring. (key received via keyserver)
-------------------------------------------------------------------
Sun Apr 10 19:17:47 UTC 2022 - Martin Hauke <mardnh@gmx.de>
- Update to version 1.0.26
* Fix regression with transfer free's after closing device
* Fix regression with destroyed context if API is misused
* Workaround for applications using missing default context
* Fix hotplog enumeration regression
* Build fixes for various platforms and configurations
* Add interface bound checking for broken devices
* Add umockdev tests on Linux
-------------------------------------------------------------------
Tue Feb 1 21:43:03 UTC 2022 - Martin Hauke <mardnh@gmx.de>
- Update to version 1.0.25
* Fix regression with some particular devices
* Fix regression with libusb_handle_events_timeout_completed()
* Fix regression with cpu usage in libusb_bulk_transfer
* New NO_DEVICE_DISCOVERY option replaces WEAK_AUTHORITY option
* Various other bug fixes and improvements
- Drop not longer needed patch:
* 0001-fix-descriptor-parsing.patch
-------------------------------------------------------------------
Sun Jan 17 11:38:45 UTC 2021 - Simon Vogl <simon.vogl@gmx.net>
- Add 0001-fix-descriptor-parsing.patch to fix detection of some devices.
-------------------------------------------------------------------
Thu Dec 10 19:18:02 UTC 2020 - Martin Hauke <mardnh@gmx.de>
- Update to version 1.0.24
* Add new platform abstraction (#252).
* Add Null POSIX backend.
* Add support for eventfd.
* New API libusb_hotplug_get_user_data().
* Linux: Drop support for kernel older than 2.6.32.
* Linux: Provide an event thread name. (#689).
* Linux: Wait until all USBs have been reaped before freeing
them. (#607)
* Documentation fixes and improvements.
* Various other bug fixes and improvements.
-------------------------------------------------------------------
Thu Aug 29 20:04:48 UTC 2019 - Martin Hauke <mardnh@gmx.de>
- Update to version 1.0.23
* Core: abandon synchronous transfers when device closure is
detected.
* Core: fix error in handling the removal of file descriptors
while handling events.
* New API libusb_set_log_cb() to redirect global and per context
log messages to the provided log handling function.
* New API libusb_wrap_sys_device to allow the user to specify
the usb device to use.
* Various other bug fixes and improvements.
-------------------------------------------------------------------
Sun Mar 25 10:05:47 UTC 2018 - mardnh@gmx.de
- Update to version 1.0.22
* Core: Refactor code related to transfer flags and timeout handling
* Linux: Support preallocating kernel memory for zerocopy USB
* Linux: Deal with receiving POLLERR before all transfers have completed
* Prevent attempts to recursively handle events
* Fix race condition in handle_timeout()
* Allow transferred argument to be optional in bulk APIs
* Various other bug fixes and improvements
* Fix the inclusion of "sys/time.h" on PowerPC (bsc#1178376)
-------------------------------------------------------------------
Thu Mar 22 09:10:18 UTC 2018 - jengelh@inai.de
- Fix SRPM group.
-------------------------------------------------------------------
Tue Mar 20 12:18:32 UTC 2018 - tchvatal@suse.com
- Use dos2unix to generate the non-windows trailing on files
- Remove sle11 support as it got borged with last commit and
we don't mostly need it to build there
-------------------------------------------------------------------
Tue Mar 20 13:10:13 CET 2018 - kukuk@suse.de
- Use %license instead of %doc [bsc#1082318]
-------------------------------------------------------------------
Sun Oct 30 09:21:25 UTC 2016 - mardnh@gmx.de
- Update to version 1.0.21
* Core: Refactor code related to transfer flags and timeout handling
* Darwin: Ignore root hub simulation devices
* Darwin: Improved support for OS X El Capitan
* Darwin: Work around devices with buggy endpoint descriptors
* Darwin: Do not use objc_registerThreadWithCollector after its deprecation
* Darwin: Use C11 atomics on 10.12+ as the OS atomics are now deprecated
* Linux: Support preallocating kernel memory for zerocopy USB
* Linux: Deal with receiving POLLERR before all transfers have completed
* Solaris: Add solaris backend
* Windows: Add Visual Studio 2015 support
* Windows: Add usbdk backend
* Prevent attempts to recursively handle events
* Fix race condition in handle_timeout()
* Allow transferred argument to be optional in bulk APIs
* Various other bug fixes and improvements
- Fix source url
-------------------------------------------------------------------
Wed May 25 09:04:00 UTC 2016 - idonmez@suse.com
- Update to GNOME 3.20.2 FATE#318572
-------------------------------------------------------------------
Fri Oct 23 08:48:52 UTC 2015 - olaf@aepfle.de
- Remove _smp_mflags usage to fix sporadic build errors
-------------------------------------------------------------------
Mon Sep 14 17:09:43 UTC 2015 - mardnh@gmx.de
- Update to version 1.0.20:
* Add Haiku support
* Fix multiple memory and resource leaks (#16, #52, #76, #81)
* Fix possible deadlock when executing transfer callback
* New libusb_free_pollfds() API
* Darwin: Fix devices not being detected on OS X 10.8 (#48)
* Linux: Allow larger isochronous transfer submission (#23)
* Windows: Fix broken builds Cygwin/MinGW builds and compiler warnings
* Windows: Fix broken bus number lookup
* Windows: Improve submission of control requests for composite devices
* Examples: Add two-stage load support to fxload (#12)
* Correctly report cancellations due to timeouts
* Improve efficiency of event handling
* Improve speed of transfer submission in multi-threaded environments
* Various other bug fixes and improvements
-------------------------------------------------------------------
Wed Jul 23 20:17:14 UTC 2014 - mardnh@gmx.de
- Update to version 1.0.19:
* Add support for USB bulk streams on Linux and Mac OS X (#11)
* Windows: Add AMD and Intel USB-3.0 root hub support
* Windows: Fix USB 3.0 speed detection on Windows 8 or later (#10)
* Added Russian translation for libusb_strerror strings
* All: Various small fixes and cleanups
-------------------------------------------------------------------
Wed May 21 20:12:12 CEST 2014 - sbrabec@suse.cz
- Build with pkgconfig(libudev), not pkgconfig(udev).
-------------------------------------------------------------------
Fri Feb 7 22:06:46 CET 2014 - sbrabec@suse.cz
- New upstream, new home page.
- Update to version 1.0.18:
* API extensions:
* hotplug support
* topology support
* error processing, detaching, debugging etc.
* many fixes
* for more see ChangeLog
-------------------------------------------------------------------
Mon Apr 15 14:12:34 UTC 2013 - mmeister@suse.com
- Added url as source.
Please see http://en.opensuse.org/SourceUrls
-------------------------------------------------------------------
Thu Apr 26 20:42:46 CEST 2012 - sbrabec@suse.cz
- Use %makeinstall instead of %make_install to build on SLE11.
-------------------------------------------------------------------
Fri Apr 20 07:40:43 UTC 2012 - dimstar@opensuse.org
- Update to version 1.0.9:
+ Numerous bug fixes and improvements
+ Backend for Windows, for devices using the WinUSB.sys driver
+ Backend for OpenBSD and NetBSD, for devices using the ugen
driver
+ Add libusb_get_device_speed()
+ Add libusb_has_capability()
+ Add libusb_error_name()
+ Add libusb_get_version()
- Drop libtool BuildRequires and call to autoreconf: as we switched
to an officialy released tarball, there is no need to bootstrap
anymore.
-------------------------------------------------------------------
Tue Apr 3 18:51:32 CEST 2012 - sbrabec@suse.cz
- Update to the latest git snapshot 6b1982b:
* Bug fixes.
* Support for USB 3.0.
* Add LIBUSB_TRANSFER_ADD_ZERO_PACKET flag.
-------------------------------------------------------------------
Sun Feb 12 15:11:04 UTC 2012 - crrodriguez@opensuse.org
- Libraries back in %{_libdir}, /usr merge project.
-------------------------------------------------------------------
Thu Nov 24 16:40:21 UTC 2011 - dimstar@opensuse.org
- Update to version 1.0.9rc3:
+ Fix memory leaks
+ Factorize event handler interruption code
+ Add Windows support
+ Fix inconsistencies between prototypes and definitions
+ Add libusb_error_name() API function.
-------------------------------------------------------------------
Sun Nov 20 06:25:17 UTC 2011 - coolo@suse.com
- add libtool as buildrequire to avoid implicit dependency
-------------------------------------------------------------------
Wed Jun 1 10:48:18 UTC 2011 - seife+obs@b1-systems.com
- move libusb from /usr to / to make it usable for other packages
and work around rpmlint stupidity
-------------------------------------------------------------------
Mon Jun 21 12:00:40 CEST 2010 - opensuse@sukimashita.com
- Updated to version 1.0.8:
* Bug fixes and documentation tweaks
* Add more interface class definitions
- This release fixes a crash for kernel's with debug flag enabled
-------------------------------------------------------------------
Sat Apr 24 10:14:18 UTC 2010 - coolo@novell.com
- buildrequire pkg-config to fix provides
-------------------------------------------------------------------
Tue Dec 15 01:47:55 CET 2009 - jengelh@medozas.de
- add baselibs.conf as a source
-------------------------------------------------------------------
Wed Dec 9 12:25:41 UTC 2009 - aj@suse.de
- Create libusb-1_0-devel-32bit for grub2.
-------------------------------------------------------------------
Mon Nov 23 15:39:16 CET 2009 - sbrabec@suse.cz
- Updated to version 1.0.6:
* Increase libusb_handle_events() timeout to 60 seconds.
* Allows libusb applications to access multiple interfaces of the
same device in the same application.
* Use timerfd for timeout handling.
* Add support for the new URB_BULK_CONTINUATION flag.
* Support for transfer locking.
* More flexibility with monotonic clock.
-------------------------------------------------------------------
Tue Sep 08 19:32:23 CEST 2009 - opensuse@sukimashita.com
- Updated to version 1.0.3:
* Bug fixes
* Allow sending zero length bulk packets
* Add libusb_get_max_iso_packet_size()
-------------------------------------------------------------------
Mon Jun 29 15:52:54 CEST 2009 - sbrabec@suse.cz
- Updated to version 1.0.2:
* Bug fixes, see ChangeLog.
-------------------------------------------------------------------
Wed May 20 14:53:37 CEST 2009 - sbrabec@suse.cz
- Updated to version 1.0.1:
* Bug fixes
* Darwin backend
-------------------------------------------------------------------
Thu Apr 9 14:02:54 CEST 2009 - sbrabec@suse.cz
- Updated to version 1.0.0, the new official stable branch:
* Bug fixes
* Add libusb_attach_kernel_driver()
-------------------------------------------------------------------
Thu Feb 5 04:13:24 CET 2009 - crrodriguez@suse.de
- remove "la" files
-------------------------------------------------------------------
Mon Oct 6 12:06:13 CEST 2008 - sbrabec@suse.cz
- Added baselibs.conf (bnc#432304).
-------------------------------------------------------------------
Wed Sep 24 12:13:39 CEST 2008 - ro@suse.de
- fix debug package requires
-------------------------------------------------------------------
Wed Sep 10 14:01:49 CEST 2008 - sbrabec@suse.cz
- Updated to version 0.9.3:
* New branch, new API.
* Introduced contexts to the API.
* Compatible with new Linux kernel features.
* Isochronous endpoint I/O
* Asynchronous I/O with per-URB style callbacks
* Zero threads (lightweight, uses main thread of calling
application)
* Exposure of poll fds to applications for good mainloop
integration
-------------------------------------------------------------------
Fri Sep 5 13:52:45 CEST 2008 - sbrabec@suse.cz
- Split according to shared library policy.
- Disabled static library.
-------------------------------------------------------------------
Wed May 7 11:29:29 CEST 2008 - schwab@suse.de
- Fix configure script.
-------------------------------------------------------------------
Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de
- added baselibs.conf file to build xxbit packages
for multilib support
-------------------------------------------------------------------
Wed May 23 07:37:09 CEST 2007 - meissner@suse.de
- libusb main package no longer should provide libusb-devel.
- run ldconfig in %post/%postun
-------------------------------------------------------------------
Tue May 22 13:06:08 CEST 2007 - olh@suse.de
- split libusb-devel package (#203989)
-------------------------------------------------------------------
Tue Apr 17 13:22:28 CEST 2007 - sbrabec@suse.cz
- Provide libusb-devel.
-------------------------------------------------------------------
Sun Mar 5 09:54:57 CET 2006 - olh@suse.de
- update to 0.1.12
endian fixes, memory leaks fixed
-------------------------------------------------------------------
Wed Jan 25 21:30:27 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Sat Jan 21 10:49:09 CET 2006 - olh@suse.de
- update to 0.1.11
pkgconfig support
Workaround regression in 0.1.10 with multi-threaded applications
-------------------------------------------------------------------
Fri Dec 9 13:44:31 CET 2005 - olh@suse.de
- remove resmgr patch
-------------------------------------------------------------------
Wed Nov 16 13:28:50 CET 2005 - lnussel@suse.de
- prefer /dev/bus/usb over /proc/bus/usb
- disable resmgr patch, not needed for /dev/bus/usb anymore
-------------------------------------------------------------------
Wed Aug 10 18:29:13 CEST 2005 - olh@suse.de
- add patch from Kay Sievers to look also into /dev/bus/usb
-------------------------------------------------------------------
Tue May 31 11:25:34 CEST 2005 - olh@suse.de
- add libusb-libusb_la-dep.patch to allow make -j
-------------------------------------------------------------------
Fri May 27 22:44:25 CEST 2005 - olh@suse.de
- update to 0.1.10a
-------------------------------------------------------------------
Thu May 26 23:06:57 CEST 2005 - olh@suse.de
- fix compile warnings
- build as user
- split our resmgr patch
-------------------------------------------------------------------
Sat Mar 19 17:03:58 CET 2005 - meissner@suse.de
- fixed a filedescriptor leak. #73967
-------------------------------------------------------------------
Sat Feb 21 18:22:41 CET 2004 - meissner@suse.de
- upgraded to 0.1.8 final.
-------------------------------------------------------------------
Thu Feb 5 16:12:26 CET 2004 - lnussel@suse.de
- add -lresmgr to output of libusb-config
-------------------------------------------------------------------
Mon Aug 25 13:14:41 CEST 2003 - adrian@suse.de
- do not provide usb anymore, it is not needed for an update
and breaks rpm4 update concept
-------------------------------------------------------------------
Tue Jul 22 15:20:18 CEST 2003 - meissner@suse.de
- Upgraded to 0.1.8beta (finally supports USB interrupt
tranfers).
- Forward ported resmgr patch.
-------------------------------------------------------------------
Wed May 14 09:22:29 CEST 2003 - meissner@suse.de
- added libusb.la.
-------------------------------------------------------------------
Wed Mar 5 18:59:59 CET 2003 - meissner@suse.de
- the resmgr device finder part was adding all devices
to all USB busses, leading to confusion later on. Check
for correct busnumber.
-------------------------------------------------------------------
Mon Nov 18 15:55:11 CET 2002 - schwab@suse.de
- Fix use of AC_DIVERT_PUSH.
-------------------------------------------------------------------
Mon Nov 11 13:06:56 CET 2002 - okir@suse.de
- allow opening USB devices via the resource manager
-------------------------------------------------------------------
Tue Oct 15 15:31:15 CEST 2002 - freitag@suse.de
- updated to 0.1.6a stable release to support more scanners
-------------------------------------------------------------------
Thu Feb 7 14:15:17 CET 2002 - meissner@suse.de
- updated to 0.1.5 stable release
-------------------------------------------------------------------
Mon Jan 21 14:57:13 CET 2002 - meissner@suse.de
- updated to latest CVS snapshot, so I can build gphoto2.
- use buildroot
-------------------------------------------------------------------
Sat Nov 3 14:43:46 CET 2001 - ro@suse.de
- call automake with "-a -f"
-------------------------------------------------------------------
Mon Sep 3 23:35:07 CEST 2001 - ro@suse.de
- removed Obsoletes and Provides usbutils (package reanimated)
-------------------------------------------------------------------
Fri May 25 09:43:42 CEST 2001 - adrian@suse.de
- update to libusb-0.1.3b
- rename package from usbutils to libusb
-------------------------------------------------------------------
Tue Dec 5 16:10:56 CET 2000 - schwab@suse.de
- Add %suse_update_config.
-------------------------------------------------------------------
Thu Nov 30 16:54:45 CET 2000 - olaf@suse.de
- add usbutils 0.7 to SuSE dist, will replace the usb.rpm

99
libusb-1_0.keyring Normal file
View File

@ -0,0 +1,99 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBF7yPL0BEADQc/2dx8H7a7r1SGYph5hmkszs0O9V/43m8XhNnbnFraXjmbEv
xm2wE6AuR301mjAqYSt/mphmH54z4GBbgmLBrK8TGdhlK0K11PeSudRN4jsLs+U3
ErtkAHODmzyg7QiW3GWudP/lJQRSqNBoadeOdOsKMoJxm7T2a9fyyf8FR/FfShjv
NB62jSWq0x0WnglI/V/ZOi/mOnqoggCoWXLzwqbKasicvfNsTPJIsjiu24US6mif
nRllMWr/6aHyCOX6+x6PsQ35NF5C5B7b0c1fY7zU/UiM/JBF4HDf7jltzTIjHjho
jTwcEkCVmunW+jSwjsLcr/zkOsu1re0W/VJJ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aInW3M5Z2lVNjDVjRzfSoMf8SDKWZOxxT57hwVijtmol5Vczx80Myd
Tz1SE7MCsyAo1kSKN+dQT/Wqoso0rcFGhpCshJmRh0UAgs5+8TjJ+hDEnSOgDlEm
YaDUGgGwLGHoGbblvCv19yR/aejjZsb0TprshvxK2SUwyTN1Iv7p6LzAxn8QkAZr
slhe7zAdHp9nVuCnNtLfN6M7WpF42uz7PLJP60wdNPYDHYdSkGiRs9KNPpmBY2Pl
dkkA9IX1L5/TvcPRmvzTnVVTlycj5N8bMrU4uIBxU3FwozpyNIfjQxRYXMe5GOU2
eqtVYtxgeN7wqGZ8dFzovMtHTKPPhEJ8uFSd//npnP6QMZgQA53Heaif9EbyrXJB
lzRTPfGvr61XyNQk5p5PG8RVrp3CdwEGZrYEkh5U4WR+C7SPZccMApzKGcb3
=QkHD
-----END PGP PUBLIC KEY BLOCK-----

84
libusb-1_0.spec Normal file
View File

@ -0,0 +1,84 @@
#
# spec file for package libusb-1_0
#
# Copyright (c) 2024 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
%define _name libusb
%define debug_package_requires libusb-1_0-0 = %{version}-%{release}
Name: libusb-1_0
Version: 1.0.27
Release: 0
Summary: USB Library
License: LGPL-2.1-or-later
Group: System/Hardware
URL: https://libusb.info/
Source: https://github.com/libusb/libusb/releases/download/v%{version}/libusb-%{version}.tar.bz2
Source1: https://github.com/libusb/libusb/releases/download/v%{version}/libusb-%{version}.tar.bz2.asc
Source2: %name.keyring
Source3: baselibs.conf
BuildRequires: dos2unix
BuildRequires: pkgconfig
BuildRequires: pkgconfig(libudev)
%description
Libusb is a library that allows userspace access to USB devices.
%package -n libusb-1_0-0
Summary: USB Library
Group: System/Libraries
%description -n libusb-1_0-0
Libusb is a library that allows userspace access to USB devices.
%package devel
Summary: USB Library
Group: Development/Libraries/C and C++
Requires: glibc-devel
Requires: libusb-1_0-0 = %{version}
%description devel
Libusb is a library that allows userspace access to USB devices.
%prep
%setup -n %{_name}-%{version}
dos2unix NEWS
%build
%configure \
--with-pic \
--disable-silent-rules \
--disable-static
make %{?_smp_mflags}
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%post -n libusb-1_0-0 -p /sbin/ldconfig
%postun -n libusb-1_0-0 -p /sbin/ldconfig
%files -n libusb-1_0-0
%license COPYING
%doc AUTHORS ChangeLog NEWS README TODO
%{_libdir}/*.so.*
%files devel
%doc PORTING
%{_includedir}/libusb-1.0
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%changelog