Author: tille Date: 2012-01-20 21:01:53 +0000 (Fri, 20 Jan 2012) New Revision: 9353
Added: trunk/packages/libcolt-java/ trunk/packages/libcolt-java/trunk/ trunk/packages/libcolt-java/trunk/debian/ trunk/packages/libcolt-java/trunk/debian/changelog trunk/packages/libcolt-java/trunk/debian/compat trunk/packages/libcolt-java/trunk/debian/control trunk/packages/libcolt-java/trunk/debian/copyright trunk/packages/libcolt-java/trunk/debian/get-orig-source trunk/packages/libcolt-java/trunk/debian/libcolt-java-doc.javadoc trunk/packages/libcolt-java/trunk/debian/libcolt-java.jlibs trunk/packages/libcolt-java/trunk/debian/manifest trunk/packages/libcolt-java/trunk/debian/patches/ trunk/packages/libcolt-java/trunk/debian/patches/series trunk/packages/libcolt-java/trunk/debian/patches/use_debian_packaged_concurrent_jar.patch trunk/packages/libcolt-java/trunk/debian/rules trunk/packages/libcolt-java/trunk/debian/source/ trunk/packages/libcolt-java/trunk/debian/source/format trunk/packages/libcolt-java/trunk/debian/watch Log: Inject libcolt-java as another prerequisite for beagle-mcmc Added: trunk/packages/libcolt-java/trunk/debian/changelog =================================================================== --- trunk/packages/libcolt-java/trunk/debian/changelog (rev 0) +++ trunk/packages/libcolt-java/trunk/debian/changelog 2012-01-20 21:01:53 UTC (rev 9353) @@ -0,0 +1,5 @@ +colt (1.2.0~dfsg-1) unstable; urgency=low + + * Initial release (Closes: #?????) + + -- Andreas Tille <[email protected]> Fri, 20 Jan 2012 21:22:44 +0100 Added: trunk/packages/libcolt-java/trunk/debian/compat =================================================================== --- trunk/packages/libcolt-java/trunk/debian/compat (rev 0) +++ trunk/packages/libcolt-java/trunk/debian/compat 2012-01-20 21:01:53 UTC (rev 9353) @@ -0,0 +1 @@ +8 Added: trunk/packages/libcolt-java/trunk/debian/control =================================================================== --- trunk/packages/libcolt-java/trunk/debian/control (rev 0) +++ trunk/packages/libcolt-java/trunk/debian/control 2012-01-20 21:01:53 UTC (rev 9353) @@ -0,0 +1,52 @@ +Source: colt +Section: 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), openjdk-6-jdk, ant, libconcurrent-java +Standards-Version: 3.9.2 +Homepage: http://acs.lbl.gov/software/colt/ +Vcs-Svn: svn://svn.debian.org/debian-med/trunk/packages/libcolt-java/trunk +Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/libcolt-java/trunk/ + +Package: libcolt-java +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, ${java:Depends} +Recommends: ${java:Recommends} +Description: scalable scientific and technical computing in Java + This distribution provides an infrastructure for scalable scientific + and technical computing in Java. It is particularly useful in the domain + of High Energy Physics at CERN: It contains, among others, efficient and + usable data structures and algorithms for Off-line and On-line Data + Analysis, Linear Algebra, Multi-dimensional arrays, Statistics, + Histogramming, Monte Carlo Simulation, Parallel & Concurrent + Programming. It summons some of the best concepts, designs and + implementations thought up over time by the community, ports or improves + them and introduces new approaches where need arises. In overlapping + areas, it is competitive or superior to toolkits such as STL, Root, + HTL, CLHEP, TNT, GSL, C-RAND / WIN-RAND, (all C/C++) as well as IBM + Array, JDK 1.2 Collections framework (all Java), in terms of + performance, functionality and (re)usability. + +Package: libcolt-java-doc +Section: doc +Architecture: all +Depends: ${java:Depends}, ${misc:Depends} +Recommends: ${java:Recommends} +Description: scalable scientific and technical computing in Java (doc) + This distribution provides an infrastructure for scalable scientific + and technical computing in Java. It is particularly useful in the domain + of High Energy Physics at CERN: It contains, among others, efficient and + usable data structures and algorithms for Off-line and On-line Data + Analysis, Linear Algebra, Multi-dimensional arrays, Statistics, + Histogramming, Monte Carlo Simulation, Parallel & Concurrent + Programming. It summons some of the best concepts, designs and + implementations thought up over time by the community, ports or improves + them and introduces new approaches where need arises. In overlapping + areas, it is competitive or superior to toolkits such as STL, Root, + HTL, CLHEP, TNT, GSL, C-RAND / WIN-RAND, (all C/C++) as well as IBM + Array, JDK 1.2 Collections framework (all Java), in terms of + performance, functionality and (re)usability. + . + This package provides the documentation for the library Added: trunk/packages/libcolt-java/trunk/debian/copyright =================================================================== --- trunk/packages/libcolt-java/trunk/debian/copyright (rev 0) +++ trunk/packages/libcolt-java/trunk/debian/copyright 2012-01-20 21:01:53 UTC (rev 9353) @@ -0,0 +1,42 @@ +Format: http://dep.debian.net/deps/dep5/ +Upstream-Name: colt +Upstream-Contact: Wolfgang Hoschek <[email protected]> +Original-Source: http://acs.lbl.gov/software/colt/ + +Files: src/cern/* +Copyright: © 1999CERN - European Organization for Nuclear Research. + Wolfgang Hoschek <[email protected]> +License: Colt License Agreement + Permission to use, copy, modify, distribute and sell this software and its + documentation for any purpose is hereby granted without fee, provided that + the above copyright notice appear in all copies and that both that + copyright notice and this permission notice appear in supporting + documentation. CERN makes no representations about the suitability of this + software for any purpose. It is provided "as is" without expressed or + implied warranty. + +Files: src/hep.aida.* +Copyright: © 2004 Pavel Binko, Dino Ferrero Merlino, Wolfgang Hoschek, Tony Johnson, Andreas Pfeiffer, and others. +License: LGPL + 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 3 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/>. + . + On Debian systems, you can read the full text of the GNU Lesser General Public + License in ‘/usr/share/common-licenses/LGPL’. + + +Files: debian/* +Copyright: © 2012 Andreas Tille <[email protected]> +License: LGPL + On Debian systems, you can read the full text of the GNU Lesser General Public + License in ‘/usr/share/common-licenses/LGPL’. Added: trunk/packages/libcolt-java/trunk/debian/get-orig-source =================================================================== --- trunk/packages/libcolt-java/trunk/debian/get-orig-source (rev 0) +++ trunk/packages/libcolt-java/trunk/debian/get-orig-source 2012-01-20 21:01:53 UTC (rev 9353) @@ -0,0 +1,33 @@ +#!/bin/sh +# get source for libcolt-java and remove unneeded jars + +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 + +UPSTREAMTAR=${NAME}-${VERSION}.tar.gz + +mkdir -p ../tarballs +cd ../tarballs +mv ../${UPSTREAMTAR} . +tar -xzf ${UPSTREAMTAR} +cd ${NAME} + +# Remove concurrent which is just packaged for Debian +find . -name "*concurrent*" -delete + +# Remove unneeded JARs +rm -rf lib/* + +cd .. +GZIP="--best --no-name" tar --owner=root --group=root --mode=a+rX -czf "$NAME"_"$VERSION"~dfsg.orig.tar.gz "${NAME}" +rm -rf "${NAME}" Property changes on: trunk/packages/libcolt-java/trunk/debian/get-orig-source ___________________________________________________________________ Added: svn:executable + * Added: trunk/packages/libcolt-java/trunk/debian/libcolt-java-doc.javadoc =================================================================== --- trunk/packages/libcolt-java/trunk/debian/libcolt-java-doc.javadoc (rev 0) +++ trunk/packages/libcolt-java/trunk/debian/libcolt-java-doc.javadoc 2012-01-20 21:01:53 UTC (rev 9353) @@ -0,0 +1 @@ +doc /usr/share/doc/libcolt-java Added: trunk/packages/libcolt-java/trunk/debian/libcolt-java.jlibs =================================================================== --- trunk/packages/libcolt-java/trunk/debian/libcolt-java.jlibs (rev 0) +++ trunk/packages/libcolt-java/trunk/debian/libcolt-java.jlibs 2012-01-20 21:01:53 UTC (rev 9353) @@ -0,0 +1 @@ +lib/*.jar Added: trunk/packages/libcolt-java/trunk/debian/manifest =================================================================== --- trunk/packages/libcolt-java/trunk/debian/manifest (rev 0) +++ trunk/packages/libcolt-java/trunk/debian/manifest 2012-01-20 21:01:53 UTC (rev 9353) @@ -0,0 +1,2 @@ +/usr/share/java/colt.jar: + Class-Path: /usr/share/java/concurrent.jar Added: trunk/packages/libcolt-java/trunk/debian/patches/series =================================================================== --- trunk/packages/libcolt-java/trunk/debian/patches/series (rev 0) +++ trunk/packages/libcolt-java/trunk/debian/patches/series 2012-01-20 21:01:53 UTC (rev 9353) @@ -0,0 +1 @@ +use_debian_packaged_concurrent_jar.patch Added: trunk/packages/libcolt-java/trunk/debian/patches/use_debian_packaged_concurrent_jar.patch =================================================================== --- trunk/packages/libcolt-java/trunk/debian/patches/use_debian_packaged_concurrent_jar.patch (rev 0) +++ trunk/packages/libcolt-java/trunk/debian/patches/use_debian_packaged_concurrent_jar.patch 2012-01-20 21:01:53 UTC (rev 9353) @@ -0,0 +1,14 @@ +Author: Andreas Tille <[email protected]> +Description: Use Debian packaged version if concurrent +--- colt.orig/build.xml ++++ colt/build.xml +@@ -62,6 +62,9 @@ + <include name="*.jar"/> + <exclude name="${jar.filename}"/> + </fileset> ++ <fileset dir="/usr/share/java"> ++ <include name="concurrent.jar"/> ++ </fileset> + <!-- <pathelement location="${build.home}/classes"/> --> + </path> + Added: trunk/packages/libcolt-java/trunk/debian/rules =================================================================== --- trunk/packages/libcolt-java/trunk/debian/rules (rev 0) +++ trunk/packages/libcolt-java/trunk/debian/rules 2012-01-20 21:01:53 UTC (rev 9353) @@ -0,0 +1,21 @@ +#!/usr/bin/make -f + +JAVA_HOME=/usr/lib/jvm/default-java + +%: + dh $@ --with javahelper + +override_dh_auto_build: + ant build + +override_dh_installdocs: + dh_installdocs + rm -rf debian/libcolt-java-doc/usr/share/doc/libcolt-java/licenses + +override_dh_clean: + dh_clean + rm -rf build + rm -rf lib/*.jar + +get-orig-source: + uscan --verbose --force-download Property changes on: trunk/packages/libcolt-java/trunk/debian/rules ___________________________________________________________________ Added: svn:executable + * Added: trunk/packages/libcolt-java/trunk/debian/source/format =================================================================== --- trunk/packages/libcolt-java/trunk/debian/source/format (rev 0) +++ trunk/packages/libcolt-java/trunk/debian/source/format 2012-01-20 21:01:53 UTC (rev 9353) @@ -0,0 +1 @@ +3.0 (quilt) Added: trunk/packages/libcolt-java/trunk/debian/watch =================================================================== --- trunk/packages/libcolt-java/trunk/debian/watch (rev 0) +++ trunk/packages/libcolt-java/trunk/debian/watch 2012-01-20 21:01:53 UTC (rev 9353) @@ -0,0 +1,4 @@ +version=3 +opts="dversionmangle=s/~dfsg//g" \ +http://acs.lbl.gov/software/colt/colt-download/releases/colt-([\d\.]+)\.tar\.gz \ + debian debian/get-orig-source _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
