From 72d8a8987393fdbb0608d7757532b302dcf5e81b3beddcdd00b4a50a535daeef Mon Sep 17 00:00:00 2001 From: Stanislav Brabec Date: Wed, 29 Jan 2014 18:38:09 +0000 Subject: [PATCH] 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 --- libusb-1.0.18.tar.bz2 | 3 +++ libusb-1.0.9.tar.bz2 | 3 --- libusb-1_0.changes | 12 ++++++++++++ libusb-1_0.spec | 15 +++++++++++---- 4 files changed, 26 insertions(+), 7 deletions(-) create mode 100644 libusb-1.0.18.tar.bz2 delete mode 100644 libusb-1.0.9.tar.bz2 diff --git a/libusb-1.0.18.tar.bz2 b/libusb-1.0.18.tar.bz2 new file mode 100644 index 0000000..f4b33c0 --- /dev/null +++ b/libusb-1.0.18.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c73f5cec45a5de94418da4e151b7232958571926984acfb9bce02b9424e83720 +size 502160 diff --git a/libusb-1.0.9.tar.bz2 b/libusb-1.0.9.tar.bz2 deleted file mode 100644 index 0685a84..0000000 --- a/libusb-1.0.9.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e920eedc2d06b09606611c99ec7304413c6784cba6e33928e78243d323195f9b -size 421971 diff --git a/libusb-1_0.changes b/libusb-1_0.changes index eecf52e..e38300f 100644 --- a/libusb-1_0.changes +++ b/libusb-1_0.changes @@ -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 diff --git a/libusb-1_0.spec b/libusb-1_0.spec index 1cac289..8f1834d 100644 --- a/libusb-1_0.spec +++ b/libusb-1_0.spec @@ -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.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