SHA256
1
0
forked from pool/libusb-1_0

Accepting request 114772 from home:dimstar:branches:hardware

Update to 1.0.9 final

OBS-URL: https://build.opensuse.org/request/show/114772
OBS-URL: https://build.opensuse.org/package/show/hardware/libusb-1_0?expand=0&rev=29
This commit is contained in:
Andreas Jaeger 2012-04-20 08:04:52 +00:00 committed by Git OBS Bridge
parent b6e2dee313
commit 1a174a10d0
4 changed files with 30 additions and 17 deletions

3
libusb-1.0.9.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e920eedc2d06b09606611c99ec7304413c6784cba6e33928e78243d323195f9b
size 421971

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:85938caa4aa616f70178bec188f8a684195a78b5412ae5291a7f4c9dbcc916e0
size 151795

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
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

View File

@ -16,21 +16,19 @@
#
Name: libusb-1_0
Version: 1.0.9
Release: 0
License: LGPL-2.1+
Summary: USB Library
%define _name libusb
Url: http://www.libusb.org/
Summary: USB Library
License: LGPL-2.1+
Group: System/Libraries
Version: 1.0.8.99.3.218
Release: 0
%define _version 1.0.9rc3
%define _gitversion 6b1982b
Source: %{_name}-%{_version}-git%{_gitversion}.tar.bz2
Source: %{_name}-%{version}.tar.bz2
Source2: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libtool
BuildRequires: pkg-config
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define debug_package_requires libusb-1_0-0 = %{version}-%{release}
%description
@ -53,18 +51,17 @@ Requires: libusb-1_0-0 = %{version}
Libusb is a library that allows userspace access to USB devices.
%prep
%setup -q -n %{_name}-%{_gitversion}
%setup -q -n %{_name}-%{version}
%build
mkdir m4 ; autoreconf -f -i
%configure\
--with-pic\
--disable-static
make %{?jobs:-j%jobs}
make %{?_smp_mflags}
%install
%makeinstall
%{__rm} -f %{buildroot}%{_libdir}/*.la
%make_install
rm -f %{buildroot}%{_libdir}/*.la
%post -n libusb-1_0-0 -p /sbin/ldconfig