libgusb/libgusb.spec

287 lines
10 KiB
RPMSpec
Raw Normal View History

Summary: GLib wrapper around libusb1
Name: libgusb
2022-10-18 11:33:20 +00:00
Version: 0.4.2
2022-09-12 12:44:36 +00:00
Release: 1%{?dist}
License: LGPLv2+
2018-02-15 21:40:08 +00:00
URL: https://github.com/hughsie/libgusb
Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.xz
2015-01-09 15:45:42 +00:00
BuildRequires: glib2-devel >= 2.38.0
2022-09-12 12:44:36 +00:00
BuildRequires: json-glib-devel
BuildRequires: gobject-introspection-devel
2022-10-01 11:44:57 +00:00
BuildRequires: gi-docgen
2018-02-15 21:40:08 +00:00
BuildRequires: libusb1-devel >= 1.0.19
2022-09-12 12:44:36 +00:00
BuildRequires: umockdev-devel
2018-02-15 21:40:08 +00:00
BuildRequires: meson
2019-02-04 12:04:06 +00:00
BuildRequires: vala
%description
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: Libraries and headers for gusb
Requires: %{name} = %{version}-%{release}
%description devel
GLib headers and libraries for gusb.
%prep
%setup -q
%build
2018-02-15 21:40:08 +00:00
%meson -Dvapi=true -Dtests=true
2018-02-15 21:40:08 +00:00
%meson_build
%install
2018-02-15 21:40:08 +00:00
%meson_install
%ldconfig_scriptlets
%files
2018-02-15 21:40:08 +00:00
%doc README.md AUTHORS NEWS COPYING
2011-11-01 10:05:37 +00:00
%{_libdir}/libgusb.so.?
%{_libdir}/libgusb.so.?.0.*
%{_libdir}/girepository-1.0/GUsb-1.0.typelib
%files devel
%{_includedir}/gusb-1
2016-03-22 10:25:35 +00:00
%{_bindir}/gusbcmd
%{_libdir}/libgusb.so
%{_libdir}/pkgconfig/gusb.pc
2022-10-01 11:44:57 +00:00
%{_datadir}/doc/libgusb
%{_datadir}/gir-1.0/GUsb-1.0.gir
2018-02-15 21:40:08 +00:00
%{_datadir}/vala/vapi/gusb.deps
%{_datadir}/vala/vapi/gusb.vapi
%changelog
2022-10-18 11:33:20 +00:00
* Tue Oct 18 2022 Richard Hughes <richard@hughsie.com> 0.4.2-1
- New upstream version
- Close the GUsbDevice objects in gusbcmd
- Do not call the hotplug callback with the mutex held
2022-10-01 11:44:57 +00:00
* Sat Oct 01 2022 Richard Hughes <richard@hughsie.com> 0.4.1-1
- New upstream version
- Allow loading and saving only devices with specific tags
- Include removed devices in the JSON dump
- Port from gtkdoc to gi-docgen
2022-09-12 12:44:36 +00:00
* Mon Sep 12 2022 Richard Hughes <richard@hughsie.com> 0.4.0-1
- New upstream version
- Add support for getting BOS descriptors
- Allow emulating devices by saving and replaying device events
- Cache the list of interfaces and descriptors
- Ignore usb.ids classes, subclasses and protocols
- Never dispatch idle events after the context has been destroyed
- Serialize the GUsbDevice to and from JSON format
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.10-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.10-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
2022-09-12 12:44:36 +00:00
* Mon Jan 10 2022 Richard Hughes <richard@hughsie.com> 0.3.10-1
2022-01-10 10:00:28 +00:00
- New upstream version
- Add API to change the hotplug poll interval
2021-12-07 10:49:17 +00:00
* Tue Dec 07 2021 Richard Hughes <richard@hughsie.com> 0.3.9-1
- New upstream version
- Fix hotplug after threaded device removal
2021-10-06 09:03:26 +00:00
* Wed Oct 06 2021 Richard Hughes <richard@hughsie.com> 0.3.8-1
- New upstream version
- Add new API requested by fwupd
- Add the GUsbEndpoint methods to the docs
- Fix hotplug handling and signal emission during enumerate
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
2021-05-24 10:58:09 +00:00
* Mon May 24 2021 Richard Hughes <richard@hughsie.com> 0.3.7-1
- New upstream version
- Do not double-reference USB devices
2021-03-12 16:17:19 +00:00
* Fri Mar 12 2021 Richard Hughes <richard@hughsie.com> 0.3.6-1
- New upstream version
- Add g_usb_device_get_string_descriptor_bytes()
- Fix cancellation if cancellable is already cancelled
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
2020-07-30 09:50:09 +00:00
* Thu Jul 30 2020 Richard Hughes <richard@hughsie.com> 0.3.5-1
- New upstream version
- Add a way to get iConfiguration
- Allow building GtkDoc when building as a subproject
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2020-02-20 10:26:46 +00:00
* Thu Feb 20 2020 Richard Hughes <richard@hughsie.com> 0.3.4-1
- New upstream version
- Include the USB bus in the generated platform_id
- Validate the exported symbol list during check
2020-01-30 17:09:42 +00:00
* Thu Jan 30 2020 Richard Hughes <richard@hughsie.com> 0.3.3-1
- New upstream version
- Add a thin glib wrapper around libusb_endpoint_descriptor
- Fix high number of wakeups when checking the GUsbContext
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
2020-01-06 09:32:50 +00:00
* Mon Jan 06 2020 Richard Hughes <richard@hughsie.com> 0.3.2-1
- New upstream version
- Do not use deprecated libusb API
- Use a 1ms timeout in the Windows event thread
2019-11-16 19:32:18 +00:00
* Sat Nov 16 2019 Richard Hughes <richard@hughsie.com> 0.3.1-1
- New upstream version
- Add some new API for fwupd
- Fix GI length introspection annotations
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
2019-02-04 12:04:06 +00:00
* Mon Feb 04 2019 Kalev Lember <klember@redhat.com> - 0.3.0-4
- Update BRs for vala packaging changes
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2018-02-15 21:40:08 +00:00
* Thu Feb 15 2018 Richard Hughes <richard@hughsie.com> 0.3.0-1
- New upstream version
- Port to the Meson build system
* Thu Feb 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.11-4
- Switch to %%ldconfig_scriptlets
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.11-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.11-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.11-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2017-07-24 10:08:48 +00:00
* Mon Jul 24 2017 Richard Hughes <richard@hughsie.com> 0.2.11-1
- New upstream version
- Add new API allowing devices to be auto-opened
2017-04-10 13:45:54 +00:00
* Mon Apr 10 2017 Richard Hughes <richard@hughsie.com> 0.2.10-1
- New upstream version
- Correctly detect removed devices when rescanning
- Fix a memory leak when using control tranfers
- Fix symbol version table up to version 0.2.9
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.9-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
2016-03-22 10:25:35 +00:00
* Tue Mar 22 2016 Richard Hughes <richard@hughsie.com> 0.2.9-1
- New upstream version
- Add g_usb_context_wait_for_replug()
- Install gusbcmd as a debugging aid
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2015-12-01 18:24:45 +00:00
* Tue Dec 01 2015 Richard Hughes <richard@hughsie.com> 0.2.8-1
- New upstream version
- Add a PERMISSION_DENIED error enum
- Add a thin glib wrapper around a libusb_interface_descriptor
- Ignore the not-found error when resetting a device
2015-09-15 09:19:03 +00:00
* Tue Sep 15 2015 Richard Hughes <richard@hughsie.com> 0.2.7-1
- New upstream version
- Add missing element-type annotations
- Support g_autoptr() for all gusb object types
2015-07-06 14:43:17 +00:00
* Mon Jul 06 2015 Richard Hughes <richard@hughsie.com> 0.2.6-1
- New upstream version
Do not unref the GMainContext after each request
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2015-05-28 08:43:51 +00:00
* Thu May 28 2015 Richard Hughes <richard@hughsie.com> 0.2.5-1
- New upstream version
- Add g_usb_device_get_custom_index()
- Allow setting the GMainContext when used for sync methods
- Use symbol versioning
2015-01-09 15:45:42 +00:00
* Mon Jan 09 2015 Richard Hughes <richard@hughsie.com> 0.2.4-1
- New upstream version
- Add new API for various client programs
- Don't filter out hub devices when getting the device list
- Make the platform ID persistent across re-plug
2014-12-01 16:34:00 +00:00
* Mon Dec 01 2014 Richard Hughes <richard@hughsie.com> 0.2.3-1
- New upstream version
- Correctly terminate the libusb event thread
2014-11-26 20:57:08 +00:00
* Wed Nov 26 2014 Richard Hughes <richard@hughsie.com> 0.2.2-1
- New upstream version
- Use a thread to process libusb1 events
2014-11-24 14:06:32 +00:00
* Mon Nov 24 2014 Richard Hughes <richard@hughsie.com> 0.2.1-1
- New upstream version
- Always set a device platform ID
- Ignore 'unsupported' as a return value for kernel drivers
2014-11-20 11:28:32 +00:00
* Thu Nov 20 2014 Richard Hughes <richard@hughsie.com> 0.2.0-1
- New upstream version
- Use the native hotplug support in libusb 1.0.19
- Fix a crash where libusb_get_pollfds() is unavailable
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.6-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Tue Jul 22 2014 Kalev Lember <kalevlember@gmail.com> - 0.1.6-4
- Rebuilt for gobject-introspection 1.41.4
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Tue Feb 06 2013 Richard Hughes <richard@hughsie.com> 0.1.6-1
- New upstream version
- Do not use deprecated GLib functionality
- Unref the GMainloop after it has been run, not when just quit
2013-02-05 11:18:38 +00:00
* Tue Feb 05 2013 Richard Hughes <richard@hughsie.com> 0.1.5-1
- New upstream version
* Tue Nov 06 2012 Richard Hughes <richard@hughsie.com> 0.1.4-1
- New upstream version
- Add GObject Introspection support
- Add Vala bindings
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Mon Dec 05 2011 Richard Hughes <richard@hughsie.com> 0.1.3-1
- New upstream version
- Add a missing error enum value
* Fri Nov 11 2011 Richard Hughes <richard@hughsie.com> 0.1.2-1
- New upstream version
- Ignore EBUSY when trying to detach a detached kernel driver
2011-11-01 10:05:37 +00:00
* Tue Nov 01 2011 Richard Hughes <richard@hughsie.com> 0.1.1-1
- New upstream version
* Thu Sep 15 2011 Richard Hughes <richard@hughsie.com> 0.1.0-1
- Initial version for Fedora package review