diff --git a/libgusb-0.1.3.tar.xz b/libgusb-0.1.3.tar.xz deleted file mode 100644 index 3344744..0000000 --- a/libgusb-0.1.3.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4eebb56700d9366c513bfa8f9321a60388f61bade0236a90d66854caea97f0e6 -size 256844 diff --git a/libgusb-0.1.4.tar.xz b/libgusb-0.1.4.tar.xz new file mode 100644 index 0000000..b76cc4d --- /dev/null +++ b/libgusb-0.1.4.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:64294a649e54df2009545f47577f41438ec50c2fc571dd7b08cf32cb14de37b9 +size 261112 diff --git a/libgusb.changes b/libgusb.changes index 6daf11e..3794d44 100644 --- a/libgusb.changes +++ b/libgusb.changes @@ -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 diff --git a/libgusb.spec b/libgusb.spec index 4baeef1..816a085 100644 --- a/libgusb.spec +++ b/libgusb.spec @@ -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