File mingw64-hidapi.spec of Package mingw64-hidapi
#
# spec file for package mingw64-hidapi
#
# Copyright (c) 2025 SUSE LLC and contributors
#
# 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.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{_mingw64_package_header_debug}
Name: mingw64-hidapi
Version: 0.15.0
Release: 0
Summary: Library for communicating with HID devices
License: GPL-3.0-only
URL: https://libusb.info/hidapi/
Source0: https://github.com/libusb/hidapi/archive/refs/tags/hidapi-%{version}.tar.gz
BuildRequires: mingw64-cross-cmake
BuildRequires: mingw64-cross-gcc
BuildArch: noarch
BuildSystem: mingw64cmake
%description
HIDAPI is a multi-platform library which allows an application to
interface with USB and Bluetooth HID-Class devices on Windows,
Linux, FreeBSD, and macOS.
%{_mingw64_debug_package}
%files
%license LICENSE-gpl3.txt
%{_mingw64_includedir}/hidapi
%{_mingw64_libdir}/libhidapi.a
%{_mingw64_libdir}/pkgconfig/hidapi.pc
%{_mingw64_libdir}/cmake/hidapi
%changelog