diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 00000000..9b9ec750 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +gdrive (2.1.1+git20210529.fb08fe2-1) unstable; urgency=medium + + * Initial release + + -- Andras Elso Mon, 29 Oct 2018 11:34:36 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 00000000..b4de3947 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +11 diff --git a/debian/control b/debian/control new file mode 100644 index 00000000..107d6f13 --- /dev/null +++ b/debian/control @@ -0,0 +1,19 @@ +Source: gdrive +Section: devel +Priority: optional +Maintainer: Petter Rasmussen +Build-Depends: debhelper (>= 11), + dh-golang, + golang-any +Standards-Version: 4.2.1 +Homepage: https://github.com/prasmussen/gdrive +XS-Go-Import-Path: github.com/prasmussen/gdrive +Testsuite: autopkgtest-pkg-go + +Package: gdrive +Architecture: any +Built-Using: ${misc:Built-Using} +Depends: ${misc:Depends}, + ${shlibs:Depends} +Description: Google Drive CLI Client + gdrive is a command line utility for interacting with Google Drive. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 00000000..f5711508 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,30 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: gdrive +Source: https://github.com/prasmussen/gdrive + +Files: * +Copyright: 2013 Petter Rasmussen +License: MIT + +Files: debian/* +Copyright: 2021 Andras Elso +License: MIT + +License: MIT + 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. diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 00000000..cec628c7 --- /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 00000000..95bf2744 --- /dev/null +++ b/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f + +export CGO_ENABLED := 0 +export GO111MODULE := on +export GOPROXY := https://proxy.golang.org +export GOCACHE := /tmp/.cache + +override_dh_auto_install: + dh_auto_install -- --no-source + +%: + dh $@ --buildsystem=golang --with=golang diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 00000000..163aaf8d --- /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 00000000..f51eb197 --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +version=4 +opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/reflex-\$1\.tar\.gz/,\ +uversionmangle=s/(\d)[_\.\-\+]?(RC|rc|pre|dev|beta|alpha)[.]?(\d*)$/\$1~\$2\$3/ \ + https://github.com/prasmussen/gdrive/tags .*/v?(\d\S*)\.tar\.gz