diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..66f5322 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/roaring-0.4.12.tar.gz diff --git a/golang-github-influxdata-roaring.spec b/golang-github-influxdata-roaring.spec new file mode 100644 index 0000000..3be7433 --- /dev/null +++ b/golang-github-influxdata-roaring.spec @@ -0,0 +1,55 @@ +# Generated by go2rpm +%bcond_without check + +# https://github.com/influxdata/roaring +%global goipath github.com/influxdata/roaring +Version: 0.4.12 + +%gometa + +%global common_description %{expand: +This is a Go version of the Roaring bitmap data structure.} + +%global golicenses LICENSE LICENSE-2.0.txt +%global godocs AUTHORS README.md CONTRIBUTORS + +Name: %{goname} +Release: 1%{?dist} +Summary: Roaring bitmaps in Go + +# Upstream license specification: Apache-2.0 +License: ASL 2.0 +URL: %{gourl} +Source0: %{gosource} + +BuildRequires: golang(github.com/glycerine/go-unsnap-stream) +BuildRequires: golang(github.com/tinylib/msgp/msgp) + +%if %{with check} +# Tests +BuildRequires: golang(github.com/smartystreets/goconvey/convey) +BuildRequires: golang(github.com/stretchr/testify/assert) +BuildRequires: golang(github.com/willf/bitset) +%endif + +%description +%{common_description} + +%gopkg + +%prep +%goprep + +%install +%gopkginstall + +%if %{with check} +%check +%gocheck +%endif + +%gopkgfiles + +%changelog +* Sun Apr 28 23:05:20 CEST 2019 Robert-André Mauchin - 0.4.12-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..56156da --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (roaring-0.4.12.tar.gz) = bedc62ba27d1118389ccb6acb7c508db5abb74a5d52a5431c966c94aa336890148257bd40fae7e669e551805245a2cbbd9c60010839cfa23eb9290e759a2aa3c