debian/0000755000000000000000000000000011757165045007201 5ustar debian/copyright0000644000000000000000000000553111734054511011126 0ustar Format: http://dep.debian.net/deps/dep5 Upstream-Name: jlapack Source: http://icl.cs.utk.edu/f2j License: BSD Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. 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. 3. Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE REGENTS 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 REGENTS 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. Files: * Copyright: 1998-2007 Keith Seymour License: BSD Files: src/util/org/netlib/util/EasyIn.java Copyright: 1997 Peter van der Linden 1998 Keith Seymour License: BSD Files: src/blas/blas.f Copyright: 1978-1993 Lawson, C.L. (JPL) 1978-1993 Hanson, R.J. (SNLA) 1978-1993 Kincaid, D.R. (U. of Texas) 1978-1993 Krogh, F.T. (JPL) License: BSD Files: src/lapack/lapack.f Copyright: 2006 Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd.. License: BSD Files: debian/* Copyright: 2012 Olivier Sallou License: GPL-2+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This package 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 General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". debian/patches/0000755000000000000000000000000011757165045010630 5ustar debian/patches/series0000644000000000000000000000004311734054511012030 0ustar use_f2j_package_libs update_README debian/patches/use_f2j_package_libs0000644000000000000000000000103111734054511014555 0ustar Subject: use library from f2j package Description: update the path to the f2jutil library provided by package f2j Author: Olivier Sallou Last-Updated: 26-03-2012 --- a/jlapack-3.1.1/src/util/Makefile +++ b/jlapack-3.1.1/src/util/Makefile @@ -4,8 +4,8 @@ include $(ROOT)/make.def $(UTIL_JAR): - if test -f $(ROOT)/../util/$(UTIL_JAR); then \ - cp $(ROOT)/../util/$(UTIL_JAR) .; \ + if test -f /usr/share/java/f2jutil.jar; then \ + cp /usr/share/java/f2jutil.jar .; \ else \ $(MAKE) util_deprecated;\ fi debian/patches/update_README0000644000000000000000000000610411734054511013041 0ustar Subject: remove install part of README and update lib names Description: Removal of installation steps and update libraries name to match those in package. Author: Olivier Sallou Last-Updated: 26-03-2012 --- a/jlapack-3.1.1/README +++ b/jlapack-3.1.1/README @@ -3,46 +3,13 @@ May 31, 2007 ---------------- -This directory should contain the following files: - - README - this file - INSTALL - installation details - CHANGES - what has changed in this version - examples - directory containing a few examples of calling JLAPACK - The following jar files should exist: - blas.jar - the BLAS library - blas_simple.jar - the simplified interfaces to BLAS - lapack.jar - the LAPACK library - lapack_simple.jar - the simplified interfaces to LAPACK - xerbla.jar - LAPACK error reporting routine + jlapack-blas.jar - the BLAS library + jlapack-lapack.jar - the LAPACK library + jlapack-xerbla.jar - LAPACK error reporting routine f2jutil.jar - utilities required for running f2j translated code -If you downloaded the 'strict' distribution, there will be -four subdirectories: - - strict_math_lib - calls java.lang.StrictMath instead of java.lang.Math, - but the methods are not declared as strictfp - strict_fp - methods are declared strictfp, but does not call - java.lang.StrictMath - strict_both - methods are declared strictfp and calls - java.lang.StrictMath - plain - not strict - -Each of the subdirectories will contain all of the jar files mentioned -above. - -In addition to raw translations of the numerical routines, the blas_simple -and lapack_simple jar files contain classes that provide a more Java-like -interface to the underlying numerical functions. There is one such class -for each numerical routine. The name of the class is simply the function -name in all caps. For example, the fortran routine 'ddot' is translated -into two classes: Ddot.java and DDOT.java. Ddot.java contains the actual -translation of the fortran code while DDOT.java contains only a call to -the real ddot (Ddot), but provides a more simple interface. Since the -interface may have to do matrix transposition and copying for some routines, -it is faster to use the 'raw' numerical routines. API documentation for the BLAS and LAPACK can be found online at the following URL: @@ -72,9 +39,9 @@ 5. The appropriate jar files should be in your CLASSPATH. f2jutil.jar - should always be included - blas.jar - include if calling BLAS routines - lapack.jar - include if calling LAPACK routines - xerbla.jar - include for LAPACK error handling + jlapack-blas.jar - include if calling BLAS routines + jlapack-lapack.jar - include if calling LAPACK routines + jlapack-xerbla.jar - include for LAPACK error handling So, if calling LAPACK, you'll want to include all four jar files in your CLASSPATH. debian/docs0000644000000000000000000000002511734054511010037 0ustar jlapack-3.1.1/README debian/rules0000755000000000000000000000137011734054511010250 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ --with javahelper override_dh_auto_build: cd jlapack-3.1.1 && make lib mv jlapack-3.1.1/src/lapack/lapack.jar jlapack-3.1.1/src/lapack/jlapack-lapack.jar mv jlapack-3.1.1/src/blas/blas.jar jlapack-3.1.1/src/blas/jlapack-blas.jar mv jlapack-3.1.1/src/error_reporting/xerbla.jar jlapack-3.1.1/src/error_reporting/jlapack-xerbla.jar get-orig-source: debian/get-orig-source override_dh_clean: cd jlapack-3.1.1 && make clean rm -f jlapack-3.1.1/src/lapack/jlapack-lapack.jar rm -f jlapack-3.1.1/src/blas/jlapack-lapack.jar rm -f jlapack-3.1.1/src/blas/jlapack-blas.jar rm -f jlapack-3.1.1/src/error_reporting/jlapack-xerbla.jar dh_clean debian/source/0000755000000000000000000000000011757165045010501 5ustar debian/source/format0000644000000000000000000000001411734054511011675 0ustar 3.0 (quilt) debian/control0000644000000000000000000000230611757165024010602 0ustar Source: jlapack Section: contrib/java Priority: optional Maintainer: Debian Med Packaging Team DM-Upload-Allowed: yes Uploaders: Olivier Sallou Build-Depends: debhelper (>= 8), javahelper (>=0.25), f2j, default-jdk, libf2j-java Standards-Version: 3.9.3 Homepage: http://icl.cs.utk.edu/f2j Vcs-Svn: svn://svn.debian.org/debian-med/trunk/packages/jlapack/trunk Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/jlapack/trunk/ Package: libjlapack-java Architecture: all Depends: ${shlibs:Depends}, ${misc:Depends}, ${java:Depends}, libf2j-java Recommends: ${java:Recommends} Description: LAPACK numerical subroutines translated from their Fortran 77 source The package provides the LAPACK numerical subroutines translated from their subset Fortran 77 source into class files, executable by the Java Virtual Machine (JVM) and for use by Java programmers. . This makes it possible for Java applications or applets, distributed on the World Wide Web to use established legacy numerical code that was originally written in Fortran. The translation is accomplished using a special purpose Fortran-to-Java (source-to-source) compiler. debian/libjlapack-java.jlibs0000644000000000000000000000021111734054511013221 0ustar jlapack-3.1.1/src/lapack/jlapack-lapack.jar jlapack-3.1.1/src/blas/jlapack-blas.jar jlapack-3.1.1/src/error_reporting/jlapack-xerbla.jar debian/changelog0000644000000000000000000000023411757164732011054 0ustar jlapack (0.8~dfsg-1) unstable; urgency=low * Initial release (Closes: #665341) -- Olivier Sallou Mon, 26 Mar 2012 11:44:58 +0200 debian/README.source0000644000000000000000000000043611734054511011351 0ustar jlapack for Debian ------------------ Code is extracted from CSV as there is no upstream tarball. Due to this, no watch file is present. A file is removed via get-orig-source target due to incompatibility license. This file CJFormat.java is not needed when f2j package is present. debian/compat0000644000000000000000000000000211734054511010365 0ustar 8 debian/get-orig-source0000755000000000000000000000111711734054773012142 0ustar #!/bin/bash set -e PKG=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'` VERSION=`dpkg-parsechangelog | awk '/^Version/ { print $2 }'| cut -d"-" -f1` mkdir -p ../tarballs cd ../tarballs rm -rf ${PKG}-${VERSION}.orig cvs -z3 -d:pserver:anonymous@f2j.cvs.sourceforge.net:/cvsroot/f2j export -r jlapack0_8 f2j/jlapack-3.1.1 mv f2j ${PKG}-${VERSION}.orig cd ${PKG}-${VERSION}.orig rm -f jlapack-3.1.1/src/util/org/j_paine/formatter/CJFormat.java cd .. rm -f ${PKG}-${VERSION}.orig.tar.gz tar -czf ${PKG}_${VERSION}.orig.tar.gz ${PKG}-${VERSION}.orig rm -rf ${PKG}-${VERSION}.orig