libgusb/libgusb.spec

61 lines
1.3 KiB
RPMSpec
Raw Normal View History

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
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
2023-01-30 09:40:54 +00:00
%autochangelog