# Generated by go2rpm # Requires a usb device %bcond_with check # https://github.com/thorduri/go-libusb %global goipath github.com/thorduri/go-libusb %global commit bbed4ca2a465660f336e1e5a4b2fe549667a2ca1 %gometa %global godevelheader %{expand: Requires: pkgconfig(libusb)} %global common_description %{expand: The Gousb package is an attempt at wrapping the libusb library into a Go-like binding.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Version: 0 Release: 0.1%{?dist} Summary: Idiomatic Go bindings for libusb-1.0 # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} BuildRequires: pkgconfig(libusb) %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Fri May 24 15:33:08 CEST 2019 Robert-André Mauchin - 0-0.2.20181130gitbbed4ca - Update to new macros * Thu Jan 31 2019 Jakub Jelen - 0-0.1.20181130gitbbed4ca - First package for Fedora