From 4f707e88932dffa04445e414c8787924fc846fb5 Mon Sep 17 00:00:00 2001 From: Nigel McNie Date: Mon, 26 May 2008 22:27:17 +1200 Subject: [PATCH] Beginnings of debian packaging --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 17 +++++++++++++++++ debian/rules | 36 ++++++++++++++++++++++++++++++++++++ 4 files changed, 59 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100755 debian/rules diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..a03f047 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +tks (0.1.0-1) unstable; urgency=low + + * Initial release. + + -- Nigel McNie Mon, 26 May 2008 21:47:33 +1200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..3b0eb5a --- /dev/null +++ b/debian/control @@ -0,0 +1,17 @@ +Source: tks +Section: utils +Priority: optional +Maintainer: Nigel McNie +Build-Depends: debhelper (>= 5) +Standards-Version: 3.7.3 +Homepage: http://wiki.wgtn.cat-it.co.nz/wiki/TKS +Vcs-Git: git+ssh://gitprivate.catalyst.net.nz/git/private/tks.git +Vcs-Browser: http://gitprivate.catalyst.net.nz/gw?p=tks.git;a=summary + +Package: tks +Architecture: all +Depends: libwww-mechanize-perl (>= 1.34), libcrypt-ssleay-perl +Description: Time keeping sucks. TKS makes it suck less. + Now you can record your timesheets in a simple, readable format, and run a + script to send the data to WRMS. No more dealing with that pesky web + interface. diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..9390c16 --- /dev/null +++ b/debian/rules @@ -0,0 +1,36 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This has to be exported to make some magic below work. +export DH_OPTIONS + +clean: + dh_testdir + dh_testroot + dh_clean + +binary: + #cp site-crondispatcher.sh site-crondispatcher + #chmod +x site-crondispatcher + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + #dh_installman site-crondispatcher.8 + dh_compress + dh_fixperms + + dh_installdeb + + dh_installdirs + dh_install + + dh_gencontrol + dh_md5sums + + dh_builddeb + #rm site-crondispatcher + +.PHONY: build clean binary -- 2.39.5