update to 0.11.0 [release 0.11.0-1mamba;Mon Oct 04 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 23:40:53 +01:00
parent 865ff55806
commit 676505d0e9

View File

@ -1,27 +1,21 @@
%define pkgver %(echo %version | tr _ -)
Name: hidapi
Version: 0.10.1
Version: 0.11.0
Release: 1mamba
Summary: A library which allows an application to interface with USB and Bluetooth HID-Class devices
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.signal11.us/oss/hidapi/
URL: https://github.com/libusb/hidapi
Source: https://github.com/libusb/hidapi.git/hidapi-%{version}/hidapi-%{version}.tar.bz2
#Source: https://github.com/signal11/hidapi/archive/hidapi-%{pkgver}.tar.gz
License: BSD, GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libcap-devel
BuildRequires: libpcre-devel
BuildRequires: libselinux-devel
BuildRequires: libsepol-devel
BuildRequires: libudev-devel
BuildRequires: libusb-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
A multi-platform library which allows an application to interface with USB and Bluetooth HID-Class devices on Windows, Linux, FreeBSD, and Mac OS X.
@ -46,9 +40,9 @@ This package contains libraries and header files for developing applications tha
%prep
%setup -q
./bootstrap
%build
./bootstrap
%configure
%make
@ -74,7 +68,7 @@ This package contains libraries and header files for developing applications tha
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/hidapi
%{_includedir}/hidapi/hidapi.h
%{_includedir}/hidapi/*.h
%{_libdir}/libhidapi-hidraw.a
%{_libdir}/libhidapi-hidraw.la
%{_libdir}/libhidapi-hidraw.so
@ -86,6 +80,9 @@ This package contains libraries and header files for developing applications tha
%{_datadir}/doc/hidapi/README.md
%changelog
* Mon Oct 04 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.11.0-1mamba
- update to 0.11.0
* Mon Nov 30 2020 Automatic Build System <autodist@mambasoft.it> 0.10.1-1mamba
- automatic version update by autodist