debian/0000755000000000000000000000000012205654277007200 5ustar debian/source/0000755000000000000000000000000012063616655010500 5ustar debian/source/format0000644000000000000000000000001411533711311011670 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000000606412015777732011142 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: matrix-toolkits-java Upstream-Contact: Sam Halliday Bjørn-Ove Heimsund Source: http://code.google.com/p/matrix-toolkits-java/downloads/list Files-Excluded: *.jar lib/junit/ lib/netlib-java/ javadoc/ Files: * Copyright: 2008-2011 Sam Halliday Bjørn-Ove Heimsund License: LGPL-3+ Files: debian/* Copyright: 2012 Andreas Tille Olivier Sallou License: LGPL-3+ Files: lib/netlib-java/*.jar Copyright: 2008-2011 Sam Halliday Keith Seymour License: BSD-new Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Comment: The files are provided as binary JAR files. The source is available from http://code.google.com/p/netlib-java/ License: LGPL-3+ 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 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 . . On a Debian GNU/Linux system, the GNU Lesser GPL license version 3 is included in the file ‘/usr/share/common-licenses/LGPL-3’, and the GNU GPL license version 3 is included in the file ‘/usr/share/common-licenses/GPL-3’. debian/rules0000755000000000000000000000035612063616750010260 0ustar #!/usr/bin/make -f JAVA_HOME=/usr/lib/jvm/default-java %: dh $@ --with javahelper override_dh_auto_build: dh_auto_build -- -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5 get-orig-source: uscan --verbose --force-download debian/get-orig-source0000755000000000000000000000222011762646357012144 0ustar #!/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} # Remove all *.jar files # rm -rf ${UARCHIVEDIR}/lib/* find ${UARCHIVEDIR} -name "*.jar" -delete find ${UARCHIVEDIR} -type d -empty -delete # Build process deletes javadoc first and rebuilds it afterwards # So it is reasonable to save space in the upstream tarball once # we are rebuilding it anyway rm -rf ${UARCHIVEDIR}/javadoc GZIP="--best --no-name" tar --owner=root --group=root --mode=a+rX -czf "$NAME"_"$VERSION"~dfsg.orig.tar.gz "${UARCHIVEDIR}" rm -rf ${UARCHIVEDIR} debian/patches/0000755000000000000000000000000012063616655010627 5ustar debian/patches/series0000644000000000000000000000003311762642464012042 0ustar use_debian_jar_files.patch debian/patches/use_debian_jar_files.patch0000644000000000000000000000157011762645403015765 0ustar --- mtj-0.9.14.orig/build.xml +++ mtj-0.9.14/build.xml @@ -16,4 +16,6 @@ + + --- mtj-0.9.14.orig/lib/nblibraries.properties +++ mtj-0.9.14/lib/nblibraries.properties @@ -1,7 +1,6 @@ libs.junit.classpath=\ - ${base}/junit/junit-3.8.2.jar + /usr/share/java/junit.jar libs.junit.javadoc=\ ${base}/junit/junit-3.8.2-api.zip libs.netlib-java.classpath=\ - ${base}/netlib-java/arpack_combo-0.1.jar:\ - ${base}/netlib-java/netlib-java-0.9.3.jar + /usr/share/java/netlib-java.jar debian/watch0000644000000000000000000000032412015775724010230 0ustar version=3 opts=dversionmangle=s/\+dfsg// \ 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 debian/changelog0000644000000000000000000000212712205654277011054 0ustar mtj (0.9.14+dfsg-2) unstable; urgency=low * Upload to unstable Closes: #720567 * debian/control: - cme fix dpkg-control - anonscm in Vcs fields -- Andreas Tille Fri, 23 Aug 2013 14:40:06 +0200 mtj (0.9.14+dfsg-1) experimental; urgency=low * debian/copyright: - DEP5 - Add Files-Excluded to document what was removed from original source * debian/control: Standards-Version: 3.9.4 (no changes needed) * debian/{control,rules}: use default java implementation (thanks for the patch to James Page ) Closes: #684160 -- Andreas Tille Mon, 17 Dec 2012 14:28:38 +0100 mtj (0.9.14~dfsg-2) unstable; urgency=low * debian/control: package should not be in main because it (unfortunately) (build-)depends from another package in contrib (libnetlib-java) Closes: #676766 -- Andreas Tille Sun, 10 Jun 2012 09:20:13 +0200 mtj (0.9.14~dfsg-1) unstable; urgency=low * Initial release (Closes: #675919) -- Andreas Tille Sun, 03 Jun 2012 13:02:47 +0200 debian/libmtj-java.links0000644000000000000000000000010311763056521012430 0ustar usr/share/java/Matrix_Toolkits_for_Java.jar usr/share/java/mtj.jar debian/libmtj-java-doc.javadoc0000644000000000000000000000005011763061772013467 0ustar dist/javadoc /usr/share/doc/libmtj-java debian/libmtj-java.jlibs0000644000000000000000000000004211762645473012426 0ustar dist/Matrix_Toolkits_for_Java.jar debian/compat0000644000000000000000000000000212205654207010367 0ustar 9 debian/control0000644000000000000000000000431612205654265010604 0ustar Source: mtj Maintainer: Debian Med Packaging Team Uploaders: Andreas Tille Section: contrib/java Priority: optional Build-Depends: debhelper (>= 9), javahelper, default-jdk (>= 1:1.6), ant, libnetlib-java Standards-Version: 3.9.4 Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/libmtj-java/trunk/ Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/libmtj-java/trunk/ Homepage: http://code.google.com/p/matrix-toolkits-java/ Package: libmtj-java Architecture: all Depends: ${misc:Depends}, ${java:Depends} Recommends: ${java:Recommends} Description: Java library for developing numerical applications MTJ is designed to be used as a library for developing numerical applications, both for small and large scale computations. The library is based on BLAS and LAPACK for its dense and structured sparse computations, and on the Templates project for unstructured sparse operations. . MTJ uses the netlib-java project as a backend, which can be set up to use machine-optimised BLAS libraries for improved performance of dense matrix operations, falling back to a pure Java implementation. This ensures perfect portability, while allowing for improved performance in a production environment. Package: libmtj-java-doc Architecture: all Section: contrib/doc Depends: ${misc:Depends}, ${java:Depends} Recommends: ${java:Recommends} Description: Java library for developing numerical applications (documentation) MTJ is designed to be used as a library for developing numerical applications, both for small and large scale computations. The library is based on BLAS and LAPACK for its dense and structured sparse computations, and on the Templates project for unstructured sparse operations. . MTJ uses the netlib-java project as a backend, which can be set up to use machine-optimised BLAS libraries for improved performance of dense matrix operations, falling back to a pure Java implementation. This ensures perfect portability, while allowing for improved performance in a production environment. . This package contains the javadoc documentation files.