Toshaan Bharvani
3 years ago
commit
fe603943d4
2 changed files with 142 additions and 0 deletions
@ -0,0 +1,142 @@
@@ -0,0 +1,142 @@
|
||||
Name: hidapi |
||||
Version: 0.11.2 |
||||
Release: 1%{?dist} |
||||
Summary: Library for communicating with USB and Bluetooth HID devices |
||||
|
||||
License: GPLv3 or BSD |
||||
URL: https://github.com/libusb/hidapi |
||||
|
||||
Source0: https://github.com/libusb/hidapi/archive/%{name}-%{version}.tar.gz |
||||
|
||||
BuildRequires: autoconf |
||||
BuildRequires: automake |
||||
BuildRequires: gcc |
||||
BuildRequires: libtool |
||||
BuildRequires: libudev-devel |
||||
BuildRequires: libusb1-devel |
||||
BuildRequires: m4 |
||||
BuildRequires: make |
||||
|
||||
%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 Mac OS |
||||
X. On Linux, either the hidraw or the libusb back-end can be used. There are |
||||
trade-offs and the functionality supported is slightly different. |
||||
|
||||
%package devel |
||||
Summary: Development files for hidapi |
||||
Requires: %{name}%{?_isa} = %{version}-%{release} |
||||
|
||||
%description -n hidapi-devel |
||||
This package contains development files for hidapi which provides access to |
||||
USB and Bluetooth HID-class devices. |
||||
|
||||
%prep |
||||
%autosetup -n %{name}-%{name}-%{version} |
||||
|
||||
%build |
||||
autoreconf -vif |
||||
%configure --disable-testgui --disable-static |
||||
make %{?_smp_mflags} V=1 |
||||
|
||||
%install |
||||
make install DESTDIR=%{buildroot} |
||||
|
||||
rm -f %{buildroot}%{_libdir}/*.la |
||||
rm -rf %{buildroot}%{_defaultdocdir}/%{name} |
||||
|
||||
%ldconfig_scriptlets |
||||
|
||||
%files |
||||
%doc AUTHORS.txt README.md LICENSE*.txt |
||||
%{_libdir}/libhidapi-*.so.* |
||||
|
||||
%files devel |
||||
%{_includedir}/hidapi |
||||
%{_libdir}/libhidapi-hidraw.so |
||||
%{_libdir}/libhidapi-libusb.so |
||||
%{_libdir}/pkgconfig/hidapi-hidraw.pc |
||||
%{_libdir}/pkgconfig/hidapi-libusb.pc |
||||
|
||||
%changelog |
||||
* Mon Jan 03 2022 Scott Talbert <swt@techie.net> - 0.11.2-1 |
||||
- Update to new upstream release 0.11.2 (#2036738) |
||||
|
||||
* Mon Oct 04 2021 Scott Talbert <swt@techie.net> - 0.11.0-1 |
||||
- Update to new upstream release 0.11.0 (#2008570) |
||||
|
||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.1-4 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild |
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.1-3 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild |
||||
|
||||
* Thu Dec 31 19:56:21 EST 2020 Scott Talbert <swt@techie.net> - 0.10.1-2 |
||||
- Fix FTBFS with autoconf 2.70 |
||||
|
||||
* Tue Nov 24 21:26:02 EST 2020 Scott Talbert <swt@techie.net> - 0.10.1-1 |
||||
- Update to new upstream release 0.10.1 (#1901388) |
||||
- Remove BR on gcc-c++ (no longer needed) |
||||
|
||||
* Mon Oct 26 2020 Scott Talbert <swt@techie.net> - 0.10.0-1 |
||||
- Update to new upstream release 0.10.0 (#1891375) |
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-4 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild |
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-3 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild |
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild |
||||
|
||||
* Wed Jul 10 2019 Scott Talbert <swt@techie.net> - 0.9.0-1 |
||||
- Switch to new upstream at libusb organization |
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-0.11.d17db57 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild |
||||
|
||||
* Sun Jul 15 2018 Scott Talbert <swt@techie.net> - 0.8.0-0.10.d17db57 |
||||
- Add missing BR for gcc-c++, fixes mass rebuild FTBFS |
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-0.9.d17db57 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild |
||||
|
||||
* Mon Feb 19 2018 Scott Talbert <swt@techie.net> - 0.8.0-0.8.d17db57 |
||||
- Add missing BR for gcc |
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-0.7.d17db57 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild |
||||
|
||||
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.8.0-0.6.d17db57 |
||||
- Switch to %%ldconfig_scriptlets |
||||
|
||||
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-0.5.d17db57 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild |
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-0.4.d17db57 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild |
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-0.3.d17db57 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild |
||||
|
||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-0.2.d17db57 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild |
||||
|
||||
* Tue Sep 01 2015 Scott Talbert <swt@techie.net> - 0.8.0-0.1.d17db57 |
||||
- Update to latest upstream commit d17db57 |
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0-5.a88c724 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild |
||||
|
||||
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0-4.a88c724 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild |
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0-3.a88c724 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
||||
|
||||
* Tue Oct 29 2013 Scott Talbert <swt@techie.net> - 0.7.0-2.a88c724 |
||||
- Incorporate review comments |
||||
|
||||
* Wed Oct 23 2013 Scott Talbert <swt@techie.net> - 0.7.0-1.a88c724 |
||||
- Initial packaging of hidapi library |
Loading…
Reference in new issue