Author: alteholz
Date: 2013-04-29 17:53:33 +0000 (Mon, 29 Apr 2013)
New Revision: 13438

Added:
   trunk/packages/thera-pi/
   trunk/packages/thera-pi/trunk/
   trunk/packages/thera-pi/trunk/README.status
   trunk/packages/thera-pi/trunk/debian/
   trunk/packages/thera-pi/trunk/debian/TODO
   trunk/packages/thera-pi/trunk/debian/changelog
   trunk/packages/thera-pi/trunk/debian/compat
   trunk/packages/thera-pi/trunk/debian/control
   trunk/packages/thera-pi/trunk/debian/get-orig-source
   trunk/packages/thera-pi/trunk/debian/rules
   trunk/packages/thera-pi/trunk/debian/source/
   trunk/packages/thera-pi/trunk/debian/source/format
   trunk/packages/thera-pi/trunk/debian/watch
Log:
first draft

Added: trunk/packages/thera-pi/trunk/README.status
===================================================================
--- trunk/packages/thera-pi/trunk/README.status                         (rev 0)
+++ trunk/packages/thera-pi/trunk/README.status 2013-04-29 17:53:33 UTC (rev 
13438)
@@ -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.


Property changes on: trunk/packages/thera-pi/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: trunk/packages/thera-pi/trunk/debian/TODO
===================================================================
--- trunk/packages/thera-pi/trunk/debian/TODO                           (rev 0)
+++ trunk/packages/thera-pi/trunk/debian/TODO   2013-04-29 17:53:33 UTC (rev 
13438)
@@ -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
+(...)

Added: trunk/packages/thera-pi/trunk/debian/changelog
===================================================================
--- trunk/packages/thera-pi/trunk/debian/changelog                              
(rev 0)
+++ trunk/packages/thera-pi/trunk/debian/changelog      2013-04-29 17:53:33 UTC 
(rev 13438)
@@ -0,0 +1,5 @@
+thera-pi (0.0.0.20130429-1) UNRELEASED; urgency=low
+
+  * Initial release (Closes: #XXXXXX)
+
+ -- DPMT <debian-med-packag...@lists.alioth.debian.org>  Thu, 18 Apr 2013 
18:00:00 +0200

Added: trunk/packages/thera-pi/trunk/debian/compat
===================================================================
--- trunk/packages/thera-pi/trunk/debian/compat                         (rev 0)
+++ trunk/packages/thera-pi/trunk/debian/compat 2013-04-29 17:53:33 UTC (rev 
13438)
@@ -0,0 +1 @@
+9

Added: trunk/packages/thera-pi/trunk/debian/control
===================================================================
--- trunk/packages/thera-pi/trunk/debian/control                                
(rev 0)
+++ trunk/packages/thera-pi/trunk/debian/control        2013-04-29 17:53:33 UTC 
(rev 13438)
@@ -0,0 +1,20 @@
+Source: thera-pi
+Section: science
+Priority: optional
+Maintainer: Debian Med Packaging Team 
<debian-med-packag...@lists.alioth.debian.org>
+Uploaders: Andreas Tille <ti...@debian.org>,
+ Thorsten Alteholz <deb...@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.
+

Added: trunk/packages/thera-pi/trunk/debian/get-orig-source
===================================================================
--- trunk/packages/thera-pi/trunk/debian/get-orig-source                        
        (rev 0)
+++ trunk/packages/thera-pi/trunk/debian/get-orig-source        2013-04-29 
17:53:33 UTC (rev 13438)
@@ -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:anonym...@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:anonym...@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:anonym...@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}
+


Property changes on: trunk/packages/thera-pi/trunk/debian/get-orig-source
___________________________________________________________________
Added: svn:executable
   + *

Added: trunk/packages/thera-pi/trunk/debian/rules
===================================================================
--- trunk/packages/thera-pi/trunk/debian/rules                          (rev 0)
+++ trunk/packages/thera-pi/trunk/debian/rules  2013-04-29 17:53:33 UTC (rev 
13438)
@@ -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


Property changes on: trunk/packages/thera-pi/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: trunk/packages/thera-pi/trunk/debian/source/format
===================================================================
--- trunk/packages/thera-pi/trunk/debian/source/format                          
(rev 0)
+++ trunk/packages/thera-pi/trunk/debian/source/format  2013-04-29 17:53:33 UTC 
(rev 13438)
@@ -0,0 +1 @@
+3.0 (quilt)

Added: trunk/packages/thera-pi/trunk/debian/watch
===================================================================
--- trunk/packages/thera-pi/trunk/debian/watch                          (rev 0)
+++ trunk/packages/thera-pi/trunk/debian/watch  2013-04-29 17:53:33 UTC (rev 
13438)
@@ -0,0 +1 @@
+# upstream does not release tar files, sources are taken from cvs repository


_______________________________________________
debian-med-commit mailing list
debian-med-commit@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to