diff options
author | Andrew Shadura <andrewsh@debian.org> | 2017-09-22 17:42:02 +0200 |
---|---|---|
committer | Andrew Shadura <andrewsh@debian.org> | 2017-09-25 08:22:18 +0200 |
commit | 5daa4a68339fa697d70f3f91fce954d5931061bd (patch) | |
tree | d4aade79263a021bb74d02f07cc5c14782cb0144 | |
parent | fb2783bc10e51d2bcd5b03f4f4262ee441a905c4 (diff) |
Initial packaging.
-rw-r--r-- | debian/changelog | 5 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 28 | ||||
-rw-r--r-- | debian/copyright | 29 | ||||
-rw-r--r-- | debian/gbp.conf | 2 | ||||
-rwxr-xr-x | debian/rules | 4 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/watch | 4 |
8 files changed, 74 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..e26371e --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +golang-github-emicklei-go-restful-swagger12 (1.0.1-1) unstable; urgency=medium + + * Initial release. + + -- Andrew Shadura <andrewsh@debian.org> Mon, 25 Sep 2017 08:21:28 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..f599e28 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +10 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..75b0445 --- /dev/null +++ b/debian/control @@ -0,0 +1,28 @@ +Source: golang-github-emicklei-go-restful-swagger12 +Section: devel +Priority: optional +Maintainer: Debian Go Packaging Team <pkg-go-maintainers@lists.alioth.debian.org> +Uploaders: Andrew Shadura <andrewsh@debian.org> +Build-Depends: debhelper (>= 10), + dh-golang, + golang-any, + golang-github-emicklei-go-restful-dev +Standards-Version: 4.1.0 +Homepage: https://github.com/emicklei/go-restful-swagger12 +Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/golang-github-emicklei-go-restful-swagger12.git +Vcs-Git: https://anonscm.debian.org/git/collab-maint/golang-github-emicklei-go-restful-swagger12.git +XS-Go-Import-Path: github.com/emicklei/go-restful-swagger12 + +Package: golang-github-emicklei-go-restful-swagger12-dev +Architecture: all +Depends: ${shlibs:Depends}, + ${misc:Depends}, + golang-github-emicklei-go-restful-dev +Description: Swagger 1.2 extension to the go-restful package + Go-restful is a package for building REST-style Web Services using Google + Go. REST asks developers to use HTTP methods explicitly and in a way + that's consistent with the protocol definition. This basic REST design + principle establishes a one-to-one mapping between create, read, update, + and delete (CRUD) operations and HTTP methods. + . + This package provides Swagger UI 1.2 support for go-restful. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..191a310 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,29 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: go-restful-swagger12 +Source: https://github.com/emicklei/go-restful-swagger12 + +Files: * +Copyright: 2017 Ernest Micklei +License: Expat + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + . + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +Files: debian/* +Copyright: 2017 Andrew Shadura <andrewsh@debian.org> +License: Expat diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..cec628c --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,2 @@ +[DEFAULT] +pristine-tar = True diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..8cce5e0 --- /dev/null +++ b/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ --buildsystem=golang --with=golang diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..3e7f2e9 --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +version=3 +opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/golang-github-emicklei-go-restful-swagger12-\$1\.tar\.gz/,\\ +uversionmangle=s/(\d)[_\.\-\+]?(RC|rc|pre|dev|beta|alpha)[.]?(\d*)$/\$1~\$2\$3/ \\ + https://github.com/emicklei/go-restful-swagger12/tags .*/v?(\d\S*)\.tar\.gz |