SHA256
1
0
forked from pool/libusb-1_0

Accepting request 215425 from home:sbrabec:branches:hardware

- 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

OBS-URL: https://build.opensuse.org/request/show/215425
OBS-URL: https://build.opensuse.org/package/show/hardware/libusb-1_0?expand=0&rev=35
This commit is contained in:
Stanislav Brabec 2014-01-29 18:38:09 +00:00 committed by Git OBS Bridge
parent 72e71d64d4
commit 72d8a89873
4 changed files with 26 additions and 7 deletions

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

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

View File

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

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Tue Jan 28 19:21:34 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

View File

@ -1,7 +1,7 @@
#
# spec file for package libusb-1_0
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# 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
@ -17,16 +17,19 @@
Name: libusb-1_0
Version: 1.0.9
Version: 1.0.18
Release: 0
Summary: USB Library
License: LGPL-2.1+
Group: System/Libraries
%define _name libusb
Url: http://www.libusb.org/
Url: http://libusb.info/
Source: http://downloads.sourceforge.net/project/%{_name}/%{_name}-1.0/%{_name}-%{version}/%{_name}-%{version}.tar.bz2
Source1: baselibs.conf
BuildRequires: pkg-config
%if 0%{?suse_version} >= 1200
BuildRequires: libudev-devel
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define debug_package_requires libusb-1_0-0 = %{version}-%{release}
@ -51,9 +54,13 @@ Libusb is a library that allows userspace access to USB devices.
%prep
%setup -q -n %{_name}-%{version}
tr -d '\r' <NEWS >NEWS.unix ; touch -r NEWS NEWS.unix ; mv NEWS.unix NEWS
%build
%configure\
%if 0%{?suse_version} < 1200
--disable-udev\
%endif
--with-pic\
--disable-static
make %{?_smp_mflags}
@ -68,7 +75,7 @@ rm -f %{buildroot}%{_libdir}/*.la
%files -n libusb-1_0-0
%defattr(-,root,root)
%doc AUTHORS COPYING NEWS README THANKS TODO
%doc AUTHORS ChangeLog COPYING NEWS README TODO
%{_libdir}/*.so.*
%files devel