]> git.mjollnir.org Git - tks.git/commitdiff
Beginnings of debian packaging
authorNigel McNie <nigel@catalyst.net.nz>
Mon, 26 May 2008 10:27:17 +0000 (22:27 +1200)
committerNigel McNie <nigel@catalyst.net.nz>
Mon, 26 May 2008 10:27:17 +0000 (22:27 +1200)
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/rules [new file with mode: 0755]

diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..a03f047
--- /dev/null
@@ -0,0 +1,5 @@
+tks (0.1.0-1) unstable; urgency=low
+
+  * Initial release.
+
+ -- Nigel McNie <nigel@mcnie.name>  Mon, 26 May 2008 21:47:33 +1200
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..3b0eb5a
--- /dev/null
@@ -0,0 +1,17 @@
+Source: tks
+Section: utils
+Priority: optional
+Maintainer: Nigel McNie <nigel@catalyst.net.nz>
+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 (executable)
index 0000000..9390c16
--- /dev/null
@@ -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