Search
SailfishOS Open Build Service
>
Projects
>
home:r0kk3rz
:
branches:mer-core:devel
>
hidapi
> _service:tar_git:hidapi.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File _service:tar_git:hidapi.spec of Package hidapi
Name: hidapi Version: 0.8.0+master.20190203115851.24b31ea Release: 0.11.%{shortcommit}%{?dist} Summary: Library for communicating with USB and Bluetooth HID devices License: GPLv3 or BSD URL: http://www.signal11.us/oss/hidapi/ Source0: https://github.com/signal11/hidapi/archive/%{name}-%{version}.tar.gz BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: libtool BuildRequires: libudev-devel BuildRequires: libusb1-devel BuildRequires: m4 %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 %setup -qn %{name}-%{version}/%{name} %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} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %doc AUTHORS.txt README.txt 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