Sophie

Sophie

distrib > Mageia > 9 > armv7hl > media > core-release-src > by-pkgid > fd95e2807cd64ffa72e36c7fd156d402 > files > 2

golang-github-rs-cors-1.8.0-2.mga9.src.rpm

# Generated by go2rpm 1.5.0
%bcond_without check

# https://github.com/rs/cors
%global goipath         github.com/rs/cors
Version:                1.8.0

%gometa

%global common_description %{expand:
CORS is a net/http handler implementing Cross Origin Resource Sharing W3
specification in Golang.}

%global golicenses      LICENSE
%global godocs          examples README.md

Name:           %{goname}
Release:        %mkrel 2
Summary:        Go net/http configurable handler to handle CORS requests
Group:          Development/Other

License:        MIT
URL:            %{gourl}
Source0:        %{gosource}
BuildArch:      noarch

BuildRequires:  golang(github.com/codegangsta/negroni)
BuildRequires:  golang(github.com/gin-gonic/gin)
BuildRequires:  golang(github.com/go-chi/chi)
BuildRequires:  golang(github.com/go-martini/martini)
# Only in examples and with lots of cyclic deps
# BuildRequires:  golang(github.com/gobuffalo/buffalo)
# BuildRequires:  golang(github.com/gobuffalo/buffalo/render)
BuildRequires:  golang(github.com/gorilla/mux)
BuildRequires:  golang(github.com/julienschmidt/httprouter)
BuildRequires:  golang(github.com/justinas/alice)
BuildRequires:  golang(github.com/martini-contrib/render)
BuildRequires:  golang(github.com/zenazn/goji)

%description
%{common_description}

%gopkg

%prep
%goprep

%install
%gopkginstall

%if %{with check}
%check
%gocheck
%endif

%gopkgfiles


%changelog
* Wed Apr 06 2022 umeabot <umeabot> 1.8.0-2.mga9
+ Revision: 1845574
- Mageia 9 Mass Rebuild

* Tue Nov 23 2021 guillomovitch <guillomovitch> 1.8.0-1.mga9
+ Revision: 1758941
- imported package golang-github-rs-cors