|
|
7278ea |
Summary: GLib wrapper around libusb1
|
|
|
7278ea |
Name: libgusb
|
|
|
7278ea |
Version: 0.2.9
|
|
|
7278ea |
Release: 1%{?dist}
|
|
|
7278ea |
License: LGPLv2+
|
|
|
7278ea |
URL: https://gitorious.org/gusb/
|
|
|
7278ea |
Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.xz
|
|
|
7278ea |
|
|
|
7278ea |
BuildRequires: glib2-devel >= 2.38.0
|
|
|
7278ea |
BuildRequires: libtool
|
|
|
7278ea |
BuildRequires: libusb1-devel >= 1.0.19
|
|
|
7278ea |
BuildRequires: gobject-introspection-devel
|
|
|
7278ea |
BuildRequires: vala-devel
|
|
|
7278ea |
BuildRequires: vala-tools
|
|
|
7278ea |
|
|
|
7278ea |
%description
|
|
|
7278ea |
GUsb is a GObject wrapper for libusb1 that makes it easy to do
|
|
|
7278ea |
asynchronous control, bulk and interrupt transfers with proper
|
|
|
7278ea |
cancellation and integration into a mainloop.
|
|
|
7278ea |
|
|
|
7278ea |
%package devel
|
|
|
7278ea |
Summary: Libraries and headers for gusb
|
|
|
7278ea |
Requires: %{name} = %{version}-%{release}
|
|
|
7278ea |
|
|
|
7278ea |
%description devel
|
|
|
7278ea |
GLib headers and libraries for gusb.
|
|
|
7278ea |
|
|
|
7278ea |
%prep
|
|
|
7278ea |
%setup -q
|
|
|
7278ea |
|
|
|
7278ea |
%build
|
|
|
7278ea |
%configure \
|
|
|
7278ea |
--disable-static \
|
|
|
7278ea |
--enable-vala=yes \
|
|
|
7278ea |
--enable-introspection=yes \
|
|
|
7278ea |
--disable-gtk-doc \
|
|
|
7278ea |
--disable-dependency-tracking
|
|
|
7278ea |
|
|
|
7278ea |
make %{?_smp_mflags}
|
|
|
7278ea |
|
|
|
7278ea |
%install
|
|
|
7278ea |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
7278ea |
|
|
|
7278ea |
rm -f $RPM_BUILD_ROOT%{_libdir}/libgusb.la
|
|
|
7278ea |
|
|
|
7278ea |
%post -p /sbin/ldconfig
|
|
|
7278ea |
%postun -p /sbin/ldconfig
|
|
|
7278ea |
|
|
|
7278ea |
%files
|
|
|
7278ea |
%defattr(-,root,root,-)
|
|
|
7278ea |
%doc README AUTHORS NEWS COPYING
|
|
|
7278ea |
%{_libdir}/libgusb.so.?
|
|
|
7278ea |
%{_libdir}/libgusb.so.?.0.*
|
|
|
7278ea |
%{_libdir}/girepository-1.0/GUsb-1.0.typelib
|
|
|
7278ea |
|
|
|
7278ea |
%files devel
|
|
|
7278ea |
%defattr(-,root,root,-)
|
|
|
7278ea |
%{_includedir}/gusb-1
|
|
|
7278ea |
%{_bindir}/gusbcmd
|
|
|
7278ea |
%{_libdir}/libgusb.so
|
|
|
7278ea |
%{_libdir}/pkgconfig/gusb.pc
|
|
|
7278ea |
%{_datadir}/gtk-doc/html/gusb
|
|
|
7278ea |
%{_datadir}/gir-1.0/GUsb-1.0.gir
|
|
|
7278ea |
%{_datadir}/vala/vapi/gusb.vapi
|
|
|
7278ea |
|
|
|
7278ea |
%changelog
|
|
|
7278ea |
* Thu Feb 23 2017 Kalev Lember <klember@redhat.com> - 0.2.9-1
|
|
|
7278ea |
- Update to 0.2.9
|
|
|
7278ea |
- Resolves: #1426271
|
|
|
7278ea |
|
|
|
7278ea |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.1.6-3
|
|
|
7278ea |
- Mass rebuild 2014-01-24
|
|
|
7278ea |
|
|
|
7278ea |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.1.6-2
|
|
|
7278ea |
- Mass rebuild 2013-12-27
|
|
|
7278ea |
|
|
|
7278ea |
* Tue Feb 06 2013 Richard Hughes <richard@hughsie.com> 0.1.6-1
|
|
|
7278ea |
- New upstream version
|
|
|
7278ea |
- Do not use deprecated GLib functionality
|
|
|
7278ea |
- Unref the GMainloop after it has been run, not when just quit
|
|
|
7278ea |
|
|
|
7278ea |
* Tue Feb 05 2013 Richard Hughes <richard@hughsie.com> 0.1.5-1
|
|
|
7278ea |
- New upstream version
|
|
|
7278ea |
|
|
|
7278ea |
* Tue Nov 06 2012 Richard Hughes <richard@hughsie.com> 0.1.4-1
|
|
|
7278ea |
- New upstream version
|
|
|
7278ea |
- Add GObject Introspection support
|
|
|
7278ea |
- Add Vala bindings
|
|
|
7278ea |
|
|
|
7278ea |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.3-3
|
|
|
7278ea |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
7278ea |
|
|
|
7278ea |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.3-2
|
|
|
7278ea |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
7278ea |
|
|
|
7278ea |
* Mon Dec 05 2011 Richard Hughes <richard@hughsie.com> 0.1.3-1
|
|
|
7278ea |
- New upstream version
|
|
|
7278ea |
- Add a missing error enum value
|
|
|
7278ea |
|
|
|
7278ea |
* Fri Nov 11 2011 Richard Hughes <richard@hughsie.com> 0.1.2-1
|
|
|
7278ea |
- New upstream version
|
|
|
7278ea |
- Ignore EBUSY when trying to detach a detached kernel driver
|
|
|
7278ea |
|
|
|
7278ea |
* Tue Nov 01 2011 Richard Hughes <richard@hughsie.com> 0.1.1-1
|
|
|
7278ea |
- New upstream version
|
|
|
7278ea |
|
|
|
7278ea |
* Thu Sep 15 2011 Richard Hughes <richard@hughsie.com> 0.1.0-1
|
|
|
7278ea |
- Initial version for Fedora package review
|