2012-01-18 09:53:29 +01:00
|
|
|
#
|
|
|
|
# spec file for package libgusb
|
|
|
|
#
|
2022-05-09 10:15:00 +02:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2012-01-18 09:53:29 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2020-09-15 12:39:21 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-01-18 09:53:29 +01:00
|
|
|
#
|
|
|
|
|
2012-09-07 17:46:28 +02:00
|
|
|
|
2012-01-18 09:53:29 +01:00
|
|
|
Name: libgusb
|
2022-05-09 10:15:00 +02:00
|
|
|
Version: 0.3.10
|
2012-01-18 09:53:29 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: GObject-based library for libusb1
|
2018-03-05 18:52:49 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2018-03-09 11:49:11 +01:00
|
|
|
Group: Development/Libraries/GNOME
|
2020-09-15 12:39:21 +02:00
|
|
|
URL: https://github.com/hughsie/libgusb
|
2012-01-18 09:53:29 +01:00
|
|
|
Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.xz
|
2021-01-08 14:46:39 +01:00
|
|
|
Source99: baselibs.conf
|
2018-03-09 12:48:32 +01:00
|
|
|
BuildRequires: gtk-doc
|
|
|
|
BuildRequires: meson
|
2018-03-05 18:52:49 +01:00
|
|
|
BuildRequires: pkgconfig
|
2012-11-19 11:04:30 +01:00
|
|
|
BuildRequires: vala
|
2017-09-06 22:30:49 +02:00
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.44.0
|
2012-11-19 11:04:30 +01:00
|
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.29
|
2012-01-18 09:53:29 +01:00
|
|
|
BuildRequires: pkgconfig(gudev-1.0)
|
2014-12-19 11:11:57 +01:00
|
|
|
BuildRequires: pkgconfig(libusb-1.0) >= 1.0.19
|
2012-01-18 09:53:29 +01: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 -n libgusb2
|
|
|
|
Summary: GObject-based library for libusb1
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libgusb2
|
|
|
|
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.
|
|
|
|
|
2012-11-19 11:04:30 +01:00
|
|
|
%package -n typelib-1_0-GUsb-1_0
|
2018-03-09 11:49:11 +01:00
|
|
|
Summary: Introspection bindings for libgusb, a GObject-based wrapper for libusb1
|
2012-11-19 11:04:30 +01:00
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n typelib-1_0-GUsb-1_0
|
|
|
|
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.
|
|
|
|
|
2012-01-18 09:53:29 +01:00
|
|
|
%package devel
|
2018-03-09 11:49:11 +01:00
|
|
|
Summary: Development files for libgusb, a GObject-based wrapper for libusb1
|
2012-01-18 09:53:29 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libgusb2 = %{version}
|
2012-11-19 11:04:30 +01:00
|
|
|
Requires: typelib-1_0-GUsb-1_0 = %{version}
|
2012-01-18 09:53:29 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
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.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2018-03-09 12:48:32 +01:00
|
|
|
%meson
|
|
|
|
%meson_build
|
2012-01-18 09:53:29 +01:00
|
|
|
|
|
|
|
%install
|
2018-03-09 12:48:32 +01:00
|
|
|
%meson_install
|
2012-01-18 09:53:29 +01:00
|
|
|
|
|
|
|
%post -n libgusb2 -p /sbin/ldconfig
|
|
|
|
%postun -n libgusb2 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n libgusb2
|
2018-03-05 18:52:49 +01:00
|
|
|
%license COPYING
|
2018-03-09 12:48:32 +01:00
|
|
|
%doc AUTHORS NEWS
|
2012-01-18 09:53:29 +01:00
|
|
|
%{_libdir}/libgusb.so.?
|
|
|
|
%{_libdir}/libgusb.so.?.0.*
|
|
|
|
|
2012-11-19 11:04:30 +01:00
|
|
|
%files -n typelib-1_0-GUsb-1_0
|
|
|
|
%{_libdir}/girepository-1.0/GUsb-1.0.typelib
|
|
|
|
|
2012-01-18 09:53:29 +01:00
|
|
|
%files devel
|
2018-03-09 12:48:32 +01:00
|
|
|
%doc %{_datadir}/gtk-doc/html/gusb/
|
2016-03-31 21:45:29 +02:00
|
|
|
%{_bindir}/gusbcmd
|
2012-11-19 11:04:30 +01:00
|
|
|
%{_datadir}/gir-1.0/GUsb-1.0.gir
|
|
|
|
%dir %{_datadir}/vala/vapi
|
2018-03-09 12:48:32 +01:00
|
|
|
%{_datadir}/vala/vapi/gusb.deps
|
2012-11-19 11:04:30 +01:00
|
|
|
%{_datadir}/vala/vapi/gusb.vapi
|
2012-01-18 09:53:29 +01:00
|
|
|
%{_includedir}/gusb-1/
|
|
|
|
%{_libdir}/libgusb.so
|
|
|
|
%{_libdir}/pkgconfig/gusb.pc
|
|
|
|
|
|
|
|
%changelog
|