Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions golang-github-farsightsec-go-nmsg.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
%global debug_package %{nil}

# https://github.com/farsightsec/go-nmsg
%global goipath github.com/farsightsec/go-nmsg
Version: 0.3.0

%gometa

%global common_description %{expand:
Pure go implementation of the NMSG container and payload format used by the C nmsg toolkit and library.}

%global golicences LICENSE
%global godocs README.md

Name: %{goname}
Release: %autorelease
Summary: Pure Golang NMSG Library

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