debian/0000755000000000000000000000000012162313405007163 5ustar debian/maven.rules0000644000000000000000000000003512162307066011351 0ustar junit junit jar s/4\..*/4.x/ debian/rules0000755000000000000000000000147312162313400010243 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/ant.mk JAVA_HOME := /usr/lib/jvm/default-java DEB_JARS := ant-junit ant-junit4 ANT_ARGS := -Dskip.download=true PACKAGE := $(DEB_SOURCE_PACKAGE) DEB_INSTALL_CHANGELOGS_ALL := RELEASE-NOTES.txt DEB_ANT_CLEAN_TARGET := clean DEB_ANT_BUILD_TARGET := jar javadoc DEB_ANT_CHECK_TARGET := test # Per Debian Java Policy, install a versioned JAR and an unversioned symlink binary-post-install/lib$(PACKAGE)-java:: mh_installpoms -plib$(PACKAGE)-java mh_installjar -plib$(PACKAGE)-java -l pom.xml target/$(PACKAGE)-$(DEB_UPSTREAM_VERSION).jar install/lib$(PACKAGE)-java-doc:: mv target/apidocs target/api clean:: mh_clean -rm -rf debian/tmp get-orig-source: uscan --force-download --rename debian/changelog0000644000000000000000000000646512162313200011041 0ustar commons-math (2.2-3) unstable; urgency=low * Added ant-junit4 to the classpath to fix the test failures (Closes: #713749) * Updated Standards-Version to 3.9.4 (no changes) * Use canonical URLs for the Vcs-* fields * debian/rules: the clean target now properly removes the debian/.mh directory -- Emmanuel Bourg Tue, 25 Jun 2013 15:09:18 +0200 commons-math (2.2-2) unstable; urgency=low [ Miguel Landaeta ] * Team upload. * Bump Standards-Version to 3.9.2. No changes were required. * Fix lintian warning with copyright file. [ James Page ] * Fix FTBFS with OpenJDK7 (LP: #888931) (Closes: #651403): - d/ant.properties: Specify source/target as 1.5 for javac and javadoc ant tasks to ensure backwards compatibility and work around Java 7 encoding errors. -- Miguel Landaeta Fri, 09 Dec 2011 20:47:07 -0430 commons-math (2.2-1) unstable; urgency=low [ Torsten Werner ] * Change maintainers into Maintainers. [ Damien Raude-Morvan ] * New upstream release (Closes: #617209). * d/control: Bump Standards-Version to 3.9.1 (no changes needed). * d/copyright: Refresh years, upgrade to DEP5 r166 and relicence my work under Apache-2.0. * d/ant.properties: Set junit.jar to /usr/share/java/junit4.jar to ensure unit tests are launched. * d/docs: Install upstream RELEASE-NOTES. -- Damien Raude-Morvan Mon, 07 Mar 2011 21:14:46 +0100 commons-math (2.1-1) unstable; urgency=low * New upstream release. * Bump Standards-Version to 3.8.4: no changes needed * Bump debhelper to >= 7 * Switch to 3.0 (quilt) source format: - Remove B-D on quilt - Add d/source/format - Remove d/README.source -- Damien Raude-Morvan Mon, 05 Apr 2010 23:33:02 +0200 commons-math (2.0-3) unstable; urgency=low * Update my email address * Remove libcommons-discovery-java from Build-Depends and Depends as Commons Math 2.0 doesn't need it anymore (Closes: #548284). -- Damien Raude-Morvan Fri, 25 Sep 2009 22:05:01 +0200 commons-math (2.0-2) unstable; urgency=low * Fix 02_no_tests_on_build patch to include classes in JAR (Closes: #546541) -- Damien Raude-Morvan Mon, 14 Sep 2009 01:58:57 +0200 commons-math (2.0-1) unstable; urgency=low * New upstream release. * Set Maintainer field to Debian Java Team * Add myself as Uploaders * Switch to Quilt patch system: - Refresh all patchs - Remove B-D on dpatch, Add B-D on quilt - Include patchsys-quilt.mk in debian/rules * Bump Standards-Version to 3.8.3: - Add a README.source to describe patch system * Maven POMs: - Add a Build-Depends-Indep dependency on maven-repo-helper - Use mh_installpom and mh_installjar to install the POM and the jar to the Maven repository * Use default-jdk/jre: - Depends on java5-runtime-headless - Build-Depends on default-jdk - Use /usr/lib/jvm/default-java as JAVA_HOME * Move api documentation to /usr/share/doc/libcommons-math-java/api * Build-Depends on junit4 instead of junit -- Damien Raude-Morvan Sat, 22 Aug 2009 01:13:25 +0200 commons-math (1.2-1) unstable; urgency=low * Initial release. (Closes: #506987) -- Damien Raude-Morvan Sun, 15 Mar 2009 20:20:21 +0100 debian/compat0000644000000000000000000000000212162307066010367 0ustar 7 debian/copyright0000644000000000000000000001414612162307066011132 0ustar Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=166 Upstream-Name: Commons Math Upstream-Contact: http://commons.apache.org/math/team-list.html Source: http://www.apache.org/dist/commons/math/source/ Files: * Copyright: Copyright 2001-2011 The Apache Software Foundation License: Apache-2.0 On Debian GNU/Linux system you can find the complete text of the Apache-2.0 license in `/usr/share/common-licenses/Apache-2.0' Files: src/java/org/apache/commons/math/ode/GraggBulirschStoerStepInterpolator.java src/java/org/apache/commons/math/ode/GraggBulirschStoerIntegrator.java Copyright: Copyright (c) 2004, Ernst Hairer License: Apache-2.0 | other On Debian GNU/Linux system you can find the complete text of the Apache-2.0 license in `/usr/share/common-licenses/Apache-2.0' . This implementation is basically a reimplementation in Java of the fortran code by E. Hairer and G. Wanner. The redistribution policy for this code is available , for convenience, it is reproduced below. . ---------- http://www.unige.ch/~hairer/prog/licence.txt ---------- Copyright (c) 2004, Ernst Hairer . 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 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. ---------- http://www.unige.ch/~hairer/prog/licence.txt ---------- Files: src/java/org/apache/commons/math/estimation/LevenbergMarquardtEstimator.java src/test/org/apache/commons/math/estimation/GaussNewtonEstimatorTest.java src/test/org/apache/commons/math/estimation/MinpackTest.java Copyright: Copyright Notice (1999) University of Chicago License: Apache-2.0 | other On Debian GNU/Linux system you can find the complete text of the Apache-2.0 license in `/usr/share/common-licenses/Apache-2.0' . The resolution engine is a simple translation of the MINPACK routine with minor changes. The changes include the over-determined resolution and the Q.R. decomposition which has been rewritten following the algorithm described in the P. Lascaux and R. Theodor book "Analyse numérique matricielle appliquée à l'art de l'ingénieur", Masson 1986. The redistribution policy for MINPACK is available , for convenience, it is reproduced below. . ---------- http://www.netlib.org/minpack/disclaimer ---------- Minpack Copyright Notice (1999) University of Chicago. All rights reserved . 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. The end-user documentation included with the redistribution, if any, must include the following acknowledgment: . "This product includes software developed by the University of Chicago, as Operator of Argonne National Laboratory. . Alternately, this acknowledgment may appear in the software itself, if and wherever such third-party acknowledgments normally appear. . 4. WARRANTY DISCLAIMER. THE SOFTWARE IS SUPPLIED "AS IS" WITHOUT WARRANTY OF ANY KIND. THE COPYRIGHT HOLDER, THE UNITED STATES, THE UNITED STATES DEPARTMENT OF ENERGY, AND THEIR EMPLOYEES: (1) DISCLAIM ANY WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE OR NON-INFRINGEMENT, (2) DO NOT ASSUME ANY LEGAL LIABILITY OR RESPONSIBILITY FOR THE ACCURACY, COMPLETENESS, OR USEFULNESS OF THE SOFTWARE, (3) DO NOT REPRESENT THAT USE OF THE SOFTWARE WOULD NOT INFRINGE PRIVATELY OWNED RIGHTS, (4) DO NOT WARRANT THAT THE SOFTWARE WILL FUNCTION UNINTERRUPTED, THAT IT IS ERROR-FREE OR THAT ANY ERRORS WILL BE CORRECTED. . 5. LIMITATION OF LIABILITY. IN NO EVENT WILL THE COPYRIGHT HOLDER, THE UNITED STATES, THE UNITED STATES DEPARTMENT OF ENERGY, OR THEIR EMPLOYEES: BE LIABLE FOR ANY INDIRECT, INCIDENTAL, CONSEQUENTIAL, SPECIAL OR PUNITIVE DAMAGES OF ANY KIND OR NATURE, INCLUDING BUT NOT LIMITED TO LOSS OF PROFITS OR LOSS OF DATA, FOR ANY REASON WHATSOEVER, WHETHER SUCH LIABILITY IS ASSERTED ON THE BASIS OF CONTRACT, TORT (INCLUDING NEGLIGENCE OR STRICT LIABILITY), OR OTHERWISE, EVEN IF ANY OF SAID PARTIES HAS BEEN WARNED OF THE POSSIBILITY OF SUCH LOSS OR DAMAGES. ---------- http://www.netlib.org/minpack/disclaimer ---------- Files: debian/* Copyright: Copyright (C) 2008-2011, Damien Raude-Morvan License: Apache-2.0 On Debian GNU/Linux system you can find the complete text of the Apache-2.0 license in `/usr/share/common-licenses/Apache-2.0'. debian/libcommons-math-java-doc.install0000644000000000000000000000005712162307066015336 0ustar target/api /usr/share/doc/libcommons-math-java debian/libcommons-math-java-doc.doc-base0000644000000000000000000000050612162307066015344 0ustar Document: libcommons-math-java-doc Title: API Javadoc for libcommons-math Author: libcommons-math developers Abstract: This is the API Javadoc provided by the libcommons-math library. Section: Programming Format: HTML Index: /usr/share/doc/libcommons-math-java/api/index.html Files: /usr/share/doc/libcommons-math-java/api/* debian/ant.properties0000644000000000000000000000024512162307066012072 0ustar junit.jar=/usr/share/java/junit4.jar # Ensure that source and target are 1.5 # For backwards compat on Java 7 ant.build.javac.source=1.5 ant.build.javac.target=1.5 debian/libcommons-math-java.poms0000644000000000000000000000002412162307066014075 0ustar pom.xml --no-parent debian/control0000644000000000000000000000644312162313145010576 0ustar Source: commons-math Maintainer: Debian Java Maintainers Uploaders: Damien Raude-Morvan , Emmanuel Bourg Standards-Version: 3.9.4 Section: java Priority: optional Build-Depends: default-jdk, ant, debhelper (>= 7), cdbs Build-Depends-Indep: junit4, ant-optional, maven-repo-helper Homepage: http://commons.apache.org/math/ Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/commons-math Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-java/trunk/commons-math Package: libcommons-math-java Architecture: all Depends: ${misc:Depends} Description: Java lightweight mathematics and statistics components Commons Math is a Java library of lightweight, self-contained mathematics and statistics components. . Commons Math is made up of a small set of math/stat utilities addressing programming problems like the ones in the list below: - Computing means, variances and other summary statistics for a list of numbers - Fitting a line to a set of data points using linear regression - Finding a smooth curve that passes through a collection of points (interpolation) - Fitting a parametric model to a set of measurements using least-squares methods - Solving equations involving real-valued functions (i.e. root-finding) - Solving systems of linear equations - Solving Ordinary Differential Equations - Minimizing multi-dimensional functions - Generating random numbers with more restrictions (e.g distribution, range) than what is possible using the JDK - Generating random samples and/or datasets that are "like" the data in an input file - Performing statistical significance tests - Miscellaneous mathematical functions such as factorials, binomial coefficients and "special functions" (e.g. gamma, beta functions) . This is a part of the Apache Commons Project. Package: libcommons-math-java-doc Architecture: all Section: doc Depends: ${misc:Depends} Suggests: libcommons-math-java Description: Java lightweight mathematics and statistics components - documentation Commons Math is a Java library of lightweight, self-contained mathematics and statistics components. . Commons Math is made up of a small set of math/stat utilities addressing programming problems like the ones in the list below: - Computing means, variances and other summary statistics for a list of numbers - Fitting a line to a set of data points using linear regression - Finding a smooth curve that passes through a collection of points (interpolation) - Fitting a parametric model to a set of measurements using least-squares methods - Solving equations involving real-valued functions (i.e. root-finding) - Solving systems of linear equations - Solving Ordinary Differential Equations - Minimizing multi-dimensional functions - Generating random numbers with more restrictions (e.g distribution, range) than what is possible using the JDK - Generating random samples and/or datasets that are "like" the data in an input file - Performing statistical significance tests - Miscellaneous mathematical functions such as factorials, binomial coefficients and "special functions" (e.g. gamma, beta functions) . This is a part of the Apache Commons Project. . This package provides the API documentation for Commons Math. debian/watch0000644000000000000000000000012612162307066010221 0ustar version=3 http://www.apache.org/dist/commons/math/source/commons-math-(.*)-src.tar.gz debian/patches/0000755000000000000000000000000012162307066010620 5ustar debian/patches/series0000644000000000000000000000003212162307066012030 0ustar 02_no_tests_on_build.diff debian/patches/02_no_tests_on_build.diff0000644000000000000000000000125712162307066015471 0ustar Description: build.xml: don't run test directly after build as per Java Policy: "Failing tests MUST not lead to a failing build." Author: Damien Raude-Morvan Forwarded: not-needed Origin: vendor Last-Update: 2009-07-16 --- a/build.xml +++ b/build.xml @@ -247,7 +247,7 @@ - + debian/source/0000755000000000000000000000000012162307066010471 5ustar debian/source/format0000644000000000000000000000001412162307066011677 0ustar 3.0 (quilt) debian/docs0000644000000000000000000000002212162307066010036 0ustar RELEASE-NOTES.txt