Accepting request 141186 from home:dimstar:branches:hardware

Update to 0.1.4

OBS-URL: https://build.opensuse.org/request/show/141186
OBS-URL: https://build.opensuse.org/package/show/hardware/libgusb?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2012-11-19 10:04:30 +00:00 committed by Git OBS Bridge
parent f49c6872c8
commit 9bf69e13d7
4 changed files with 37 additions and 4 deletions

View File

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

3
libgusb-0.1.4.tar.xz Normal file
View File

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

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Tue Nov 13 15:54:01 UTC 2012 - dimstar@opensuse.org
- Update to version 0.1.4:
+ Add GObject Introspection support.
+ Add g_usb_device_reset() to reset a connected device.
+ Add Vala bindings.
+ Assorted introspection annotation fixes.
+ Rename inconsistently named gusb_* symbols to g_usb_*.
- Add pkgconfig(gobject-introspection-1.0) and vala BuildRequires:
New ependency for the GObject introspection support and the vala
bindings.
- Create new typelib-1_0-GUsb-1_0 subpackage.
-------------------------------------------------------------------
Fri Jan 13 11:05:55 UTC 2012 - vuntz@opensuse.org

View File

@ -17,15 +17,17 @@
Name: libgusb
Version: 0.1.3
Version: 0.1.4
Release: 0
Summary: GObject-based library for libusb1
License: LGPL-2.1+
Group: System/Libraries
Url: https://gitorious.org/gusb/
Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.xz
BuildRequires: vala
BuildRequires: xz
BuildRequires: pkgconfig(glib-2.0) >= 2.28.0
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.29
BuildRequires: pkgconfig(gudev-1.0)
BuildRequires: pkgconfig(libusb-1.0) >= 1.0.0
@ -43,10 +45,20 @@ GUsb is a GObject wrapper for libusb1 that makes it easy to do
asynchronous control, bulk and interrupt transfers with proper
cancellation and integration into a mainloop.
%package -n typelib-1_0-GUsb-1_0
Summary: GObject-based library for libusb1 -- Introspection bindings
Group: System/Libraries
%description -n typelib-1_0-GUsb-1_0
GUsb is a GObject wrapper for libusb1 that makes it easy to do
asynchronous control, bulk and interrupt transfers with proper
cancellation and integration into a mainloop.
%package devel
Summary: GObject-based library for libusb1 -- Development Files
Group: Development/Libraries/C and C++
Requires: libgusb2 = %{version}
Requires: typelib-1_0-GUsb-1_0 = %{version}
%description devel
GUsb is a GObject wrapper for libusb1 that makes it easy to do
@ -75,8 +87,15 @@ find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
%{_libdir}/libgusb.so.?
%{_libdir}/libgusb.so.?.0.*
%files -n typelib-1_0-GUsb-1_0
%defattr(-,root,root)
%{_libdir}/girepository-1.0/GUsb-1.0.typelib
%files devel
%defattr(-,root,root,-)
%{_datadir}/gir-1.0/GUsb-1.0.gir
%dir %{_datadir}/vala/vapi
%{_datadir}/vala/vapi/gusb.vapi
%{_includedir}/gusb-1/
%{_libdir}/libgusb.so
%{_libdir}/pkgconfig/gusb.pc