[libmtj-java] 23/23: Reinject debian/ dir after git import-orig was removing it

Andreas Tille tille at debian.org
Tue Sep 2 10:00:53 UTC 2014


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository libmtj-java.

commit 10c8705cbe1408e9ebcf44443f025eafecd5ed97
Author: Andreas Tille <tille at debian.org>
Date:   Tue Sep 2 11:56:52 2014 +0200

    Reinject debian/ dir after git import-orig was removing it
---
 debian/changelog                          | 45 ++++++++++++++++++++++
 debian/compat                             |  1 +
 debian/control                            | 54 +++++++++++++++++++++++++++
 debian/copyright                          | 62 +++++++++++++++++++++++++++++++
 debian/libmtj-java-doc.javadoc            |  1 +
 debian/libmtj-java.jlibs                  |  1 +
 debian/libmtj-java.links                  |  1 +
 debian/patches/series                     |  1 +
 debian/patches/use_debian_jar_files.patch | 21 +++++++++++
 debian/rules                              | 10 +++++
 debian/source/format                      |  1 +
 debian/watch                              |  2 +
 12 files changed, 200 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..22a2f8f
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,45 @@
+mtj (1.0.1-1) UNRELEASED; urgency=medium
+
+  * New upstream version
+  * d/watch: moved to Github
+  * d/get-orig-source: deleted since no need to repack any more
+  * Move from Debian Med team to pkg-java team maintenance
+
+ -- Andreas Tille <tille at debian.org>  Thu, 28 Aug 2014 14:31:28 +0200
+
+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 <tille at debian.org>  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 <james.page at ubuntu.com>)
+    Closes: #684160
+
+ -- Andreas Tille <tille at debian.org>  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 <tille at debian.org>  Sun, 10 Jun 2012 09:20:13 +0200
+
+mtj (0.9.14~dfsg-1) unstable; urgency=low
+
+  * Initial release (Closes: #675919)
+
+ -- Andreas Tille <tille at debian.org>  Sun, 03 Jun 2012 13:02:47 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..3a82c01
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,54 @@
+Source: mtj
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Andreas Tille <tille at debian.org>
+Section: contrib/java
+Priority: optional
+Build-Depends: debhelper (>= 9),
+               javahelper,
+               default-jdk (>= 1:1.6),
+               ant,
+               libnetlib-java
+Standards-Version: 3.9.4
+Vcs-Git: git://anonscm.debian.org/pkg-java/libmtj-java.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-java/libmtj-java.git
+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.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..be0b6f5
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,62 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: matrix-toolkits-java
+Upstream-Contact: Sam Halliday <Sam.Halliday at gmail.com>
+                  Bjørn-Ove Heimsund <Bjorn.Ove.Heimsund at gmail.com>
+Source: http://code.google.com/p/matrix-toolkits-java/downloads/list
+
+Files: *
+Copyright: 2008-2011 Sam Halliday <Sam.Halliday at gmail.com>
+                     Bjørn-Ove Heimsund <Bjorn.Ove.Heimsund at gmail.com>
+License: LGPL-3+
+
+Files: debian/*
+Copyright: 2012 Andreas Tille <tille at debian.org>
+                Olivier Sallou <osallou at debian.org>
+License: LGPL-3+
+
+Files: lib/netlib-java/*.jar
+Copyright: 2008-2011 Sam Halliday <Sam.Halliday at gmail.com>
+                     Keith Seymour <keithseymour at gmail.com>
+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 <http://www.gnu.org/licenses/>.
+ .
+ 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’.
diff --git a/debian/libmtj-java-doc.javadoc b/debian/libmtj-java-doc.javadoc
new file mode 100644
index 0000000..af30b98
--- /dev/null
+++ b/debian/libmtj-java-doc.javadoc
@@ -0,0 +1 @@
+dist/javadoc /usr/share/doc/libmtj-java
diff --git a/debian/libmtj-java.jlibs b/debian/libmtj-java.jlibs
new file mode 100644
index 0000000..77731a9
--- /dev/null
+++ b/debian/libmtj-java.jlibs
@@ -0,0 +1 @@
+dist/Matrix_Toolkits_for_Java.jar
diff --git a/debian/libmtj-java.links b/debian/libmtj-java.links
new file mode 100644
index 0000000..c5bd338
--- /dev/null
+++ b/debian/libmtj-java.links
@@ -0,0 +1 @@
+usr/share/java/Matrix_Toolkits_for_Java.jar	usr/share/java/mtj.jar
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..61a6094
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+use_debian_jar_files.patch
diff --git a/debian/patches/use_debian_jar_files.patch b/debian/patches/use_debian_jar_files.patch
new file mode 100644
index 0000000..a31a994
--- /dev/null
+++ b/debian/patches/use_debian_jar_files.patch
@@ -0,0 +1,21 @@
+--- mtj-0.9.14.orig/build.xml
++++ mtj-0.9.14/build.xml
+@@ -16,4 +16,6 @@
+ 			<zipfileset dir="." excludes="**/lib/nblibraries-private.properties **/nbproject/private** **/.ant-targets-build.xml dist/** build/** **/*.zip **/.svn**" prefix="mtj-${version}" />
+ 		</zip>
+ 	</target>
++    <property name="src.dir" value="src"/>
++    <property name="javac.classpath" value="/usr/share/java/junit.jar:/usr/share/java/f2jutil.jar:/usr/share/java/netlib-java.jar"/>
+ </project>
+--- 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
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..0ee2477
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,10 @@
+#!/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
+
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..632dd59
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+https://github.com/fommil/matrix-toolkits-java/releases .*/archive/mtj-(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libmtj-java.git



More information about the pkg-java-commits mailing list