Author: tille Date: 2012-01-27 12:52:06 +0000 (Fri, 27 Jan 2012) New Revision: 9449
Added: trunk/packages/libpal-java/ trunk/packages/libpal-java/trunk/ trunk/packages/libpal-java/trunk/debian/ trunk/packages/libpal-java/trunk/debian/changelog trunk/packages/libpal-java/trunk/debian/compat trunk/packages/libpal-java/trunk/debian/control trunk/packages/libpal-java/trunk/debian/copyright trunk/packages/libpal-java/trunk/debian/get-orig-source trunk/packages/libpal-java/trunk/debian/install trunk/packages/libpal-java/trunk/debian/rules trunk/packages/libpal-java/trunk/debian/source/ trunk/packages/libpal-java/trunk/debian/source/format trunk/packages/libpal-java/trunk/debian/watch Log: INject libpal-java Added: trunk/packages/libpal-java/trunk/debian/changelog =================================================================== --- trunk/packages/libpal-java/trunk/debian/changelog (rev 0) +++ trunk/packages/libpal-java/trunk/debian/changelog 2012-01-27 12:52:06 UTC (rev 9449) @@ -0,0 +1,5 @@ +libpal-java (1.5.1-1) unstable; urgency=low + + * Initial Debian Upload (Closes: ???) + + -- Andreas Tille <[email protected]> Mon, 14 Mar 2011 19:18:08 +0100 Added: trunk/packages/libpal-java/trunk/debian/compat =================================================================== --- trunk/packages/libpal-java/trunk/debian/compat (rev 0) +++ trunk/packages/libpal-java/trunk/debian/compat 2012-01-27 12:52:06 UTC (rev 9449) @@ -0,0 +1 @@ +8 Added: trunk/packages/libpal-java/trunk/debian/control =================================================================== --- trunk/packages/libpal-java/trunk/debian/control (rev 0) +++ trunk/packages/libpal-java/trunk/debian/control 2012-01-27 12:52:06 UTC (rev 9449) @@ -0,0 +1,24 @@ +Source: libpal-java +Priority: optional +Maintainer: Debian Med Packaging Team <[email protected]> +DM-Upload-Allowed: yes +Uploaders: Andreas Tille <[email protected]> +Build-Depends: debhelper (>= 8), javahelper (>=0.25) +Build-Depends-Indep: default-jdk, ant +Standards-Version: 3.9.2 +Section: java +Homepage: http://www.cebl.auckland.ac.nz/pal-project/ +Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/libpal-java/trunk/ +Vcs-Svn: svn://svn.debian.org/debian-med/trunk/packages/libpal-java/trunk/ + +Package: libpal-java +Architecture: all +Depends: ${java:Depends}, ${misc:Depends} +Recommends: ${java:Recommends} +Description: Java Evolutionary Biology Library + The PAL project is a collaborative effort to provide a high quality + Java library for use in molecular evolution and phylogenetics. At + present PAL consists of approximately 200 public classes/interfaces in + 16 packages Please refer to the API documentation for a detailed + description of all classes and methods available, and to the release + history for an overview of the development history of PAL. Added: trunk/packages/libpal-java/trunk/debian/copyright =================================================================== --- trunk/packages/libpal-java/trunk/debian/copyright (rev 0) +++ trunk/packages/libpal-java/trunk/debian/copyright 2012-01-27 12:52:06 UTC (rev 9449) @@ -0,0 +1,32 @@ +Format: http://dep.debian.net/deps/dep5/ +Upstream-Name: PAL (Phylogenetic Analysis Library) +Upstream-Contact: Matthew Goode <[email protected]> +Source: http://www.cebl.auckland.ac.nz/pal-project/ + +Files: * +Copyright: © 2002-2011 Matthew Goode <[email protected]> + © 2000-2011 Alexei Drummond <[email protected]> + © 2001-2011 Ed Buckler <[email protected]> + © 1999-2011 Korbinian Strimmer <[email protected]> + +Licence: LGPL-2.1 + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 2.1 of the License, or + (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + . + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +Comment: + On Debian systems, you can read the full text of the GNU Lesser General Public + License in ‘/usr/share/common-licenses/LGPL-2.1’. + +Files: debian/* +Copyright: © 2011 Andreas Tille <[email protected]> +License: PD + The packaging work is in the public domain unless stated otherwise. Added: trunk/packages/libpal-java/trunk/debian/get-orig-source =================================================================== --- trunk/packages/libpal-java/trunk/debian/get-orig-source (rev 0) +++ trunk/packages/libpal-java/trunk/debian/get-orig-source 2012-01-27 12:52:06 UTC (rev 9449) @@ -0,0 +1,30 @@ +#!/bin/sh +# unpack libpal-java tarball to get rid of several binaries + +set -e +NAME=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'` +UPSTREAMNAME=`echo $NAME | sed 's/lib\(.*\)-java/\1/'` + +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.]\+\) .*${UPSTREAMNAME}.*?\1?"` + if echo "$VERSION" | grep -q "upstream-version" ; then + echo "Unable to parse version number" + exit + fi +fi + +TARDIR=pal-1.5.1 +mkdir -p ../tarballs/${TARDIR} +cd ../tarballs +mv ../${TARDIR}-src.zip . +cd ${TARDIR} +unzip -q ../${TARDIR}-src.zip + +# Remove code which is not needed +rm -rf src/org doc/COPYRIGHT-org.w3c.dom.html doc/.*html* +cd .. + +GZIP="--best --no-name" tar --owner=root --group=root --mode=a+rX -czf "$NAME"_"$VERSION".orig.tar.gz "${TARDIR}" +rm -rf ${TARDIR} Property changes on: trunk/packages/libpal-java/trunk/debian/get-orig-source ___________________________________________________________________ Added: svn:executable + * Added: trunk/packages/libpal-java/trunk/debian/install =================================================================== --- trunk/packages/libpal-java/trunk/debian/install (rev 0) +++ trunk/packages/libpal-java/trunk/debian/install 2012-01-27 12:52:06 UTC (rev 9449) @@ -0,0 +1 @@ +src/dist/lib/* usr/share/java Added: trunk/packages/libpal-java/trunk/debian/rules =================================================================== --- trunk/packages/libpal-java/trunk/debian/rules (rev 0) +++ trunk/packages/libpal-java/trunk/debian/rules 2012-01-27 12:52:06 UTC (rev 9449) @@ -0,0 +1,15 @@ +#!/usr/bin/make -f + +JAVA_HOME=/usr/lib/jvm/default-java + +%: + dh $@ --with javahelper + +override_dh_auto_clean: + cd src; ant clean + +override_dh_auto_build: + ant -buildfile src/build.xml + +get-orig-source: + . debian/get-orig-source Property changes on: trunk/packages/libpal-java/trunk/debian/rules ___________________________________________________________________ Added: svn:executable + * Added: trunk/packages/libpal-java/trunk/debian/source/format =================================================================== --- trunk/packages/libpal-java/trunk/debian/source/format (rev 0) +++ trunk/packages/libpal-java/trunk/debian/source/format 2012-01-27 12:52:06 UTC (rev 9449) @@ -0,0 +1 @@ +3.0 (quilt) Added: trunk/packages/libpal-java/trunk/debian/watch =================================================================== --- trunk/packages/libpal-java/trunk/debian/watch (rev 0) +++ trunk/packages/libpal-java/trunk/debian/watch 2012-01-27 12:52:06 UTC (rev 9449) @@ -0,0 +1,3 @@ +version=3 +http://www.cebl.auckland.ac.nz/pal-project/download.html bin/pal-([.\d]+)-src\.zip \ + debian debian/get-orig-source _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
