# Generated by go2rpm 1.3 %bcond_without check # https://github.com/digitalautonomy/grumble %global goipath github.com/digitalautonomy/grumble %global commit 8faaa9240402e68e088d4461ade58dd69138dacb %gometa %global common_description %{expand: Alternative Mumble server - this fork makes it possible to use Grumble as a library.} %global golicenses LICENSE %global godocs AUTHORS README.md pkg/cryptstate/testgen/README Name: %{goname} Version: 0 Release: 0.1%{?dist} Summary: Alternative Mumble server - this fork makes it possible to use Grumble as a library # Upstream license specification: BSD-3-Clause License: BSD URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/golang/protobuf/proto) BuildRequires: golang(github.com/gorilla/websocket) BuildRequires: golang(golang.org/x/crypto/nacl/secretbox) %description %{common_description} %gopkg %prep %goprep %build for cmd in cmd/* ; do %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd done for cmd in pkg/mumbleproto; do %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd done %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %if %{with check} %check %gocheck %endif %files %license LICENSE %doc AUTHORS README.md pkg/cryptstate/testgen/README %{_bindir}/* %gopkgfiles %changelog * Thu Apr 29 10:25:16 -03 2021 Facundo Acevedo - 0-0.1.20210429git8faaa92 - Initial package