[jblas] 02/24: Imported Debian patch 0.1-1

Tony Mancill tmancill at moszumanska.debian.org
Sun Jan 5 05:45:57 UTC 2014


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

tmancill pushed a commit to branch master
in repository jblas.

commit 14dedbe160a31beece999e114be2d18a4b4b64cc
Author: Soeren Sonnenburg <sonne at debian.org>
Date:   Fri Apr 10 11:39:57 2009 +0200

    Imported Debian patch 0.1-1
---
 debian/changelog             |  5 +++++
 debian/compat                |  1 +
 debian/control               | 36 ++++++++++++++++++++++++++++++++++++
 debian/copyright             | 38 ++++++++++++++++++++++++++++++++++++++
 debian/jblas-doc.doc-base    | 13 +++++++++++++
 debian/jblas.docs            |  1 +
 debian/orig-tar.sh           | 21 +++++++++++++++++++++
 debian/patches/encoding.diff | 22 ++++++++++++++++++++++
 debian/patches/series        |  1 +
 debian/rules                 | 32 ++++++++++++++++++++++++++++++++
 debian/watch                 |  4 ++++
 11 files changed, 174 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..dccf451
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+jblas (0.1-1) unstable; urgency=low
+
+  * Initial Release (Closes: #522017)
+
+ -- Soeren Sonnenburg <sonne at debian.org>  Fri, 10 Apr 2009 11:39:57 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..523458a
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,36 @@
+Source: jblas
+Priority: optional
+Maintainer: Soeren Sonnenburg <sonne at debian.org>
+Build-Depends: cdbs, debhelper (>= 7), openjdk-6-jdk, ant-optional, gfortran,
+ libatlas-base-dev, quilt, ruby
+Standards-Version: 3.8.1
+Section: science
+Homepage: https://ml01.zrz.tu-berlin.de/trac/jblas/
+Vcs-Svn: https://bollin.googlecode.com/svn/jblas/trunk/
+Vcs-Browser: http://bollin.googlecode.com/svn/jblas/trunk/
+
+Package: jblas
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, openjdk-6-jre | sun-java6-jre,
+Description: A fast linear algebra library for Java
+ jblas is a fast linear algebra library for Java. jblas is essentially
+ a light-weight wrapper around BLAS and LAPACK routines, the
+ de-facto industry standard for matrix computations. It uses
+ state-of-the-art implementations like ATLAS for all its computational
+ routines, making it very fast. 
+ .
+ This package contains the binaries and examples.
+
+Package: jblas-doc
+Architecture: all
+Depends: ${misc:Depends}
+Recommends: jblas
+Section: doc
+Description: A fast linear algebra library for Java
+ jblas is a fast linear algebra library for Java. jblas is essentially
+ a light-weight wrapper around BLAS and LAPACK routines, the
+ de-facto industry standard for matrix computations. It uses
+ state-of-the-art implementations like ATLAS for all its computational
+ routines, making it very fast. 
+ .
+ This package contains the documentation.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..9e27257
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,38 @@
+This package was debianized by Soeren Sonnenburg <sonne at debian.org>.
+
+It was downloaded from https://ml01.zrz.tu-berlin.de/trac/jblas/ .
+
+The upstream authors are Mikio L. Braun <mikio at cs.tu-berlin.de>
+and Johannes Schaback.
+
+Copyright (c) 2009, Mikio L. Braun and contributors
+All rights reserved.
+
+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.
+
+    * Neither the name of the Technische Universität Berlin 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 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.
diff --git a/debian/jblas-doc.doc-base b/debian/jblas-doc.doc-base
new file mode 100644
index 0000000..1d61afc
--- /dev/null
+++ b/debian/jblas-doc.doc-base
@@ -0,0 +1,13 @@
+Document: jblas
+Title: A fast linear algebra library for Java
+Author: Mikio L. Braun and contributors
+Abstract: jblas is a fast linear algebra library for Java. jblas is
+ essentially a light-weight wrapper around BLAS and LAPACK routines,
+ the de-facto industry standard for matrix computations. It
+ uses state-of-the-art implementations like ATLAS for all
+ its computational routines, making it very fast. 
+Section: Science/Data Analysis
+
+Format: HTML
+Index: /usr/share/doc/jblas-doc/javadoc/index.html
+Files: /usr/share/doc/jblas-doc/javadoc/*.html
diff --git a/debian/jblas.docs b/debian/jblas.docs
new file mode 100644
index 0000000..e845566
--- /dev/null
+++ b/debian/jblas.docs
@@ -0,0 +1 @@
+README
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
new file mode 100644
index 0000000..9785a49
--- /dev/null
+++ b/debian/orig-tar.sh
@@ -0,0 +1,21 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version' <version> <file>
+SOURCE=$(dpkg-parsechangelog | sed -ne 's,Source: \(.*\),\1,p')
+VERSION=$(dpkg-parsechangelog | sed -ne 's,^Version: \(.*\)-.*,\1,p')
+TAR=$3
+DIR=jblas-*/
+
+# clean up the upstream tarball
+tar xzf $TAR
+tar -czf $TAR --exclude '*/javadoc' $DIR
+rm -rf $DIR
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+  . .svn/deb-layout
+  mv $TAR $origDir
+  echo "moved $TAR to $origDir"
+fi
+
+exit 0
diff --git a/debian/patches/encoding.diff b/debian/patches/encoding.diff
new file mode 100644
index 0000000..27ac059
--- /dev/null
+++ b/debian/patches/encoding.diff
@@ -0,0 +1,22 @@
+Index: jblas-0.1/build.xml
+===================================================================
+--- jblas-0.1.orig/build.xml	2009-04-11 01:34:10.000000000 +0200
++++ jblas-0.1/build.xml	2009-04-11 01:34:32.000000000 +0200
+@@ -100,7 +100,7 @@
+         <mkdir dir="${include}" />
+     </target>
+     <target name="compile" depends="prepare,wrapper,generate-float">
+-        <javac destdir="${bin}" source="1.6" debug="on" compiler="javac1.6" fork="yes" nowarn="yes">
++        <javac destdir="${bin}" encoding="utf-8" source="1.6" debug="on" compiler="javac1.6" fork="yes" nowarn="yes">
+             <src path="${src}" />
+             <classpath>
+                 <pathelement location="${external}/junit.jar" />
+@@ -108,7 +108,7 @@
+         </javac>
+     </target>
+     <target name="compile-test" depends="prepare,wrapper,generate-float">
+-        <javac destdir="${bin}" source="1.6" debug="on" compiler="javac1.6" fork="yes" nowarn="yes">
++        <javac destdir="${bin}" encoding="utf-8" source="1.6" debug="on" compiler="javac1.6" fork="yes" nowarn="yes">
+             <src path="${test}" />
+             <classpath>
+                 <pathelement location="${external}/junit.jar" />
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..f903269
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+encoding.diff
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..a98a98b
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,32 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/ant.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
+JAVA_HOME_DIRS       := /usr/lib/jvm/java-6-openjdk
+DEB_ANT_BUILDFILE    := build.xml
+DEB_ANT_BUILD_TARGET := jar javadoc
+DEB_ANT_CLEAN_TARGET := realclean
+DEB_JARS := ant-nodeps.jar
+
+debian/stamp-ant-build: debian/stamp-jblas-build
+debian/stamp-jblas-build:
+	./configure --libpath=/usr/lib:/usr/lib/atlas
+	touch $@
+
+install/jblas::
+	install -m644 -D bin/libjblas.so debian/jblas/usr/lib/jni/libjblas.so
+	install -m644 -D jblas.jar debian/jblas/usr/share/java/jblas-$(DEB_UPSTREAM_VERSION).jar
+	dh_link -pjblas /usr/share/java/jblas-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/jblas.jar
+
+install/jblas-doc:: debian/stamp-install-jblas-doc
+debian/stamp-install-jblas-doc:
+	#install javadoc javadoc
+	install -m755 -d debian/jblas-doc/usr/share/doc/jblas-doc
+	cp -r javadoc debian/jblas-doc/usr/share/doc/jblas-doc/
+	touch $@
+
+get-orig-source:
+	-uscan --rename --upstream-version 0
+	@echo successfully retrieved upstream tarball
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..cb5d0dc
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+https://ml01.zrz.tu-berlin.de/trac/jblas/attachment/wiki/WikiStart/jblas-0.1.tgz \
+.*/raw-attachment/wiki/WikiStart/jblas-(.*).tgz \
+ debian debian/orig-tar.sh

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



More information about the pkg-java-commits mailing list