SHA256
1
0
forked from pool/libgusb

Accepting request 141867 from hardware

Update to 0.1.4

OBS-URL: https://build.opensuse.org/request/show/141867
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libgusb?expand=0&rev=3
This commit is contained in:
Stephan Kulow 2012-11-20 09:39:37 +00:00 committed by Git OBS Bridge
commit f9094e8985
4 changed files with 40 additions and 7 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 dependency 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 Fri Jan 13 11:05:55 UTC 2012 - vuntz@opensuse.org

View File

@ -12,20 +12,22 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
Name: libgusb Name: libgusb
Version: 0.1.3 Version: 0.1.4
Release: 0 Release: 0
License: LGPL-2.1+
Summary: GObject-based library for libusb1 Summary: GObject-based library for libusb1
Url: https://gitorious.org/gusb/ License: LGPL-2.1+
Group: System/Libraries Group: System/Libraries
Url: https://gitorious.org/gusb/
Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.xz Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.xz
BuildRequires: vala
BuildRequires: xz BuildRequires: xz
BuildRequires: pkgconfig(glib-2.0) >= 2.28.0 BuildRequires: pkgconfig(glib-2.0) >= 2.28.0
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.29
BuildRequires: pkgconfig(gudev-1.0) BuildRequires: pkgconfig(gudev-1.0)
BuildRequires: pkgconfig(libusb-1.0) >= 1.0.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 asynchronous control, bulk and interrupt transfers with proper
cancellation and integration into a mainloop. 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 %package devel
Summary: GObject-based library for libusb1 -- Development Files Summary: GObject-based library for libusb1 -- Development Files
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: libgusb2 = %{version} Requires: libgusb2 = %{version}
Requires: typelib-1_0-GUsb-1_0 = %{version}
%description devel %description devel
GUsb is a GObject wrapper for libusb1 that makes it easy to do 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.?
%{_libdir}/libgusb.so.?.0.* %{_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 %files devel
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_datadir}/gir-1.0/GUsb-1.0.gir
%dir %{_datadir}/vala/vapi
%{_datadir}/vala/vapi/gusb.vapi
%{_includedir}/gusb-1/ %{_includedir}/gusb-1/
%{_libdir}/libgusb.so %{_libdir}/libgusb.so
%{_libdir}/pkgconfig/gusb.pc %{_libdir}/pkgconfig/gusb.pc