From a968f6377e6b96d756e68f41c9afbbfa720e3786 Mon Sep 17 00:00:00 2001 From: Robert-André Mauchin Date: Jun 24 2019 13:37:33 +0000 Subject: Initial import Signed-off-by: Robert-André Mauchin --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c8e8bac --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/tdigest-bf2b5ad3c0a925c44a0d2842c5d8182113cd248e.tar.gz diff --git a/golang-github-influxdata-tdigest.spec b/golang-github-influxdata-tdigest.spec new file mode 100644 index 0000000..d6b2f7d --- /dev/null +++ b/golang-github-influxdata-tdigest.spec @@ -0,0 +1,56 @@ +# Generated by go2rpm +%bcond_without check + +# https://github.com/influxdata/tdigest +%global goipath github.com/influxdata/tdigest +%global commit bf2b5ad3c0a925c44a0d2842c5d8182113cd248e + +%gometa + +%global common_description %{expand: +A new data structure for accurate on-line accumulation of rank-based statistics +such as quantiles and trimmed means. The t-digest algorithm is also very +friendly to parallel programs making it useful in map-reduce and parallel +streaming applications implemented using, say, Apache Spark. + +This is an implementation of Ted Dunning's t-digest in Go. + +The implementation is based off Derrick Burns' C++ implementation.} + +%global golicenses LICENSE +%global godocs README.md + +Name: %{goname} +Version: 0 +Release: 0.1%{?dist} +Summary: Implementation of Ted Dunning's t-digest in Go + +# Upstream license specification: Apache-2.0 +License: ASL 2.0 +URL: %{gourl} +Source0: %{gosource} + +BuildRequires: golang(golang.org/x/exp/rand) +BuildRequires: golang(gonum.org/v1/gonum/stat/distuv) + +%description +%{common_description} + +%gopkg + +%prep +%goprep + +%install +%gopkginstall + +%if %{with check} +%check +%gocheck +%endif + +%gopkgfiles + +%changelog +* Thu Apr 25 00:27:17 CEST 2019 Robert-André Mauchin - 0-0.1.20190624gitbf2b5ad +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..95ce61c --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (tdigest-bf2b5ad3c0a925c44a0d2842c5d8182113cd248e.tar.gz) = fa6e235523716357f43c28783cad1176d5ce80643b08509ff8bfcfe7220155514d36140be30b1b833da079a0ae27a85751ea1e932d840d8e2590c1bb15e959e3