Blame golang-github-gin-gonic.spec

da8e48d
# Generated by go2rpm
da8e48d
%bcond_without check
da8e48d
da8e48d
# https://github.com/gin-gonic/gin
da8e48d
%global goipath         github.com/gin-gonic/gin
da8e48d
Version:                1.3.0
da8e48d
da8e48d
%gometa
da8e48d
da8e48d
%global common_description %{expand:
da8e48d
Gin is a web framework written in Go. It features a martini-like API with much
da8e48d
better performance, up to 40 times faster thanks to httprouter. If you need
da8e48d
performance and good productivity, you will love Gin.}
da8e48d
da8e48d
%global golicenses      LICENSE
da8e48d
%global godocs          examples AUTHORS.md BENCHMARKS.md CHANGELOG.md\\\
da8e48d
                        CODE_OF_CONDUCT.md CONTRIBUTING.md README.md
da8e48d
da8e48d
Name:           %{goname}
da8e48d
Release:        1%{?dist}
da8e48d
Summary:        HTTP web framework written in Go
da8e48d
da8e48d
License:        MIT
da8e48d
URL:            %{gourl}
da8e48d
Source0:        %{gosource}
da8e48d
da8e48d
BuildRequires:  golang(github.com/dustin/go-broadcast)
da8e48d
BuildRequires:  golang(github.com/gin-contrib/sse)
da8e48d
BuildRequires:  golang(github.com/gin-gonic/autotls)
da8e48d
BuildRequires:  golang(github.com/golang/protobuf/proto)
da8e48d
BuildRequires:  golang(github.com/jessevdk/go-assets)
da8e48d
BuildRequires:  golang(github.com/manucorporat/stats)
da8e48d
BuildRequires:  golang(github.com/mattn/go-isatty)
da8e48d
# Cyclic. Only in examples
da8e48d
# BuildRequires:  golang(github.com/thinkerou/favicon)
da8e48d
BuildRequires:  golang(github.com/ugorji/go/codec)
da8e48d
BuildRequires:  golang(golang.org/x/crypto/acme/autocert)
da8e48d
BuildRequires:  golang(golang.org/x/net/context)
da8e48d
BuildRequires:  golang(golang.org/x/sync/errgroup)
da8e48d
BuildRequires:  golang(google.golang.org/grpc)
da8e48d
BuildRequires:  golang(google.golang.org/grpc/reflection)
da8e48d
BuildRequires:  golang(gopkg.in/go-playground/validator.v8)
da8e48d
BuildRequires:  golang(gopkg.in/yaml.v2)
da8e48d
da8e48d
%if %{with check}
da8e48d
# Tests
da8e48d
BuildRequires:  golang(github.com/stretchr/testify/assert)
da8e48d
%endif
da8e48d
da8e48d
%description
da8e48d
%{common_description}
da8e48d
da8e48d
%gopkg
da8e48d
da8e48d
%prep
da8e48d
%goprep
da8e48d
da8e48d
%install
da8e48d
%gopkginstall
da8e48d
da8e48d
%if %{with check}
da8e48d
%check
da8e48d
%gocheck
da8e48d
%endif
da8e48d
da8e48d
%gopkgfiles
da8e48d
da8e48d
%changelog
da8e48d
* Tue Apr 30 14:45:15 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 1.3.0-1
da8e48d
- Initial package