diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..e3d8802 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +golang-github-nlopes-slack (0.1.0-1) unstable; urgency=medium + + * Initial release (Closes: #892804) + + -- Nobuhiro Iwamatsu Tue, 12 Dec 2017 11:49:54 +0900 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..4454bb1 --- /dev/null +++ b/debian/control @@ -0,0 +1,27 @@ +Source: golang-github-nlopes-slack +Section: devel +Priority: optional +Maintainer: Debian Go Packaging Team +Uploaders: Nobuhiro Iwamatsu +Build-Depends: debhelper (>= 9), + dh-golang, + golang-any, + golang-github-stretchr-testify-dev, + golang-golang-x-net-dev +Standards-Version: 4.1.1 +Homepage: https://github.com/nlopes/slack +Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-nlopes-slack +Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-nlopes-slack.git +XS-Go-Import-Path: github.com/nlopes/slack +Testsuite: autopkgtest-pkg-go + +Package: golang-github-nlopes-slack-dev +Architecture: all +Depends: ${shlibs:Depends}, + ${misc:Depends}, + golang-github-stretchr-testify-dev, + golang-golang-x-net-dev +Description: Go library for Slack API + This library supports most if not all of the `api.slack.com` REST + calls, as well as the Real-Time Messaging protocol over websocket, in + a fully managed way. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..6d5abdf --- /dev/null +++ b/debian/copyright @@ -0,0 +1,38 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: slack +Source: https://github.com/nlopes/slack +# Files-Excluded: vendor Godeps/_workspace + +Files: * +Copyright: 2015 Norberto Lopes +License: BSD-2-Clause + +Files: debian/* +Copyright: 2017 Nobuhiro Iwamatsu +License: BSD-2-Clause +Comment: Debian packaging is licensed under the same terms as upstream + +License: BSD-2-Clause + Copyright (c) 2015, Norberto Lopes + All rights reserved. + . + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + . + 1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + . + 2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation and/or + other materials provided with the distribution. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR + ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 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..056a2e3 --- /dev/null +++ b/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f + +%: + dh $@ --buildsystem=golang --with=golang + +override_dh_auto_install: + dh_auto_install + + rm -rf debian/golang-github-nlopes-slack-dev/usr/bin 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..a8543c4 --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +version=3 +opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/golang-github-nlopes-slack-\$1\.tar\.gz/,\ +uversionmangle=s/(\d)[_\.\-\+]?(RC|rc|pre|dev|beta|alpha)[.]?(\d*)$/\$1~\$2\$3/ \ + https://github.com/nlopes/slack/tags .*/v?(\d\S*)\.tar\.gz