Created
March 15, 2016 09:19
-
-
Save tkuchiki/ad31dadaa038c58adb27 to your computer and use it in GitHub Desktop.
go-nginx-oauth2-adapter.spec
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Summary: Authentication via nginx with ngx_http_auth_request_module, or h2o with mruby | |
Name: go-nginx-oauth2-adapter | |
Version: 0.1.0 | |
Release: 1%{?dist} | |
License: MIT | |
Group: Applications/Services | |
URL: https://github.com/shogo82148/go-nginx-oauth2-adapter | |
%description | |
Authentication via nginx with ngx_http_auth_request_module, or h2o with mruby. | |
%install | |
%{__rm} -rf %{buildroot} | |
export GOPATH=$(pwd) | |
export PATH=$(pwd)/bin:${PATH} | |
go get github.com/shogo82148/go-nginx-oauth2-adapter/cli/go-nginx-oauth2-adapter | |
install -p -D -m 0755 bin/%{name} %{buildroot}%{_bindir}/%{name} | |
%files | |
%{_bindir}/%{name} | |
%clean | |
%{__rm} -rf %{buildroot} | |
%changelog | |
* Tue Mar 15 2016 tkuchiki - 0.1.0-1 | |
- Initial package |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment