|
|
59b94a |
Summary: GLib wrapper around libusb1
|
|
|
59b94a |
Name: libgusb
|
|
|
59b94a |
Version: 0.3.0
|
|
|
59b94a |
Release: 1%{?dist}
|
|
|
59b94a |
License: LGPLv2+
|
|
|
59b94a |
URL: https://github.com/hughsie/libgusb
|
|
|
59b94a |
Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.xz
|
|
|
59b94a |
|
|
|
59b94a |
BuildRequires: glib2-devel >= 2.38.0
|
|
|
59b94a |
BuildRequires: gobject-introspection-devel
|
|
|
59b94a |
BuildRequires: gtk-doc
|
|
|
59b94a |
BuildRequires: libusb1-devel >= 1.0.19
|
|
|
59b94a |
BuildRequires: meson
|
|
|
59b94a |
BuildRequires: vala-devel
|
|
|
59b94a |
BuildRequires: vala-tools
|
|
|
59b94a |
|
|
|
59b94a |
%description
|
|
|
59b94a |
GUsb is a GObject wrapper for libusb1 that makes it easy to do
|
|
|
59b94a |
asynchronous control, bulk and interrupt transfers with proper
|
|
|
59b94a |
cancellation and integration into a mainloop.
|
|
|
59b94a |
|
|
|
59b94a |
%package devel
|
|
|
59b94a |
Summary: Libraries and headers for gusb
|
|
|
59b94a |
Requires: %{name} = %{version}-%{release}
|
|
|
59b94a |
|
|
|
59b94a |
%description devel
|
|
|
59b94a |
GLib headers and libraries for gusb.
|
|
|
59b94a |
|
|
|
59b94a |
%prep
|
|
|
59b94a |
%setup -q
|
|
|
59b94a |
|
|
|
59b94a |
%build
|
|
|
59b94a |
%meson -Dvapi=true -Dtests=true
|
|
|
59b94a |
|
|
|
59b94a |
%meson_build
|
|
|
59b94a |
|
|
|
59b94a |
%install
|
|
|
59b94a |
%meson_install
|
|
|
59b94a |
|
|
|
59b94a |
%ldconfig_scriptlets
|
|
|
59b94a |
|
|
|
59b94a |
%files
|
|
|
59b94a |
%defattr(-,root,root,-)
|
|
|
59b94a |
%doc README.md AUTHORS NEWS COPYING
|
|
|
59b94a |
%{_libdir}/libgusb.so.?
|
|
|
59b94a |
%{_libdir}/libgusb.so.?.0.*
|
|
|
59b94a |
%{_libdir}/girepository-1.0/GUsb-1.0.typelib
|
|
|
59b94a |
|
|
|
59b94a |
%files devel
|
|
|
59b94a |
%defattr(-,root,root,-)
|
|
|
59b94a |
%{_includedir}/gusb-1
|
|
|
59b94a |
%{_bindir}/gusbcmd
|
|
|
59b94a |
%{_libdir}/libgusb.so
|
|
|
59b94a |
%{_libdir}/pkgconfig/gusb.pc
|
|
|
59b94a |
%{_datadir}/gtk-doc/html/gusb
|
|
|
59b94a |
%{_datadir}/gir-1.0/GUsb-1.0.gir
|
|
|
59b94a |
%{_datadir}/vala/vapi/gusb.deps
|
|
|
59b94a |
%{_datadir}/vala/vapi/gusb.vapi
|
|
|
59b94a |
|
|
|
59b94a |
%changelog
|
|
|
59b94a |
* Thu Feb 15 2018 Richard Hughes <richard@hughsie.com> 0.3.0-1
|
|
|
59b94a |
- New upstream version
|
|
|
59b94a |
- Port to the Meson build system
|
|
|
59b94a |
|
|
|
59b94a |
* Thu Feb 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.11-4
|
|
|
59b94a |
- Switch to %%ldconfig_scriptlets
|
|
|
59b94a |
|
|
|
59b94a |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.11-4
|
|
|
59b94a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
59b94a |
|
|
|
59b94a |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.11-3
|
|
|
59b94a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
59b94a |
|
|
|
59b94a |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.11-2
|
|
|
59b94a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
59b94a |
|
|
|
59b94a |
* Mon Jul 24 2017 Richard Hughes <richard@hughsie.com> 0.2.11-1
|
|
|
59b94a |
- New upstream version
|
|
|
59b94a |
- Add new API allowing devices to be auto-opened
|
|
|
59b94a |
|
|
|
59b94a |
* Mon Apr 10 2017 Richard Hughes <richard@hughsie.com> 0.2.10-1
|
|
|
59b94a |
- New upstream version
|
|
|
59b94a |
- Correctly detect removed devices when rescanning
|
|
|
59b94a |
- Fix a memory leak when using control tranfers
|
|
|
59b94a |
- Fix symbol version table up to version 0.2.9
|
|
|
59b94a |
|
|
|
59b94a |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.9-2
|
|
|
59b94a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
59b94a |
|
|
|
59b94a |
* Tue Mar 22 2016 Richard Hughes <richard@hughsie.com> 0.2.9-1
|
|
|
59b94a |
- New upstream version
|
|
|
59b94a |
- Add g_usb_context_wait_for_replug()
|
|
|
59b94a |
- Install gusbcmd as a debugging aid
|
|
|
59b94a |
|
|
|
59b94a |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.8-2
|
|
|
59b94a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
59b94a |
|
|
|
59b94a |
* Tue Dec 01 2015 Richard Hughes <richard@hughsie.com> 0.2.8-1
|
|
|
59b94a |
- New upstream version
|
|
|
59b94a |
- Add a PERMISSION_DENIED error enum
|
|
|
59b94a |
- Add a thin glib wrapper around a libusb_interface_descriptor
|
|
|
59b94a |
- Ignore the not-found error when resetting a device
|
|
|
59b94a |
|
|
|
59b94a |
* Tue Sep 15 2015 Richard Hughes <richard@hughsie.com> 0.2.7-1
|
|
|
59b94a |
- New upstream version
|
|
|
59b94a |
- Add missing element-type annotations
|
|
|
59b94a |
- Support g_autoptr() for all gusb object types
|
|
|
59b94a |
|
|
|
59b94a |
* Mon Jul 06 2015 Richard Hughes <richard@hughsie.com> 0.2.6-1
|
|
|
59b94a |
- New upstream version
|
|
|
59b94a |
Do not unref the GMainContext after each request
|
|
|
59b94a |
|
|
|
59b94a |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.5-2
|
|
|
59b94a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
59b94a |
|
|
|
59b94a |
* Thu May 28 2015 Richard Hughes <richard@hughsie.com> 0.2.5-1
|
|
|
59b94a |
- New upstream version
|
|
|
59b94a |
- Add g_usb_device_get_custom_index()
|
|
|
59b94a |
- Allow setting the GMainContext when used for sync methods
|
|
|
59b94a |
- Use symbol versioning
|
|
|
59b94a |
|
|
|
59b94a |
* Mon Jan 09 2015 Richard Hughes <richard@hughsie.com> 0.2.4-1
|
|
|
59b94a |
- New upstream version
|
|
|
59b94a |
- Add new API for various client programs
|
|
|
59b94a |
- Don't filter out hub devices when getting the device list
|
|
|
59b94a |
- Make the platform ID persistent across re-plug
|
|
|
59b94a |
|
|
|
59b94a |
* Mon Dec 01 2014 Richard Hughes <richard@hughsie.com> 0.2.3-1
|
|
|
59b94a |
- New upstream version
|
|
|
59b94a |
- Correctly terminate the libusb event thread
|
|
|
59b94a |
|
|
|
59b94a |
* Wed Nov 26 2014 Richard Hughes <richard@hughsie.com> 0.2.2-1
|
|
|
59b94a |
- New upstream version
|
|
|
59b94a |
- Use a thread to process libusb1 events
|
|
|
59b94a |
|
|
|
59b94a |
* Mon Nov 24 2014 Richard Hughes <richard@hughsie.com> 0.2.1-1
|
|
|
59b94a |
- New upstream version
|
|
|
59b94a |
- Always set a device platform ID
|
|
|
59b94a |
- Ignore 'unsupported' as a return value for kernel drivers
|
|
|
59b94a |
|
|
|
59b94a |
* Thu Nov 20 2014 Richard Hughes <richard@hughsie.com> 0.2.0-1
|
|
|
59b94a |
- New upstream version
|
|
|
59b94a |
- Use the native hotplug support in libusb 1.0.19
|
|
|
59b94a |
- Fix a crash where libusb_get_pollfds() is unavailable
|
|
|
59b94a |
|
|
|
59b94a |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.6-5
|
|
|
59b94a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
59b94a |
|
|
|
59b94a |
* Tue Jul 22 2014 Kalev Lember <kalevlember@gmail.com> - 0.1.6-4
|
|
|
59b94a |
- Rebuilt for gobject-introspection 1.41.4
|
|
|
59b94a |
|
|
|
59b94a |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.6-3
|
|
|
59b94a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
59b94a |
|
|
|
59b94a |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.6-2
|
|
|
59b94a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
59b94a |
|
|
|
59b94a |
* Tue Feb 06 2013 Richard Hughes <richard@hughsie.com> 0.1.6-1
|
|
|
59b94a |
- New upstream version
|
|
|
59b94a |
- Do not use deprecated GLib functionality
|
|
|
59b94a |
- Unref the GMainloop after it has been run, not when just quit
|
|
|
59b94a |
|
|
|
59b94a |
* Tue Feb 05 2013 Richard Hughes <richard@hughsie.com> 0.1.5-1
|
|
|
59b94a |
- New upstream version
|
|
|
59b94a |
|
|
|
59b94a |
* Tue Nov 06 2012 Richard Hughes <richard@hughsie.com> 0.1.4-1
|
|
|
59b94a |
- New upstream version
|
|
|
59b94a |
- Add GObject Introspection support
|
|
|
59b94a |
- Add Vala bindings
|
|
|
59b94a |
|
|
|
59b94a |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.3-3
|
|
|
59b94a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
59b94a |
|
|
|
59b94a |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.3-2
|
|
|
59b94a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
59b94a |
|
|
|
59b94a |
* Mon Dec 05 2011 Richard Hughes <richard@hughsie.com> 0.1.3-1
|
|
|
59b94a |
- New upstream version
|
|
|
59b94a |
- Add a missing error enum value
|
|
|
59b94a |
|
|
|
59b94a |
* Fri Nov 11 2011 Richard Hughes <richard@hughsie.com> 0.1.2-1
|
|
|
59b94a |
- New upstream version
|
|
|
59b94a |
- Ignore EBUSY when trying to detach a detached kernel driver
|
|
|
59b94a |
|
|
|
59b94a |
* Tue Nov 01 2011 Richard Hughes <richard@hughsie.com> 0.1.1-1
|
|
|
59b94a |
- New upstream version
|
|
|
59b94a |
|
|
|
59b94a |
* Thu Sep 15 2011 Richard Hughes <richard@hughsie.com> 0.1.0-1
|
|
|
59b94a |
- Initial version for Fedora package review
|