From f64af49b1da4b2894d39312d1cf577c7dfcd5311 Mon Sep 17 00:00:00 2001
From: Nikos Skalkotos <skalkoto@grnet.gr>
Date: Thu, 1 Nov 2012 18:05:11 +0200
Subject: [PATCH] Add debian packaging files

---
 debian/changelog     |  6 ++++++
 debian/clean         |  1 +
 debian/compat        |  1 +
 debian/control       | 17 +++++++++++++++++
 debian/copyright     | 40 ++++++++++++++++++++++++++++++++++++++++
 debian/docs          |  2 ++
 debian/gbp.conf      |  9 +++++++++
 debian/rules         |  5 +++++
 debian/source/format |  1 +
 9 files changed, 82 insertions(+)
 create mode 100644 debian/changelog
 create mode 100644 debian/clean
 create mode 100644 debian/compat
 create mode 100644 debian/control
 create mode 100644 debian/copyright
 create mode 100644 debian/docs
 create mode 100644 debian/gbp.conf
 create mode 100755 debian/rules
 create mode 100644 debian/source/format

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..5057d58
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+snf-image-creator (0.1.0-1) stable; urgency=low
+
+  * New upstream version
+
+ -- Nikos Skalkotos <skalkoto@grnet.gr>  Thu, 01 Nov 2012 16:09:17 +0200
+
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..435b9b7
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+snf-image-creator.egg-info/*
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..45a4fb7
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+8
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..dd8f964
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,17 @@
+Source: snf-image-creator
+Section: python
+Priority: optional
+Maintainer: Nikos Skalkotos <skalkoto@grnet.gr>
+Build-Depends: debhelper (>= 8), python-all (>= 2.5)
+Standards-Version: 3.9.2
+XS-Python-Version: >= 2.6
+Homepage: https://code.grnet.gr/projects/snf-image-creator
+
+Package: snf-image-creator
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}, python-progress (>=1.0.2), python-ansicolors, python-dialog, kamaki, python-guestfs
+XB-Python-Version: ${python:Versions}
+Description: Synnefo Image Creator
+ snf-image-creator is a command line tool for creating OS images to be used
+ with synnefo.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..e53c10e
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,40 @@
+Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=174&view=co
+Upstream-Name: snf-image-creator
+Upstream-Contact: GRNET development team <synnefo@lists.grnet.gr>
+Source: https://code.grnet.gr/projects/snf-image-creator
+
+Files: *
+Copyright: Copyright (C) 2011, 2012 GRNET S.A.
+Licence: BSD-2-clause
+
+Licence: 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 GRNET S.A. ``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 GRNET S.A 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 GRNET S.A.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..03478c4
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,2 @@
+docs/*.rst
+docs/snapshots/*
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..06a5874
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,9 @@
+[DEFAULT]
+sign-tags = False
+pristine-tar = False
+
+[git-buildpackage]
+export-dir = ../build-area/
+tarball-dir = ../tarballs/
+debian-branch = debian
+upstream-branch = master
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..0bd0b24
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,5 @@
+#!/usr/bin/make -f
+
+%:
+	dh $@ --with python2
+
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)
-- 
GitLab