Commit 942ab192 authored by Sascha Steinbiss's avatar Sascha Steinbiss

initial packaging

parent 3492c0f0
golang-github-vimeo-go-magic (0.0~git20180208.aff138d-1) unstable; urgency=medium
* Initial release (Closes: #895891)
-- Sascha Steinbiss <satta@debian.org> Tue, 17 Apr 2018 12:09:30 +0200
Source: golang-github-vimeo-go-magic
Section: devel
Priority: optional
Maintainer: Debian Go Packaging Team <pkg-go-maintainers@lists.alioth.debian.org>
Uploaders: Sascha Steinbiss <satta@debian.org>
Build-Depends: debhelper (>= 11),
dh-golang,
golang-any,
libmagic-dev
Standards-Version: 4.1.4
Homepage: https://github.com/vimeo/go-magic
Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-vimeo-go-magic
Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-vimeo-go-magic.git
XS-Go-Import-Path: github.com/vimeo/go-magic
Testsuite: autopkgtest-pkg-go
Package: golang-github-vimeo-go-magic-dev
Architecture: all
Depends: ${misc:Depends},
libmagic-dev
Description: Go bindings for libmagic
Go-magic is a Golang library that wraps libmagic and provides API functions
for file type detection. It also provides an API for getting a file's MIME
type using libmagic.
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: go-magic
Source: https://github.com/vimeo/go-magic
Files-Excluded:
Godeps/_workspace
Files: *
Copyright: 2014 Vimeo, LLC
License: BSD-2-clause
Files: debian/*
Copyright: 2018 Sascha Steinbiss <satta@debian.org>
License: BSD-2-clause
Comment: Debian packaging is licensed under the same terms as upstream
License: BSD-2-clause
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 OWNER 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.
.
The views and conclusions contained in the software and documentation are those
of the authors and should not be interpreted as representing official policies,
either expressed or implied, of Vimeo, LLC.
\ No newline at end of file
[DEFAULT]
pristine-tar = True
#!/usr/bin/make -f
%:
dh $@ --buildsystem=golang --with=golang
version=3
opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/golang-github-vimeo-go-magic-\$1\.tar\.gz/,\
uversionmangle=s/(\d)[_\.\-\+]?(RC|rc|pre|dev|beta|alpha)[.]?(\d*)$/\$1~\$2\$3/ \
https://github.com/vimeo/go-magic/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