diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0bc3aa7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/grpc-11d0a25b491971beb5a4625ea7856a3c4afaafa5.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index ee72097..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# golang-grpc-go4 - -The golang-grpc-go4 package \ No newline at end of file diff --git a/golang-grpc-go4org.spec b/golang-grpc-go4org.spec new file mode 100644 index 0000000..e1f65e9 --- /dev/null +++ b/golang-grpc-go4org.spec @@ -0,0 +1,71 @@ +# Run tests in check section +# disable for bootstrapping +%bcond_with check + +%global goipath grpc.go4.org +%global forgeurl https://github.com/go4org/grpc +%global commit 11d0a25b491971beb5a4625ea7856a3c4afaafa5 + +%global common_description %{expand: +Experimental branch of gRPC: a high performance, open source, general RPC +framework.} + +%gometa + +Name: %{goname} +Version: 0 +Release: 0.1%{?dist} +Summary: A high performance, open source, general RPC framework +License: BSD +URL: %{gourl} +Source0: %{gosource} + +BuildRequires: golang(github.com/golang/glog) +BuildRequires: golang(github.com/golang/protobuf/proto) +BuildRequires: golang(github.com/golang/protobuf/protoc-gen-go/descriptor) +BuildRequires: golang(golang.org/x/net/http2) +BuildRequires: golang(golang.org/x/net/http2/hpack) +BuildRequires: golang(golang.org/x/net/trace) +BuildRequires: golang(golang.org/x/oauth2) +BuildRequires: golang(golang.org/x/oauth2/google) +BuildRequires: golang(golang.org/x/oauth2/jwt) + +%description +%{common_description} + + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel +%{common_description} + +This package contains library source intended for +building other packages which use import path with +%{goipath} prefix. + + +%prep +%forgeautosetup + + +%install +%goinstall + + +%if %{with check} +%check +%gochecks -r "clientconn_test\.go" +%endif + + +%files devel -f devel.file-list +%license LICENSE +%doc README.md PATENTS CONTRIBUTING.md + + +%changelog +* Thu Mar 22 2018 Robert-André Mauchin - 0-0.1-20180421git11d0a25 +- First package for Fedora + diff --git a/sources b/sources new file mode 100644 index 0000000..c1a7739 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (grpc-11d0a25b491971beb5a4625ea7856a3c4afaafa5.tar.gz) = 86baabcf74b7cb21997d6efe15c96e90a2577c7622b08a7a29f54a214ef0750d6fe9e7116cd9191cf43b63d481b3aa7a69565d697867d2c14b6587c18214ad61