Sisyphus repository
Last update: 16 october 2019 | SRPMs: 17499 | Visits: 15275404
en ru br
ALT Linux repos

Group :: System/Libraries
RPM: libgusb

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define api_ver 1.0

%def_enable tests
%def_enable docs
%def_enable vala
# failed to init libusb in hasher
%def_disable check

Name: libgusb
Version: 0.3.0
Release: alt1

Summary: GLib wrapper around libusb1
Group: System/Libraries
License: LGPLv2+

# VCS:


BuildRequires(pre): meson
BuildRequires: libgio-devel >= 2.44 libusb-devel >= 1.0.19
BuildRequires: gobject-introspection-devel
%{?_enable_docs:BuildRequires: gtk-doc}
%{?_enable_vala:BuildRequires: vala-tools}

GUsb is a GObject wrapper for libusb 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 %name
Group: Development/C
Requires: %name = %version-%release

%description devel
GLib headers and libraries for the GUsb library.

%package gir
Summary: GObject introspection data for GUsb
Group: System/Libraries
Requires: %name = %version-%release

%description gir
GObject introspection data for the GUsb library.

%package gir-devel
Summary: GObject introspection devel data for GUsb
Group: Development/Other
BuildArch: noarch
Requires: %name-devel = %version-%release
Requires: %name-gir = %version-%release

%description gir-devel
GObject introspection devel data for the GUsb library.

%package devel-doc
Summary: Development documentation for GUsb
Group: Development/C
BuildArch: noarch
Conflicts: %name-devel < %version

%description devel-doc
This package provides documentation for developing
applications that use GUsb library.


%meson \
-Dusb_ids=%_datadir/misc/usb.ids \
       %{?_disable_docs:-Ddocs=false} \
       %{?_disable_tests:-Dtests=false} \




%files devel

%files gir

%files gir-devel

%if_enabled docs
%files devel-doc


Full changelog you can see here

design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin