From 779c47384d432116e5483f47cc68153813532a42 Mon Sep 17 00:00:00 2001 From: Allan LeSage Date: Tue, 17 Oct 2023 22:12:38 +0000 Subject: [PATCH] Add a spec file for RPM building. --- golang-github-farsightsec-go-nmsg_sie.spec | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 golang-github-farsightsec-go-nmsg_sie.spec diff --git a/golang-github-farsightsec-go-nmsg_sie.spec b/golang-github-farsightsec-go-nmsg_sie.spec new file mode 100644 index 0000000..0d8d6c3 --- /dev/null +++ b/golang-github-farsightsec-go-nmsg_sie.spec @@ -0,0 +1,44 @@ +%global debug_package %{nil} + +# https://github.com/farsightsec/go-nmsg_sie +%global goipath github.com/farsightsec/go-nmsg_sie +Version: 0.1.1 + +%gometa + +%global common_description %{expand: +Provides definitions for message types from sie-nmsg for use with the go-nmsg library.} + +%global godocs README.md + +Name: %{goname} +Release: %autorelease +Summary: SIE Message Module for go-nmsg + +License: MPLv2.0 +URL: %{gourl} +Source0: %{gosource} + +%description +%{common_description} + +%gopkg + +%prep +%goprep + +%generate_buildrequires +%go_generate_buildrequires + +%install +%gopkginstall + +%if %{with check} +%check +%gocheck +%endif + +%gopkgfiles + +%changelog +%autochangelog