Initial debian packaging.
authorMichael Prokop <mika@grml.org>
Mon, 17 May 2010 11:35:29 +0000 (13:35 +0200)
committerMichael Prokop <mika@grml.org>
Mon, 17 May 2010 11:35:29 +0000 (13:35 +0200)
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/source/format [new file with mode: 0644]

diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..b33f173
--- /dev/null
@@ -0,0 +1,5 @@
+grml-unittests (0.0.1~pre1) UNRELEASED; urgency=low
+
+  * Initial release.
+
+ -- Michael Prokop <mika@grml.org>  Mon, 17 May 2010 13:23:12 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7ed6ff8
--- /dev/null
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..c4edef6
--- /dev/null
@@ -0,0 +1,19 @@
+Source: grml-unittests
+Section: misc
+Priority: optional
+Maintainer: Michael Prokop <mika@grml.org>
+Build-Depends: debhelper (>= 5)
+Build-Depends-Indep: asciidoc, docbook-xsl, xsltproc
+Standards-Version: 3.8.4
+Homepage: http://grml.org/unittests/
+Vcs-Browser: http://git.grml.org/?p=grml-unittests.git
+Vcs-Git: git://git.grml.org/grml-unittests.git
+
+Package: grml-unittests
+Architecture: all
+Depends: ${misc:Depends}, kvm, python, zsh
+Recommends: xvnc4viewer | vnc-viewer
+Description: Debian Live initramfs hook
+ grml-unittests is a framework providing unit tests
+ for testing Grml features as well as any other software
+ that is running on top of Grml.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..fc00fc3
--- /dev/null
@@ -0,0 +1,23 @@
+Author: Ulrich Dangel <mru@grml.org>
+Download: http://git.grml.org/?p=grml-unittests.git
+
+Files: *
+Copyright:
+ (C) 2010 Ulrich Dangel <mru@grml.org>
+ (C) 2010 Michael Prokop <mika@grml.org>
+License: GPL-3+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General Public License
+ can be found in /usr/share/common-licenses/GPL-3 file.
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..d346d1e
--- /dev/null
@@ -0,0 +1,59 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+build: build-stamp
+build-stamp:
+       dh_testdir
+
+       # Building package
+       #$(MAKE) -C manpages
+
+       touch build-stamp
+
+clean:
+       dh_testdir
+       dh_testroot
+       rm -f build-stamp
+
+       # Cleaning package
+       #$(MAKE) -C manpages clean
+
+       dh_clean
+
+install: build
+       dh_testdir
+       dh_testroot
+       dh_clean -k
+       dh_installdirs usr/share/grml-unittests
+
+       # Installing package
+       #$(MAKE) install DESTDIR=$(CURDIR)/debian/live-initramfs
+       cp -a autoconfig debian/grml-unittests/usr/share/grml-unittests/
+       cp -a framework.sh debian/grml-unittests/usr/share/grml-unittests/
+       cp -a grml2hd debian/grml-unittests/usr/share/grml-unittests/
+       cp -a grml2usb debian/grml-unittests/usr/share/grml-unittests/
+       cp -a grml-debootstrap debian/grml-unittests/usr/share/grml-unittests/
+       cp -a lvm debian/grml-unittests/usr/share/grml-unittests/
+       cp -a run_tests.sh debian/grml-unittests/usr/share/grml-unittests/
+       cp -a TODO debian/grml-unittests/usr/share/grml-unittests/
+       cp -a webserver.py debian/grml-unittests/usr/share/grml-unittests/
+
+binary-arch: build install
+
+binary-indep: build install
+       dh_testdir
+       dh_testroot
+       dh_installchangelogs
+       dh_installdocs
+       dh_install
+       dh_compress
+       dh_fixperms
+       dh_installdeb
+       dh_gencontrol
+       dh_md5sums
+       dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
diff --git a/debian/source/format b/debian/source/format
new file mode 100644 (file)
index 0000000..d3827e7
--- /dev/null
@@ -0,0 +1 @@
+1.0