From 06ddeba47ee75e4ac0ca96e75e8b01b1fb9a60c9 Mon Sep 17 00:00:00 2001 From: Roland Dreier Date: Mon, 31 Oct 2011 13:05:56 -0700 Subject: [PATCH] Add Debian packaging 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 Signed-off-by: Linus Torvalds --- packaging/debian/changelog | 5 +++++ packaging/debian/compat | 1 + packaging/debian/control | 15 +++++++++++++++ packaging/debian/copyright | 17 +++++++++++++++++ packaging/debian/rules | 5 +++++ packaging/debian/source/format | 1 + 6 files changed, 44 insertions(+) create mode 100644 packaging/debian/changelog create mode 100644 packaging/debian/compat create mode 100644 packaging/debian/control create mode 100644 packaging/debian/copyright create mode 100755 packaging/debian/rules create mode 100644 packaging/debian/source/format diff --git a/packaging/debian/changelog b/packaging/debian/changelog new file mode 100644 index 0000000..875e3eb --- /dev/null +++ b/packaging/debian/changelog @@ -0,0 +1,5 @@ +subsurface (1.1-20111026-git036fccd3-1) unstable; urgency=low + + * Initial release. + + -- Roland Dreier Tue, 25 Oct 2011 14:24:12 -0700 diff --git a/packaging/debian/compat b/packaging/debian/compat new file mode 100644 index 0000000..45a4fb7 --- /dev/null +++ b/packaging/debian/compat @@ -0,0 +1 @@ +8 diff --git a/packaging/debian/control b/packaging/debian/control new file mode 100644 index 0000000..7c2aa36 --- /dev/null +++ b/packaging/debian/control @@ -0,0 +1,15 @@ +Source: subsurface +Priority: optional +Maintainer: Roland Dreier +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 index 0000000..cd049e0 --- /dev/null +++ b/packaging/debian/copyright @@ -0,0 +1,17 @@ +Initial Debianization: +This package was debianized by Roland Dreier 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 index 0000000..e984e9b --- /dev/null +++ b/packaging/debian/rules @@ -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 index 0000000..163aaf8 --- /dev/null +++ b/packaging/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) -- 2.43.0