From c23e11700b3c40165150d67e5dea71dbf79fe760 Mon Sep 17 00:00:00 2001 From: Robert-André Mauchin Date: Jul 02 2019 16:37:02 +0000 Subject: Initial import Signed-off-by: Robert-André Mauchin --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9e2fcc7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/quic-go-0.11.1.tar.gz diff --git a/golang-github-lucas-clemente-quic.spec b/golang-github-lucas-clemente-quic.spec new file mode 100644 index 0000000..d6f0f91 --- /dev/null +++ b/golang-github-lucas-clemente-quic.spec @@ -0,0 +1,62 @@ +# Generated by go2rpm +%bcond_without check + +# https://github.com/lucas-clemente/quic-go +%global goipath github.com/lucas-clemente/quic-go +Version: 0.11.1 + +%gometa + +%global common_description %{expand: +Quic-go is an implementation of the QUIC protocol in Go. It roughly implements +the IETF QUIC draft, although we don't fully support any of the draft versions +at the moment.} + +%global golicenses LICENSE +%global godocs docs example Changelog.md README.md + +Name: %{goname} +Release: 1%{?dist} +Summary: QUIC implementation in pure go + +License: MIT +URL: %{gourl} +Source0: %{gosource} + +BuildRequires: golang(github.com/cheekybits/genny/generic) +BuildRequires: golang(github.com/golang/mock/gomock) +BuildRequires: golang(github.com/marten-seemann/qtls) +BuildRequires: golang(github.com/onsi/ginkgo) +BuildRequires: golang(github.com/onsi/gomega) +BuildRequires: golang(golang.org/x/crypto/hkdf) +BuildRequires: golang(golang.org/x/net/http/httpguts) +BuildRequires: golang(golang.org/x/net/http2) +BuildRequires: golang(golang.org/x/net/http2/hpack) +BuildRequires: golang(golang.org/x/net/idna) + +%if %{with check} +# Tests +BuildRequires: golang(github.com/onsi/gomega/gbytes) +%endif + +%description +%{common_description} + +%gopkg + +%prep +%goprep + +%install +%gopkginstall + +%if %{with check} +%check +%gocheck +%endif + +%gopkgfiles + +%changelog +* Sat May 18 18:51:25 CEST 2019 Robert-André Mauchin - 0.11.1-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..460659d --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (quic-go-0.11.1.tar.gz) = b13138c9488009b8f1b00fa4d5a3c21dfc8e89a69adcce69ccaa971499175aa1ba807217f5ca8477c1f511ad19c3043a6e2e964a227a19189de26e6433dbdc60