diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..820afb8 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/brotli-ed0fd649404dcdcdae403d0e62b555889ee4e6b9.tar.gz diff --git a/golang-github-andybalholm-brotli.spec b/golang-github-andybalholm-brotli.spec new file mode 100644 index 0000000..20179ec --- /dev/null +++ b/golang-github-andybalholm-brotli.spec @@ -0,0 +1,49 @@ +# Generated by go2rpm 1 +%bcond_without check + +# https://github.com/andybalholm/brotli +%global goipath github.com/andybalholm/brotli +%global commit ed0fd649404dcdcdae403d0e62b555889ee4e6b9 + +%gometa + +%global common_description %{expand: +This package is a brotli compressor and decompressor implemented in Go. It was +translated from the reference implementation (https://github.com/google/brotli) +with the c2go tool at https://github.com/andybalholm/c2go.} + +%global golicenses LICENSE +%global godocs README.md + +Name: %{goname} +Version: 0 +Release: 0.1%{?dist} +Summary: Pure Go Brotli encoder and decoder + +License: MIT +URL: %{gourl} +Source0: %{gosource} + +BuildRequires: golang(github.com/golang/gddo/httputil) + +%description +%{common_description} + +%gopkg + +%prep +%goprep + +%install +%gopkginstall + +%if %{with check} +%check +%gocheck +%endif + +%gopkgfiles + +%changelog +* Sat Aug 03 23:05:57 CEST 2019 Robert-André Mauchin - 0-0.1.20190803gited0fd64 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..02eed7f --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (brotli-ed0fd649404dcdcdae403d0e62b555889ee4e6b9.tar.gz) = ac67b1f815f54cb9b9f81aa6d364440c900a1b4aa9a54d8a59a006df2cdd058e24358c7f7dfee4bf77b8a93b780720e6f363970a9019c85b3427f5eec9f3df23