]> git.tdb.fi Git - ext/subsurface.git/commitdiff
Add Debian packaging
authorRoland Dreier <roland@digitalvampire.org>
Mon, 31 Oct 2011 20:05:56 +0000 (13:05 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 1 Nov 2011 00:06:41 +0000 (17:06 -0700)
Add support for building .deb packages; to use, one can do

    $ cp -r packaging/debian debian
    $ dpkg-buildpackage -b

This of course requires a libdivecomputer package as a build prerequisite.

Signed-off-by: Roland Dreier <roland@digitalvampire.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
packaging/debian/changelog [new file with mode: 0644]
packaging/debian/compat [new file with mode: 0644]
packaging/debian/control [new file with mode: 0644]
packaging/debian/copyright [new file with mode: 0644]
packaging/debian/rules [new file with mode: 0755]
packaging/debian/source/format [new file with mode: 0644]

diff --git a/packaging/debian/changelog b/packaging/debian/changelog
new file mode 100644 (file)
index 0000000..875e3eb
--- /dev/null
@@ -0,0 +1,5 @@
+subsurface (1.1-20111026-git036fccd3-1) unstable; urgency=low
+
+  * Initial release.
+
+ -- Roland Dreier <roland@digitalvampire.org>  Tue, 25 Oct 2011 14:24:12 -0700
diff --git a/packaging/debian/compat b/packaging/debian/compat
new file mode 100644 (file)
index 0000000..45a4fb7
--- /dev/null
@@ -0,0 +1 @@
+8
diff --git a/packaging/debian/control b/packaging/debian/control
new file mode 100644 (file)
index 0000000..7c2aa36
--- /dev/null
@@ -0,0 +1,15 @@
+Source: subsurface
+Priority: optional
+Maintainer: Roland Dreier <roland@digitalvampire.org>
+Build-Depends: autoconf, automake, libtool, debhelper (>= 8), dh-autoreconf,
+ pkg-config, libgtk2.0-dev, libgconf2-dev, libxml2-dev, libdivecomputer-dev
+Standards-Version: 3.9.2
+Section: utils
+Homepage: http://subsurface.hohndel.org
+
+Package: subsurface
+Section: utils
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: simple dive log program written in C
+ Subsurface is a simple dive log program written in C.
diff --git a/packaging/debian/copyright b/packaging/debian/copyright
new file mode 100644 (file)
index 0000000..cd049e0
--- /dev/null
@@ -0,0 +1,17 @@
+Initial Debianization:
+This package was debianized by Roland Dreier <roland@digitalvampire.org> on
+Tue, 25 Oct 2011 04:22:07 -0700.
+
+It was downloaded from git://subsurface.hohndel.org/subsurface.git
+
+Copyright:
+
+Copyright 2011 Linus Torvalds
+Copyright 2011 Dirk Hohndel
+
+License:
+
+GPLv2
+
+On Debian systems, the complete text of the GNU General Public License
+version 2 can be found in the file '/usr/share/common-licenses/GPL-2'
diff --git a/packaging/debian/rules b/packaging/debian/rules
new file mode 100755 (executable)
index 0000000..e984e9b
--- /dev/null
@@ -0,0 +1,5 @@
+#!/usr/bin/make -f
+# -*- mode: makefile; coding: utf-8 -*-
+
+%:
+       dh $@
diff --git a/packaging/debian/source/format b/packaging/debian/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)