From 12248ca9e10ce589aaaa52b09746dc96f5fd63ef Mon Sep 17 00:00:00 2001 From: Robert-André Mauchin Date: Jan 24 2021 20:03:55 +0000 Subject: Initial import Signed-off-by: Robert-André Mauchin --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3992bca --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/qtls-go1-16-0.1.0-beta.1.1.tar.gz diff --git a/golang-github-marten-seemann-qtls-go1-16.spec b/golang-github-marten-seemann-qtls-go1-16.spec new file mode 100644 index 0000000..68452d0 --- /dev/null +++ b/golang-github-marten-seemann-qtls-go1-16.spec @@ -0,0 +1,59 @@ +# Generated by go2rpm 1.3 +%bcond_without check + +# https://github.com/marten-seemann/qtls-go1-16 +%global goipath github.com/marten-seemann/qtls-go1-16 +Version: 0.1.0~beta.1.1 + +%gometa + +%global extractdir %(echo %{extractdir} | sed -e 's/~/-/g') +%global gosource %(echo %{gosource} | sed -e 's/~/-/g') + +%global common_description %{expand: +Go standard library TLS 1.3 implementation, modified for QUIC. For Go 1.16.} + +%global golicenses LICENSE +%global godocs README.md + +Name: %{goname} +Release: 1%{?dist} +Summary: Go standard library TLS 1.3 implementation, modified for QUIC. For Go 1.16 + +# Upstream license specification: BSD-3-Clause +License: BSD +URL: %{gourl} +Source0: %{gosource} + +BuildRequires: golang(golang.org/x/crypto/chacha20poly1305) +BuildRequires: golang(golang.org/x/crypto/cryptobyte) +BuildRequires: golang(golang.org/x/crypto/curve25519) +BuildRequires: golang(golang.org/x/crypto/hkdf) +BuildRequires: golang(golang.org/x/sys/cpu) + +%if %{with check} +# Tests +BuildRequires: golang(github.com/golang/mock/gomock) +%endif + +%description +%{common_description} + +%gopkg + +%prep +%goprep + +%install +%gopkginstall + +%if %{with check} +%check +%gocheck +%endif + +%gopkgfiles + +%changelog +* Sun Jan 24 15:54:22 CET 2021 Robert-André Mauchin - 0.1.0-beta.1.1-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..12dfcb0 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (qtls-go1-16-0.1.0-beta.1.1.tar.gz) = f95c15f6a0cf25487d46a3522b20164425b0e792c5d04b0c9c911838220c8dc7645c5072536fcad7ac7a78cbbdd073b2fa59d5d2ca0cd30410be5c21c4888701