[med-svn] [thera-pi] 01/04: first draft

Andreas Tille tille at debian.org
Fri Dec 29 21:30:06 UTC 2017


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository thera-pi.

commit b76f2933a8d4c92615e9916da5c025ce343c3bd2
Author: Thorsten Alteholz <alteholz at debian.org>
Date:   Mon Apr 29 17:53:33 2013 +0000

    first draft
---
 README.status          |  6 ++++++
 debian/TODO            |  9 +++++++++
 debian/changelog       |  5 +++++
 debian/compat          |  1 +
 debian/control         | 20 ++++++++++++++++++++
 debian/get-orig-source | 40 ++++++++++++++++++++++++++++++++++++++++
 debian/rules           | 13 +++++++++++++
 debian/source/format   |  1 +
 debian/watch           |  1 +
 9 files changed, 96 insertions(+)

diff --git a/README.status b/README.status
new file mode 100644
index 0000000..cf2c1ec
--- /dev/null
+++ b/README.status
@@ -0,0 +1,6 @@
+---
+Format: 1
+Status: draft
+Comment: >
+ One need to take care of lots of libraries.
+ This might be a rather time-consuming task.
diff --git a/debian/TODO b/debian/TODO
new file mode 100644
index 0000000..1b22905
--- /dev/null
+++ b/debian/TODO
@@ -0,0 +1,9 @@
+TODO:
+=====
+
+- most of build.xml do not really work out of the box
+- directory Library contains about 65 jar files that need to be replaced
+  by the Debian libraries
+- debian/copyright
+- man page
+(...)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..b32cad6
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+thera-pi (0.0.0.20130429-1) UNRELEASED; urgency=low
+
+  * Initial release (Closes: #XXXXXX)
+
+ -- DPMT <debian-med-packaging at lists.alioth.debian.org>  Thu, 18 Apr 2013 18:00:00 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..4e140b0
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,20 @@
+Source: thera-pi
+Section: science
+Priority: optional
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+Uploaders: Andreas Tille <tille at debian.org>,
+ Thorsten Alteholz <debian at alteholz.de>
+Build-Depends: debhelper (>= 9),
+ default-jdk
+Standards-Version: 3.9.4
+Homepage: http://www.thera-pi.org/
+Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/qrisk2/trunk/
+Vcs-Svn: svn://svn.debian.org/debian-med/trunk/packages/qrisk2/trunk/
+
+Package: thera-pi
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends},
+ default-jre
+Description: organization and management of outpatient clinics and rehabilitation-medicine companies
+ This project targets at the German health care system.
+
diff --git a/debian/get-orig-source b/debian/get-orig-source
new file mode 100755
index 0000000..29c2c52
--- /dev/null
+++ b/debian/get-orig-source
@@ -0,0 +1,40 @@
+#!/bin/bash
+
+PACKAGE=thera-pi
+PACKAGEVERSION=`dpkg-parsechangelog | sed -n -e 's/^Version: \(.*\)-[^-]*$/\1/p'`
+declare -i CHANGELOGREVISION=`echo ${PACKAGEVERSION}|awk -F"." '{print $4}'|awk -F"-" '{print $1}'` 
+TODAYVERSION="0.0.0.`date +%Y%m%d`"
+echo "I: anonymous cvs access, just hit enter"
+cvs -d:pserver:anonymous at thera-pi.cvs.sourceforge.net:/cvsroot/thera-pi login
+
+echo "I: package version:         ${PACKAGEVERSION}"
+echo "I: version today:           ${TODAYVERSION}"
+echo "I: version from changelog:  ${CHANGELOGREVISION}"
+
+FOLDER=${PACKAGE}_${TODAYVERSION}
+TARFILE=${FOLDER}.orig.tar.gz
+
+mkdir -p ../tarballs
+cd ../tarballs
+
+# we have cvs here and need to checkout stuff to get the list of modules
+cvs -z3 -d:pserver:anonymous at thera-pi.cvs.sourceforge.net:/cvsroot/thera-pi co -l -dtmpXXX .
+cd tmpXXX
+cvs -n update -d &> modules.list
+MODULES=` cat modules.list|awk '{print $5}'|\
+	sed "s/_/QQQQQ/g"|tr -d "[:punct:]"|sed "s/QQQQQ/_/g"` 
+cd ..
+rm -rf tmpXXX
+
+echo "I: modules:                 ${MODULES}"
+
+mkdir $FOLDER
+cd $FOLDER
+for m in $MODULES; do 
+  cvs -z3 -d:pserver:anonymous at thera-pi.cvs.sourceforge.net:/cvsroot/thera-pi co $m
+done
+
+cd ..
+GZIP="--best --no-name" tar --exclude-vcs -czf ${TARFILE} ${FOLDER}
+rm -rf ${FOLDER}
+
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..6c12d05
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+
+# DH_VERBOSE := 1
+
+%:
+	dh $@
+
+override_dh_auto_build:
+	pwd
+	(for m in `ls -1|grep -v debian`; do echo $$m; cd $$m; pwd; ant jar; cd ..; done)
+
+get-orig-source:
+	./debian/get-orig-source
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..e347782
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1 @@
+# upstream does not release tar files, sources are taken from cvs repository

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/thera-pi.git



More information about the debian-med-commit mailing list