2d93230
# Generated by go2rpm 1
2d93230
# Needs network access
2d93230
%bcond_with check
2d93230
2d93230
# https://gitlab.com/yawning/utls.git
2d93230
%global goipath         gitlab.com/yawning/utls.git
2d93230
%global forgeurl        https://gitlab.com/yawning/utls
2d93230
Version:                0.0.11
2d93230
%global tag             v0.0.11-1
2d93230
%global distprefix      %{nil}
2d93230
2d93230
%gometa
2d93230
2d93230
%global common_description %{expand:
2d93230
uTLS is a fork of "crypto/tls", which provides ClientHello fingerprinting
2d93230
resistance, low-level access to handshake, fake session tickets and some other
2d93230
features. Handshake is still performed by "crypto/tls", this library merely
2d93230
changes ClientHello part of it and provides low-level access.}
2d93230
2d93230
%global golicenses      LICENSE LICENSE.upstream.txt
2d93230
%global godocs          examples CONTRIBUTING.md CONTRIBUTORS_GUIDE.md\\\
2d93230
                        README.md README.upstream.md
2d93230
2d93230
Name:           %{goname}
2d93230
Release:        1.1%{?dist}
2d93230
Summary:        Fork of the Go standard TLS library, providing access to the ClientHello
2d93230
2d93230
# Upstream license specification: BSD-3-Clause and GPL-3.0-only
2d93230
License:        BSD and GPLv3
2d93230
URL:            %{gourl}
2d93230
Source0:        %{gosource}
2d93230
2d93230
BuildRequires:  golang(git.schwanenlied.me/yawning/bsaes.git)
2d93230
BuildRequires:  golang(github.com/dsnet/compress/brotli)
2d93230
BuildRequires:  golang(golang.org/x/crypto/chacha20poly1305)
2d93230
BuildRequires:  golang(golang.org/x/crypto/cryptobyte)
2d93230
BuildRequires:  golang(golang.org/x/crypto/curve25519)
2d93230
BuildRequires:  golang(golang.org/x/crypto/hkdf)
2d93230
BuildRequires:  golang(golang.org/x/crypto/sha3)
2d93230
BuildRequires:  golang(golang.org/x/net/http2)
2d93230
2d93230
%description
2d93230
%{common_description}
2d93230
2d93230
%gopkg
2d93230
2d93230
%prep
2d93230
%goprep
2d93230
2d93230
%install
2d93230
%gopkginstall
2d93230
2d93230
%if %{with check}
2d93230
%check
2d93230
%gocheck
2d93230
%endif
2d93230
2d93230
%gopkgfiles
2d93230
2d93230
%changelog
2d93230
* Wed Aug 07 21:53:41 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.0.11-1-1
2d93230
- Initial package