# Generated by go2rpm %bcond_without check # https://github.com/google/trillian %global goipath github.com/google/trillian Version: 1.2.1 %gometa %global common_description %{expand: Trillian is an implementation of the concepts described in the Verifiable Data Structures white paper, which in turn is an extension and generalisation of the ideas which underpin Certificate Transparency. Trillian implements a Merkle tree whose contents are served from a data storage layer, to allow scalability to extremely large trees.} %global golicenses LICENSE %global godocs docs examples CONTRIBUTING.md AUTHORS CHANGELOG.md\\\ CONTRIBUTORS README.md Name: %{goname} Release: 1%{?dist} Summary: Transparent, highly scalable and cryptographically verifiable data store # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} BuildRequires: golang(bitbucket.org/creachadair/shell) BuildRequires: golang(cloud.google.com/go/spanner) BuildRequires: golang(contrib.go.opencensus.io/exporter/stackdriver) BuildRequires: golang(github.com/benlaurie/objecthash/go/objecthash) BuildRequires: golang(go.etcd.io/etcd/clientv3) BuildRequires: golang(go.etcd.io/etcd/clientv3/concurrency) BuildRequires: golang(go.etcd.io/etcd/clientv3/naming) BuildRequires: golang(go.etcd.io/etcd/embed) BuildRequires: golang(github.com/go-sql-driver/mysql) BuildRequires: golang(github.com/golang/glog) BuildRequires: golang(github.com/golang/mock/gomock) BuildRequires: golang(github.com/golang/protobuf/proto) BuildRequires: golang(github.com/golang/protobuf/ptypes) BuildRequires: golang(github.com/golang/protobuf/ptypes/any) BuildRequires: golang(github.com/golang/protobuf/ptypes/duration) BuildRequires: golang(github.com/golang/protobuf/ptypes/empty) BuildRequires: golang(github.com/golang/protobuf/ptypes/timestamp) BuildRequires: golang(github.com/google/btree) BuildRequires: golang(github.com/google/certificate-transparency-go) BuildRequires: golang(github.com/google/certificate-transparency-go/client) BuildRequires: golang(github.com/google/certificate-transparency-go/jsonclient) BuildRequires: golang(github.com/google/certificate-transparency-go/tls) BuildRequires: golang(github.com/google/certificate-transparency-go/x509) BuildRequires: golang(github.com/grpc-ecosystem/go-grpc-middleware) BuildRequires: golang(github.com/grpc-ecosystem/grpc-gateway/runtime) BuildRequires: golang(github.com/grpc-ecosystem/grpc-gateway/utilities) BuildRequires: golang(github.com/kylelemons/godebug/pretty) BuildRequires: golang(github.com/prometheus/client_golang/prometheus) BuildRequires: golang(github.com/prometheus/client_golang/prometheus/promhttp) BuildRequires: golang(github.com/prometheus/client_model/go) BuildRequires: golang(go.opencensus.io/plugin/ocgrpc) BuildRequires: golang(go.opencensus.io/plugin/ochttp) BuildRequires: golang(go.opencensus.io/stats/view) BuildRequires: golang(go.opencensus.io/trace) BuildRequires: golang(golang.org/x/net/context) BuildRequires: golang(google.golang.org/genproto/googleapis/api/annotations) BuildRequires: golang(google.golang.org/genproto/googleapis/rpc/status) BuildRequires: golang(google.golang.org/genproto/protobuf/field_mask) BuildRequires: golang(google.golang.org/grpc) BuildRequires: golang(google.golang.org/grpc/codes) BuildRequires: golang(google.golang.org/grpc/credentials) BuildRequires: golang(google.golang.org/grpc/grpclog) BuildRequires: golang(google.golang.org/grpc/naming) BuildRequires: golang(google.golang.org/grpc/reflection) BuildRequires: golang(google.golang.org/grpc/status) %if %{with check} # Tests BuildRequires: golang(github.com/google/certificate-transparency-go/x509/pkix) BuildRequires: golang(google.golang.org/genproto/googleapis/rpc/code) %endif %description %{common_description} %gopkg %prep %goprep find . -name "*.go" -exec sed -i "s|github.com/coreos/etcd|go.etcd.io/etcd|" "{}" +; %install %gopkginstall %if %{with check} %check # client/rpcflags, cmd/get_tree_public_key, storage/testdb: needs network %gocheck -d client/rpcflags \ -d cmd/get_tree_public_key \ -d server \ -d storage/testdb \ -d util/election %endif %gopkgfiles %changelog * Tue May 07 00:14:00 CEST 2019 Robert-André Mauchin - 1.2.1-1 - Initial package