# Generated by go2rpm %bcond_without check # https://github.com/google/flatbuffers %global goipath github.com/google/flatbuffers Version: 1.11.0 %global tag 1.11.0 %gometa %global common_description %{expand: FlatBuffers is a cross platform serialization library architected for maximum memory efficiency. It allows you to directly access serialized data without parsing/unpacking it first, while still having great forwards/backwards compatibility.} %global golicenses LICENSE.txt %global godocs CONTRIBUTING.md readme.md Name: %{goname} Release: 1%{?dist} Summary: Memory Efficient Serialization Library License: ASL 2.0 URL: %{gourl} Source0: %{gosource} BuildRequires: golang(google.golang.org/grpc) %description %{common_description} %gopkg %prep %goprep # Remove files unrelated to the Go Library find ./* -maxdepth 0 -type d -not -name "go" -and -not -name "_build" -exec rm -rf "{}" \; %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Tue May 14 21:15:25 CEST 2019 Robert-André Mauchin - 1.11.0-1 - Initial package