From b45ddeec997fe3a816fe0443ec59c2ead797b785 Mon Sep 17 00:00:00 2001 From: Robert-André Mauchin Date: Jun 27 2019 19:03:22 +0000 Subject: Initial import Signed-off-by: Robert-André Mauchin --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..921df0b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/go-gelf-7ebf4f536d8f52a04bd794e815629ff499325a91.tar.gz diff --git a/golang-github-graylog2-gelf.spec b/golang-github-graylog2-gelf.spec new file mode 100644 index 0000000..3306389 --- /dev/null +++ b/golang-github-graylog2-gelf.spec @@ -0,0 +1,48 @@ +# Generated by go2rpm +%bcond_without check + +# https://github.com/Graylog2/go-gelf +%global goipath github.com/Graylog2/go-gelf +Version: 1.0.0 +%global commit 7ebf4f536d8f52a04bd794e815629ff499325a91 + +%gometa + +%global common_description %{expand: GELF (Graylog Extended Log Format) is an +application-level logging protocol that avoids many of the shortcomings of +syslog. While it can be run over any stream or datagram transport protocol, it +has special support (chunking) to allow long messages to be split over multiple +datagrams.} + +%global golicenses LICENSE +%global godocs README.md + +Name: %{goname} +Release: 1%{?dist} +Summary: GELF library for Go + +License: MIT +URL: %{gourl} +Source0: %{gosource} + +%description +%{common_description} + +%gopkg + +%prep +%goprep + +%install +%gopkginstall + +%if %{with check} +%check +%gocheck +%endif + +%gopkgfiles + +%changelog +* Sun May 05 17:44:35 CEST 2019 Robert-André Mauchin - 1.0.0-1.20190627git7ebf4f5 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..505dbc5 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (go-gelf-7ebf4f536d8f52a04bd794e815629ff499325a91.tar.gz) = ae8a4d5f8950a11573b12db6fa21f1ef547fde992750821ca4f79118651b301ddbbad9bb8e823d9c1af48b855486f459ecd1e5b1c2744b604382d8b9bea5cce4