From 27cee079a9d7a1cdbe35eeb84140d50b3b8b1b40 Mon Sep 17 00:00:00 2001 From: Robert-André Mauchin Date: Jan 30 2021 14:01:20 +0000 Subject: Initial import Signed-off-by: Robert-André Mauchin --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..558b069 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/go-kml-1.5.2.tar.gz diff --git a/golang-github-twpayne-kml.spec b/golang-github-twpayne-kml.spec new file mode 100644 index 0000000..9bf9f46 --- /dev/null +++ b/golang-github-twpayne-kml.spec @@ -0,0 +1,54 @@ +# Generated by go2rpm 1.3 +%bcond_without check + +# https://github.com/twpayne/go-kml +%global goipath github.com/twpayne/go-kml +Version: 1.5.2 + +%gometa + +%global common_description %{expand: +Package Kml provides convenince methods for creating and writing KML documents.} + +%global golicenses LICENSE +%global godocs examples README.md + +Name: %{goname} +Release: 1%{?dist} +Summary: Convenince methods for creating and writing KML documents + +License: MIT +URL: %{gourl} +Source0: %{gosource} + +BuildRequires: golang(github.com/Masterminds/sprig) +BuildRequires: golang(github.com/twpayne/go-polyline) +BuildRequires: golang(github.com/twpayne/go-waypoint) + +%if %{with check} +# Tests +BuildRequires: golang(github.com/stretchr/testify/assert) +BuildRequires: golang(github.com/stretchr/testify/require) +%endif + +%description +%{common_description} + +%gopkg + +%prep +%goprep + +%install +%gopkginstall + +%if %{with check} +%check +%gocheck +%endif + +%gopkgfiles + +%changelog +* Thu Jan 28 23:30:29 CET 2021 Robert-André Mauchin - 1.5.2-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..5865043 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (go-kml-1.5.2.tar.gz) = 4eaf5f650f4fbc2f2197433eb3884542183a0754d377a46f573d0ad3ef09ae0b5b21608387a6cc3b5343554cf8d52b940fcf8993979e7c8eebdbca690f01420e