From 205b75e72294d9cff784cc7ac82134bfa2269b44 Mon Sep 17 00:00:00 2001 From: Robert-André Mauchin Date: Jun 22 2019 21:08:00 +0000 Subject: Initial import Signed-off-by: Robert-André Mauchin --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bf597b0 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/yaml-2.2.2.tar.gz diff --git a/golang-gopkg-yaml-2.spec b/golang-gopkg-yaml-2.spec new file mode 100644 index 0000000..6708d10 --- /dev/null +++ b/golang-gopkg-yaml-2.spec @@ -0,0 +1,56 @@ +# Generated by go2rpm +%bcond_without check + +# https://github.com/go-yaml/yaml +%global goipath gopkg.in/yaml.v2 +%global forgeurl https://github.com/go-yaml/yaml +Version: 2.2.2 + +%gometa + +%global goaltipaths gopkg.in/v2/yaml + +%global common_description %{expand: +The yaml package enables Go programs to comfortably encode and decode YAML +values. It was developed within Canonical as part of the juju project, and is +based on a pure Go port of the well-known libyaml C library to parse and +generate YAML data quickly and reliably. + +The yaml package supports most of YAML 1.1 and 1.2, including support for +anchors, tags, map merging, etc. Multi-document unmarshalling is not yet +implemented, and base-60 floats from YAML 1.1 are purposefully not supported +since they're a poor design and are gone in YAML 1.2.} + +%global golicenses LICENSE LICENSE.libyaml NOTICE +%global godocs README.md + +Name: %{goname} +Release: 1%{?dist} +Summary: Yaml support for the Go language + +# Upstream license specification: Apache-2.0 and MIT +License: ASL 2.0 and MIT +URL: %{gourl} +Source0: %{gosource} + +%description +%{common_description} + +%gopkg + +%prep +%goprep + +%install +%gopkginstall + +%if %{with check} +%check +%gocheck +%endif + +%gopkgfiles + +%changelog +* Sun Apr 21 07:37:09 CEST 2019 Robert-André Mauchin - 2.2.2-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..1dedf6a --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (yaml-2.2.2.tar.gz) = 210b36f9cc4205f91041e0da08b8eae6afbb9f44fc036bf578223da52a74ee21fa60caa569efbb5b8262e2b885ff13efa68705cbefdf93a1d05b2378d95620e8