# Generated by go2rpm 1.5.0
%bcond_without check
# https://github.com/soheilhy/cmux
%global goipath github.com/soheilhy/cmux
Version: 0.1.5
%gometa
%global common_description %{expand:
Cmux is a generic Go library to multiplex connections based on their payload.
Using cmux, you can serve gRPC, SSH, HTTPS, HTTP, Go RPC, and pretty much any
other protocol on the same TCP listener.}
%global golicenses LICENSE
%global godocs CONTRIBUTORS README.md
Name: %{goname}
Release: %autorelease
Summary: Connection multiplexer for Go: serve different services on the same port
# Upstream license specification: Apache-2.0
License: ASL 2.0
URL: %{gourl}
Source0: %{gosource}
BuildRequires: golang(golang.org/x/net/http2)
BuildRequires: golang(golang.org/x/net/http2/hpack)
%description
%{common_description}
%gopkg
%prep
%goprep
%install
%gopkginstall
%if %{with check}
%check
%gocheck
%endif
%gopkgfiles
%changelog
%autochangelog