initial debian packaging

parent b78c56bf
golang-github-tj-go-spin (1.1.0-1) unstable; urgency=medium
* Initial release (Closes: #885253)
-- Alexandre Viau <aviau@debian.org> Mon, 25 Dec 2017 23:33:44 -0500
Source: golang-github-tj-go-spin
Section: devel
Priority: optional
Maintainer: Debian Go Packaging Team <pkg-go-maintainers@lists.alioth.debian.org>
Uploaders: Alexandre Viau <aviau@debian.org>
Build-Depends: debhelper (>= 10),
dh-golang,
golang-any
Standards-Version: 4.1.1
Homepage: https://github.com/tj/go-spin
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-go/packages/golang-github-tj-go-spin.git
Vcs-Git: https://anonscm.debian.org/git/pkg-go/packages/golang-github-tj-go-spin.git
XS-Go-Import-Path: github.com/tj/go-spin
Testsuite: autopkgtest-pkg-go
Package: golang-github-tj-go-spin-dev
Architecture: all
Depends: ${shlibs:Depends},
${misc:Depends}
Description: terminal spinner package for Golang
go-spin is a terminal spinner package for Golang
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: go-spin
Source: https://github.com/tj/go-spin
Files-Excluded: vendor Godeps/_workspace
Files: *
Copyright: 2014 TJ Holowaychuk <tj@vision-media.ca>
License: Expat
Comment: Contacted upstream to confirm: https://github.com/tj/go-spin/pull/12
Until we have a response, I think that it is safe to assume that MIT means
Expat.
Files: debian/*
Copyright: 2017 Alexandre Viau <aviau@debian.org>
License: Expat
Comment: Debian packaging is licensed under the same terms as upstream
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.
[DEFAULT]
pristine-tar = True
#!/usr/bin/make -f
export DH_GOLANG_EXCLUDES := example
%:
dh $@ --buildsystem=golang --with=golang
version=3
opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/golang-github-tj-go-spin-\$1\.tar\.gz/,\
uversionmangle=s/(\d)[_\.\-\+]?(RC|rc|pre|dev|beta|alpha)[.]?(\d*)$/\$1~\$2\$3/ \
https://github.com/tj/go-spin/tags .*/v?(\d\S*)\.tar\.gz
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment