diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c74251d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/chirpstack-api-3.7.7.tar.gz diff --git a/golang-github-brocaar-chirpstack-api.spec b/golang-github-brocaar-chirpstack-api.spec new file mode 100644 index 0000000..29f0f2c --- /dev/null +++ b/golang-github-brocaar-chirpstack-api.spec @@ -0,0 +1,53 @@ +# Generated by go2rpm 1 +%bcond_without check + +# https://github.com/brocaar/chirpstack-api +%global goipath github.com/brocaar/chirpstack-api +Version: 3.7.7 + +%gometa + +%global common_description %{expand: +ChirpStack gRPC API message and service wrappers for Go.} + +Name: %{goname} +Release: 1%{?dist} +Summary: Chirpstack Go API + +License: MIT + +URL: %{gourl} +Source0: %{gosource} + +BuildRequires: golang(github.com/golang/protobuf/descriptor) +BuildRequires: golang(github.com/golang/protobuf/proto) +BuildRequires: golang(github.com/golang/protobuf/ptypes/duration) +BuildRequires: golang(github.com/golang/protobuf/ptypes/empty) +BuildRequires: golang(github.com/golang/protobuf/ptypes/timestamp) +# Package was renamed sometime ago +BuildRequires: golang-github-grpc-ecosystem-gateway-devel +BuildRequires: golang(google.golang.org/genproto/googleapis/api/annotations) +BuildRequires: golang(google.golang.org/grpc) + +%description +%{common_description} + +%gopkg + +%prep +%goprep + +%install +%gopkginstall + +%if %{with check} +%check +%gocheck +%endif + +%gopkgfiles + +%changelog +* Tue Sep 01 2020 Fabian Affolter - 3.7.7-1 +- Initial package for Fedora + diff --git a/sources b/sources new file mode 100644 index 0000000..d4dfae1 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (chirpstack-api-3.7.7.tar.gz) = 8d8745ab83d1fb875b668dc1e4887c212e538753b82e4e7637103adb685d0f1444e1718ef3217003414f1430feb85a189ef8732e6981584898e5dea4d430badb