Accepting request 717490 from hardware
OBS-URL: https://build.opensuse.org/request/show/717490 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hidapi?expand=0&rev=3
This commit is contained in:
commit
23fc5095e0
14
_service
14
_service
@ -1,13 +1,9 @@
|
||||
<services>
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<param name="url">https://github.com/signal11/hidapi.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="filename">hidapi</param>
|
||||
<param name="revision">hidapi-0.8.0-rc1</param>
|
||||
<param name="versionformat">0.8.0~rc1</param>
|
||||
<service name="download_files" mode="disabled">
|
||||
</service>
|
||||
<service name="recompress" mode="disabled">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">bz2</param>
|
||||
<service name="verify_file" mode="disabled">
|
||||
<param name="file">hidapi-0.9.0.tar.gz</param>
|
||||
<param name="verifier">sha256</param>
|
||||
<param name="checksum">630ee1834bdd5c5761ab079fd04f463a89585df8fcae51a7bfe4229b1e02a652</param>
|
||||
</service>
|
||||
</services>
|
||||
|
@ -1,13 +1,13 @@
|
||||
Index: hidapi-0.8.0~rc1/Makefile.am
|
||||
===================================================================
|
||||
--- hidapi-0.8.0~rc1.orig/Makefile.am
|
||||
+++ hidapi-0.8.0~rc1/Makefile.am
|
||||
@@ -39,14 +39,6 @@ endif
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index a6e47e8..dd92e87 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -43,14 +43,6 @@ endif
|
||||
|
||||
EXTRA_DIST = udev doxygen
|
||||
|
||||
-dist_doc_DATA = \
|
||||
- README.txt \
|
||||
- README.md \
|
||||
- AUTHORS.txt \
|
||||
- LICENSE-bsd.txt \
|
||||
- LICENSE-gpl3.txt \
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1c9c94b373e8ca30328dd1d7de3413479dc32e55f430c50d5e5e4b00939bb7f8
|
||||
size 83586
|
3
hidapi-0.9.0.tar.gz
Normal file
3
hidapi-0.9.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:630ee1834bdd5c5761ab079fd04f463a89585df8fcae51a7bfe4229b1e02a652
|
||||
size 112963
|
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 22 08:54:03 UTC 2019 - Matwey Kornilov <matwey.kornilov@gmail.com>
|
||||
|
||||
- Use disabled services to follow Factory guidelines.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 22 07:02:32 UTC 2019 - luca@z3ntu.xyz
|
||||
|
||||
- Update to 0.9.0
|
||||
- Switch upstream to libusb/hidapi because the original maintainer is not active anymore
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 24 15:41:58 UTC 2014 - matwey.kornilov@gmail.com
|
||||
|
||||
|
35
hidapi.spec
35
hidapi.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package
|
||||
# spec file for package hidapi
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -12,25 +12,29 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define sover 0
|
||||
|
||||
Name: hidapi
|
||||
Version: 0.8.0~rc1
|
||||
Version: 0.9.0
|
||||
Release: 0
|
||||
License: GPL-3.0+ or BSD-3-Clause
|
||||
Summary: Simple library for communicating with USB and Bluetooth HID devices
|
||||
Url: https://github.com/signal11/hidapi
|
||||
License: GPL-3.0-or-later OR BSD-3-Clause
|
||||
Group: System/Libraries
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Url: https://github.com/libusb/hidapi
|
||||
Source: https://github.com/libusb/hidapi/archive/%{name}-%{version}.tar.gz
|
||||
# PATCH-FIX-OPENSUSE do_not_install_docs.patch -- don't let make install put files into /usr/share/doc/packages
|
||||
Patch0: do_not_install_docs.patch
|
||||
BuildRequires: make gcc-c++
|
||||
BuildRequires: libtool automake autoconf
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libtool
|
||||
BuildRequires: libudev-devel
|
||||
BuildRequires: libusb-1_0-devel
|
||||
BuildRequires: make
|
||||
BuildRequires: pkg-config
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
@ -42,10 +46,10 @@ While it can be used to communicate with standard HID devices like keyboards, mi
|
||||
Summary: Development libraries and header files for hidapi
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: glibc-devel
|
||||
Requires: libudev-devel
|
||||
Requires: libusb-1_0-devel
|
||||
Requires: libhidapi-hidraw%{sover} = %{version}
|
||||
Requires: libhidapi-libusb%{sover} = %{version}
|
||||
Requires: libudev-devel
|
||||
Requires: libusb-1_0-devel
|
||||
|
||||
%description -n libhidapi-devel
|
||||
This package contains the header files and libraries for building
|
||||
@ -68,7 +72,7 @@ HIDAPI is a library which allows an application to interface with USB and Blueto
|
||||
While it can be used to communicate with standard HID devices like keyboards, mice, and Joysticks, it is most useful when used with custom (Vendor-Defined) HID devices.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%setup -q -n %{name}-%{name}-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
@ -88,20 +92,19 @@ find %{buildroot}%{_libdir} -type f -name '*.la' -delete -print
|
||||
|
||||
%files -n libhidapi-devel
|
||||
%defattr(-,root,root)
|
||||
%doc README.txt AUTHORS.txt HACKING.txt
|
||||
%doc README.md AUTHORS.txt HACKING.txt
|
||||
%{_includedir}/hidapi
|
||||
%{_libdir}/pkgconfig/*
|
||||
%{_libdir}/libhidapi-*.so
|
||||
|
||||
%files -n libhidapi-hidraw%{sover}
|
||||
%defattr(-,root,root)
|
||||
%doc LICENSE*
|
||||
%license LICENSE*
|
||||
%{_libdir}/libhidapi-hidraw.so.%{sover}*
|
||||
|
||||
%files -n libhidapi-libusb%{sover}
|
||||
%defattr(-,root,root)
|
||||
%doc LICENSE*
|
||||
%license LICENSE*
|
||||
%{_libdir}/libhidapi-libusb.so.%{sover}*
|
||||
|
||||
%changelog
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user