# Generated by go2rpm 1 %bcond_without check # https://github.com/Unrud/remote-touchpad %global goipath github.com/Unrud/remote-touchpad Version: 0.0.13 %global tag 0.0.13 %gometa %global common_description %{expand: Control mouse and keyboard from the webbrowser of a smartphone (or any other device with a touchscreen). To take control open the displayed URL or scan the QR code.} %global golicenses COPYING %global godocs README.md CHANGELOG.md Name: %{goname} Release: 1%{?dist} Summary: Control mouse and keyboard from a smartphone License: GPLv3 # FIXME: Upstream uses unknown SPDX tag GPL-3.0-only! URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/elazarl/go-bindata-assetfs) BuildRequires: golang(github.com/skip2/go-qrcode) BuildRequires: golang(golang.org/x/net/websocket) %description %{common_description} %gopkg %prep %goprep %build %gobuild -o %{gobuilddir}/bin/remote-touchpad %{goipath} %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %if %{with check} %check %gocheck %endif %files %license COPYING %doc README.md CHANGELOG.md %{_bindir}/* %gopkgfiles %changelog * Sat Oct 05 05:50:02 EEST 2019 Artem Polishchuk - 0.0.13-1 - Initial package