[med-svn] r9914 - in trunk/packages: . libmtj-java libmtj-java/trunk libmtj-java/trunk/debian libmtj-java/trunk/debian/source
Andreas Tille
tille at alioth.debian.org
Wed Mar 7 08:51:38 UTC 2012
Author: tille
Date: 2012-03-07 08:51:38 +0000 (Wed, 07 Mar 2012)
New Revision: 9914
Added:
trunk/packages/libmtj-java/
trunk/packages/libmtj-java/trunk/
trunk/packages/libmtj-java/trunk/debian/
trunk/packages/libmtj-java/trunk/debian/changelog
trunk/packages/libmtj-java/trunk/debian/compat
trunk/packages/libmtj-java/trunk/debian/control
trunk/packages/libmtj-java/trunk/debian/get-orig-source
trunk/packages/libmtj-java/trunk/debian/libmtj-java.jlibs
trunk/packages/libmtj-java/trunk/debian/rules
trunk/packages/libmtj-java/trunk/debian/source/
trunk/packages/libmtj-java/trunk/debian/source/format
trunk/packages/libmtj-java/trunk/debian/watch
Log:
Inject libmtj-java as the last final precondition for beast; this packaging is NOT finished and doese NOT work in the current state
Added: trunk/packages/libmtj-java/trunk/debian/changelog
===================================================================
--- trunk/packages/libmtj-java/trunk/debian/changelog (rev 0)
+++ trunk/packages/libmtj-java/trunk/debian/changelog 2012-03-07 08:51:38 UTC (rev 9914)
@@ -0,0 +1,5 @@
+mtj (0.9.14-1) unstable; urgency=low
+
+ * Initial release (Closes: #??????)
+
+ -- Andreas Tille <tille at debian.org> Sat, 21 Jan 2012 15:15:57 +0100
Added: trunk/packages/libmtj-java/trunk/debian/compat
===================================================================
--- trunk/packages/libmtj-java/trunk/debian/compat (rev 0)
+++ trunk/packages/libmtj-java/trunk/debian/compat 2012-03-07 08:51:38 UTC (rev 9914)
@@ -0,0 +1 @@
+8
Added: trunk/packages/libmtj-java/trunk/debian/control
===================================================================
--- trunk/packages/libmtj-java/trunk/debian/control (rev 0)
+++ trunk/packages/libmtj-java/trunk/debian/control 2012-03-07 08:51:38 UTC (rev 9914)
@@ -0,0 +1,17 @@
+Source: mtj
+Section: java
+Priority: optional
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+DM-Upload-Allowed: yes
+Uploaders: Andreas Tille <tille at debian.org>
+Build-Depends: debhelper (>= 8), javahelper (>=0.25), openjdk-6-jdk, ant
+Standards-Version: 3.9.3
+Homepage: http://code.google.com/p/matrix-toolkits-java/
+Vcs-Svn: svn://svn.debian.org/debian-med/trunk/packages/libmtj-java/trunk
+Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/libmtj-java/trunk/
+
+Package: libmtj-java
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${java:Depends}
+Recommends: ${java:Recommends}
+Description:
\ No newline at end of file
Added: trunk/packages/libmtj-java/trunk/debian/get-orig-source
===================================================================
--- trunk/packages/libmtj-java/trunk/debian/get-orig-source (rev 0)
+++ trunk/packages/libmtj-java/trunk/debian/get-orig-source 2012-03-07 08:51:38 UTC (rev 9914)
@@ -0,0 +1,32 @@
+#!/bin/sh
+# get source for libmtj-java and remove unneeded jars and binaries
+
+set -e
+NAME=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'`
+
+if ! echo $@ | grep -q upstream-version ; then
+ VERSION=`dpkg-parsechangelog | awk '/^Version:/ { print $2 }' | sed 's/\([0-9\.]\+\)-[0-9]\+$/\1/'`
+else
+ VERSION=`echo $@ | sed "s?^.*--upstream-version \([0-9.]\+\) .*${NAME}.*?\1?"`
+ if echo "$VERSION" | grep -q "upstream-version" ; then
+ echo "Unable to parse version number"
+ exit
+ fi
+fi
+
+# unmangle version
+UARCHIVEDIR=${NAME}-${VERSION}
+UPSTREAMARCHIVE=${UARCHIVEDIR}.zip
+
+mkdir -p ../tarballs
+cd ../tarballs
+mv ../${UPSTREAMARCHIVE} .
+unzip -q ${UPSTREAMARCHIVE}
+cd ${UARCHIVEDIR}
+
+# Remove unneeded binaries
+rm -rf lib/junit
+
+cd ..
+GZIP="--best --no-name" tar --owner=root --group=root --mode=a+rX -czf "$NAME"_"$VERSION"~dfsg.orig.tar.gz "${UARCHIVEDIR}"
+rm -rf ${UARCHIVEDIR}
Property changes on: trunk/packages/libmtj-java/trunk/debian/get-orig-source
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/packages/libmtj-java/trunk/debian/libmtj-java.jlibs
===================================================================
--- trunk/packages/libmtj-java/trunk/debian/libmtj-java.jlibs (rev 0)
+++ trunk/packages/libmtj-java/trunk/debian/libmtj-java.jlibs 2012-03-07 08:51:38 UTC (rev 9914)
@@ -0,0 +1 @@
+lib/mtj.jar
Added: trunk/packages/libmtj-java/trunk/debian/rules
===================================================================
--- trunk/packages/libmtj-java/trunk/debian/rules (rev 0)
+++ trunk/packages/libmtj-java/trunk/debian/rules 2012-03-07 08:51:38 UTC (rev 9914)
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+
+JAVA_HOME=/usr/lib/jvm/default-java
+
+%:
+ dh $@ --with javahelper
+
+get-orig-source:
+ uscan --verbose --force-download
Property changes on: trunk/packages/libmtj-java/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/packages/libmtj-java/trunk/debian/source/format
===================================================================
--- trunk/packages/libmtj-java/trunk/debian/source/format (rev 0)
+++ trunk/packages/libmtj-java/trunk/debian/source/format 2012-03-07 08:51:38 UTC (rev 9914)
@@ -0,0 +1 @@
+3.0 (quilt)
Added: trunk/packages/libmtj-java/trunk/debian/watch
===================================================================
--- trunk/packages/libmtj-java/trunk/debian/watch (rev 0)
+++ trunk/packages/libmtj-java/trunk/debian/watch 2012-03-07 08:51:38 UTC (rev 9914)
@@ -0,0 +1,5 @@
+version=3
+# http://googlecode.debian.net/p/matrix-toolkits-java/mtj-([.\d]+)\.zip
+http://code.google.com/p/matrix-toolkits-java/downloads/list?can=1 \
+ .*/mtj-(\d[\d\.]+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))|zip) \
+ debian debian/get-orig-source
More information about the debian-med-commit
mailing list