From e80294d57a303a917a54feede2be2a68e3f30a84 Mon Sep 17 00:00:00 2001 From: Robert-André Mauchin Date: Jun 25 2019 22:55:37 +0000 Subject: Initial import Signed-off-by: Robert-André Mauchin --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..65da359 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/apd-2.0.1.tar.gz diff --git a/golang-github-cockroachdb-apd.spec b/golang-github-cockroachdb-apd.spec new file mode 100644 index 0000000..049c953 --- /dev/null +++ b/golang-github-cockroachdb-apd.spec @@ -0,0 +1,51 @@ +# Generated by go2rpm +%bcond_without check + +# https://github.com/cockroachdb/apd +%global goipath github.com/cockroachdb/apd +Version: 2.0.1 + +%gometa + +%global common_description %{expand: +Apd is an arbitrary-precision decimal package for Go. + +Apd implements much of the decimal specification from the General Decimal +Arithmetic description. This is the same specification implemented by python’s +decimal module and GCC’s decimal extension.} + +%global golicenses LICENSE +%global godocs README.md + +Name: %{goname} +Release: 1%{?dist} +Summary: Arbitrary-precision decimals for Go + +# Upstream license specification: Apache-2.0 +License: ASL 2.0 +URL: %{gourl} +Source0: %{gosource} + +BuildRequires: golang(github.com/pkg/errors) + +%description +%{common_description} + +%gopkg + +%prep +%goprep + +%install +%gopkginstall + +%if %{with check} +%check +%gocheck +%endif + +%gopkgfiles + +%changelog +* Mon Apr 29 23:15:43 CEST 2019 Robert-André Mauchin - 2.0.1-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..59711a6 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (apd-2.0.1.tar.gz) = e05ddf0e02728a2a77ccba884b206dafbfc322e8d145e5d0df5b229ac0ce03123b1abec60bc68baa92145914e863ea6039256f7bb0e9ff965d854822148ac026