2011-09-15 16:16:20 +00:00
|
|
|
Summary: GLib wrapper around libusb1
|
|
|
|
Name: libgusb
|
2023-11-07 13:12:17 +00:00
|
|
|
Version: 0.4.8
|
2023-01-30 09:40:54 +00:00
|
|
|
Release: %autorelease
|
2023-02-22 09:37:31 +00:00
|
|
|
License: LGPL-2.1-or-later
|
2018-02-15 21:40:08 +00:00
|
|
|
URL: https://github.com/hughsie/libgusb
|
2022-12-20 15:59:31 +00:00
|
|
|
Source0: https://github.com/hughsie/libgusb/releases/download/%{version}/%{name}-%{version}.tar.xz
|
2011-09-15 16:16:20 +00:00
|
|
|
|
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
|
2012-11-06 19:05:18 +00:00
|
|
|
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
|
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
|
2018-02-15 21:40:08 +00:00
|
|
|
%meson -Dvapi=true -Dtests=true
|
2011-09-15 16:16:20 +00:00
|
|
|
|
2018-02-15 21:40:08 +00:00
|
|
|
%meson_build
|
2011-09-15 16:16:20 +00:00
|
|
|
|
|
|
|
%install
|
2018-02-15 21:40:08 +00:00
|
|
|
%meson_install
|
2011-09-15 16:16:20 +00:00
|
|
|
|
2018-02-08 12:29:47 +00:00
|
|
|
%ldconfig_scriptlets
|
2011-09-15 16:16:20 +00:00
|
|
|
|
|
|
|
%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.?
|
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
|
|
|
|
%{_includedir}/gusb-1
|
2016-03-22 10:25:35 +00:00
|
|
|
%{_bindir}/gusbcmd
|
2011-09-15 16:16:20 +00:00
|
|
|
%{_libdir}/libgusb.so
|
|
|
|
%{_libdir}/pkgconfig/gusb.pc
|
2022-10-01 11:44:57 +00:00
|
|
|
%{_datadir}/doc/libgusb
|
2012-11-06 19:05:18 +00:00
|
|
|
%{_datadir}/gir-1.0/GUsb-1.0.gir
|
2018-02-15 21:40:08 +00:00
|
|
|
%{_datadir}/vala/vapi/gusb.deps
|
2012-11-06 19:05:18 +00:00
|
|
|
%{_datadir}/vala/vapi/gusb.vapi
|
2011-09-15 16:16:20 +00:00
|
|
|
|
|
|
|
%changelog
|
2023-01-30 09:40:54 +00:00
|
|
|
%autochangelog
|