summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHéctor Orón Martínez <zumbi@debian.org>2018-01-11 11:20:06 +0100
committerHéctor Orón Martínez <zumbi@debian.org>2018-01-11 11:23:21 +0100
commit890d0dd188abc3a7f69d398191376e7971014206 (patch)
tree235760bb548e225651b53d08355d99c86ee9829e
parenta9d069e577820b9279dc2a44afd135d842dc390a (diff)
Initial packaging
Signed-off-by: Héctor Orón Martínez <zumbi@debian.org>
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control24
-rw-r--r--debian/copyright26
-rw-r--r--debian/gbp.conf2
-rwxr-xr-xdebian/rules9
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch4
8 files changed, 72 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..5ed3321
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+golang-github-sjoerdsimons-ostree-go (0.0~git20180110.2a7a255-1) unstable; urgency=medium
+
+ * Initial release (Closes: #886766)
+
+ -- Héctor Orón Martínez <zumbi@debian.org> Thu, 11 Jan 2018 11:19:47 +0100
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..0baabff
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,24 @@
+Source: golang-github-sjoerdsimons-ostree-go
+Section: devel
+Priority: optional
+Maintainer: Debian Go Packaging Team <pkg-go-maintainers@lists.alioth.debian.org>
+Uploaders: Héctor Orón Martínez <zumbi@debian.org>
+Build-Depends: debhelper (>= 10),
+ dh-golang,
+ golang-any,
+ libostree-dev,
+ golang-github-14rcole-gopopulate-dev
+Standards-Version: 4.1.3
+Homepage: https://github.com/sjoerdsimons/ostree-go
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-go/packages/golang-github-sjoerdsimons-ostree-go.git
+Vcs-Git: https://anonscm.debian.org/git/pkg-go/packages/golang-github-sjoerdsimons-ostree-go.git
+XS-Go-Import-Path: github.com/sjoerdsimons/ostree-go
+Testsuite: autopkgtest-pkg-go
+
+Package: golang-github-sjoerdsimons-ostree-go-dev
+Architecture: all
+Depends: ${shlibs:Depends},
+ ${misc:Depends}
+Description: Golang bindings for OSTree
+ OSTree-Go Go bindings for OSTree. Find out more about OSTree here
+ (https://github.com/sjoerdsimons/ostree)
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..5e9855a
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,26 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: ostree-go
+Source: https://github.com/sjoerdsimons/ostree-go
+Files-Excluded: vendor Godeps/_workspace
+
+Files: *
+Copyright: 2016 OSTree Project
+License: ISC
+
+Files: debian/*
+Copyright: 2018 Héctor Orón Martínez <zumbi@debian.org>
+License: ISC
+Comment: Debian packaging is licensed under the same terms as upstream
+
+License: ISC
+ Permission to use, copy, modify, and distribute this software for any
+ purpose with or without fee is hereby granted, provided that the above
+ copyright notice and this permission notice appear in all copies.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
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..6e10ae5
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@ --buildsystem=golang --with=golang
+
+override_dh_auto_test:
+ # Disable auto tests at build time
+ # ostree-go assumes root priviledges as it tests a bare ostree checkout
+ :
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..58853c1
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/golang-github-sjoerdsimons-ostree-go-\$1\.tar\.gz/,\
+uversionmangle=s/(\d)[_\.\-\+]?(RC|rc|pre|dev|beta|alpha)[.]?(\d*)$/\$1~\$2\$3/ \
+ https://github.com/sjoerdsimons/ostree-go/tags .*/v?(\d\S*)\.tar\.gz