2011-09-15 16:16:20 +00:00
|
|
|
Summary: GLib wrapper around libusb1
|
|
|
|
Name: libgusb
|
2015-12-01 18:24:45 +00:00
|
|
|
Version: 0.2.8
|
2016-02-04 03:16:45 +00:00
|
|
|
Release: 2%{?dist}
|
2011-09-15 16:16:20 +00:00
|
|
|
License: LGPLv2+
|
|
|
|
URL: https://gitorious.org/gusb/
|
|
|
|
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
|
2011-09-15 16:16:20 +00:00
|
|
|
BuildRequires: libtool
|
2014-11-20 11:28:32 +00:00
|
|
|
BuildRequires: libusb1-devel >= 1.0.19
|
2012-11-06 19:05:18 +00:00
|
|
|
BuildRequires: gobject-introspection-devel
|
|
|
|
BuildRequires: vala-devel
|
2012-11-07 11:43:12 +00:00
|
|
|
BuildRequires: vala-tools
|
2011-09-15 16:16:20 +00:00
|
|
|
|
|
|
|
%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
|
|
|
|
%configure \
|
2012-11-07 11:43:12 +00:00
|
|
|
--disable-static \
|
|
|
|
--enable-vala=yes \
|
|
|
|
--enable-introspection=yes \
|
|
|
|
--disable-gtk-doc \
|
2011-09-15 16:16:20 +00:00
|
|
|
--disable-dependency-tracking
|
|
|
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/libgusb.la
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc README AUTHORS NEWS COPYING
|
2011-11-01 10:05:37 +00:00
|
|
|
%{_libdir}/libgusb.so.?
|
2011-11-11 11:22:39 +00:00
|
|
|
%{_libdir}/libgusb.so.?.0.*
|
2012-11-06 19:05:18 +00:00
|
|
|
%{_libdir}/girepository-1.0/GUsb-1.0.typelib
|
2011-09-15 16:16:20 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_includedir}/gusb-1
|
|
|
|
%{_libdir}/libgusb.so
|
|
|
|
%{_libdir}/pkgconfig/gusb.pc
|
|
|
|
%{_datadir}/gtk-doc/html/gusb
|
2012-11-06 19:05:18 +00:00
|
|
|
%{_datadir}/gir-1.0/GUsb-1.0.gir
|
|
|
|
%{_datadir}/vala/vapi/gusb.vapi
|
2011-09-15 16:16:20 +00:00
|
|
|
|
|
|
|
%changelog
|
2016-02-04 03:16:45 +00:00
|
|
|
* 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
|
|
|
|
|
2015-06-17 15:25:40 +00:00
|
|
|
* 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
|
|
|
|
|
2014-08-17 03:43:56 +00:00
|
|
|
* 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
|
|
|
|
|
2014-07-22 17:45:36 +00:00
|
|
|
* Tue Jul 22 2014 Kalev Lember <kalevlember@gmail.com> - 0.1.6-4
|
|
|
|
- Rebuilt for gobject-introspection 1.41.4
|
|
|
|
|
2014-06-07 03:42:15 +00:00
|
|
|
* 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
|
|
|
|
|
2013-08-03 05:44:24 +00:00
|
|
|
* 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
|
|
|
|
|
2013-03-05 11:39:59 +00:00
|
|
|
* 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
|
|
|
|
|
2012-11-06 19:05:18 +00:00
|
|
|
* Tue Nov 06 2012 Richard Hughes <richard@hughsie.com> 0.1.4-1
|
|
|
|
- New upstream version
|
|
|
|
- Add GObject Introspection support
|
|
|
|
- Add Vala bindings
|
|
|
|
|
2012-07-19 20:02:51 +00:00
|
|
|
* 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
|
|
|
|
|
2012-01-13 07:49:47 +00:00
|
|
|
* 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
|
|
|
|
|
2011-12-05 11:25:14 +00:00
|
|
|
* Mon Dec 05 2011 Richard Hughes <richard@hughsie.com> 0.1.3-1
|
|
|
|
- New upstream version
|
|
|
|
- Add a missing error enum value
|
|
|
|
|
2011-11-11 11:22:39 +00:00
|
|
|
* 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
|
|
|
|
|
2011-09-15 16:16:20 +00:00
|
|
|
* Thu Sep 15 2011 Richard Hughes <richard@hughsie.com> 0.1.0-1
|
|
|
|
- Initial version for Fedora package review
|