From 25a90630b910437b8e0b17853383abae4429da7a Mon Sep 17 00:00:00 2001 From: Robert-André Mauchin Date: Jun 30 2019 20:53:10 +0000 Subject: Initial import Signed-off-by: Robert-André Mauchin --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fe9f1bd --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/graceful-1.2.15.tar.gz diff --git a/golang-gopkg-tylerb-graceful-1.spec b/golang-gopkg-tylerb-graceful-1.spec new file mode 100644 index 0000000..3b26b6c --- /dev/null +++ b/golang-gopkg-tylerb-graceful-1.spec @@ -0,0 +1,55 @@ +# Generated by go2rpm +%bcond_without check + +# https://github.com/tylerb/graceful +%global goipath gopkg.in/tylerb/graceful.v1 +%global forgeurl https://github.com/tylerb/graceful +Version: 1.2.15 + +%gometa + +%global goaltipaths github.com/tylerb/graceful + +%global common_description %{expand:+ +Graceful is a Go 1.3+ package enabling graceful shutdown of http.Handler +servers.} + +%global golicenses LICENSE +%global godocs README.md + +Name: %{goname} +Release: 1%{?dist} +Summary: Go package enabling graceful shutdown of an http.Handler server + +License: MIT +URL: %{gourl} +Source0: %{gosource} + +BuildRequires: golang(github.com/urfave/negroni) + +%if %{with check} +# Tests +BuildRequires: golang(golang.org/x/net/http2) +%endif + +%description +%{common_description} + +%gopkg + +%prep +%goprep + +%install +%gopkginstall + +%if %{with check} +%check +%gocheck +%endif + +%gopkgfiles + +%changelog +* Tue May 14 14:15:52 CEST 2019 Robert-André Mauchin - 1.2.15-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..7493a4f --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (graceful-1.2.15.tar.gz) = f3a3ab76ff0b53067d0c28d87b6bbd71fbfd092f3c27af32c645bf04af3ed598637937867b7d9eff7563381b60356b38afd8a819221c795ad3695125c6801fd5