[libnetlib-java] 02/14: [svn-inject] Applying Debian modifications (0.9.3-1) to trunk
Andreas Tille
tille at debian.org
Tue Sep 2 09:52:34 UTC 2014
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository libnetlib-java.
commit 76df9d2c4c7a3afca4c4cac58b35b9efbf22bf87
Author: Olivier Sallou <osallou at debian.org>
Date: Mon Mar 26 15:01:28 2012 +0000
[svn-inject] Applying Debian modifications (0.9.3-1) to trunk
---
debian/changelog | 6 ++++
debian/compat | 1 +
debian/control | 24 +++++++++++++
debian/copyright | 68 +++++++++++++++++++++++++++++++++++
debian/docs | 0
debian/get-orig-source | 29 +++++++++++++++
debian/libnetlib-java.jlibs | 1 +
debian/patches/series | 1 +
debian/patches/update_classpath.patch | 21 +++++++++++
debian/rules | 22 ++++++++++++
debian/source/format | 1 +
debian/watch | 4 +++
12 files changed, 178 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..ee429b7
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+netlib-java (0.9.3-1) UNRELEASED; urgency=low
+
+ * Initial release (Closes: #665343)
+ waiting for validation
+
+ -- Olivier Sallou <osallou at debian.org> Mon, 26 Mar 2012 14:15:20 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..45a4fb7
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+8
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..0897be3
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,24 @@
+Source: netlib-java
+Section: java
+Priority: optional
+Build-Depends: debhelper (>= 8.0.0), unzip, f2j, libjlapack-java, javahelper (>=0.25),
+ default-jdk, junit
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+DM-Upload-Allowed: yes
+Uploaders: Olivier Sallou <osallou at debian.org>
+Standards-Version: 3.9.3
+Homepage: http://code.google.com/p/netlib-java
+Vcs-Svn: svn://svn.debian.org/debian-med/trunk/packages/libnetlib-java/trunk
+Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/libnetlib-java/trunk/
+
+
+Package: libnetlib-java
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${java:Depends}, f2j, libjlapack-java
+Description: collection of mission-critical software components for linear algebra systems
+ Netlib is a collection of mission-critical software components for linear
+ algebra systems (i.e. working with vectors or matrices).
+ .
+ Netlib libraries are written in C, Fortran or optimised assembly code.
+ This package provides a Java translation but it does not take advantage of
+ optimised system libraries.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..f4c0398
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,68 @@
+Format: http://dep.debian.net/deps/dep5
+Upstream-Name: netlib-java
+Source: http://code.google.com/p/netlib-java/
+
+License: BSD
+ 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 listed
+ in this license in the documentation and/or other materials
+ provided with the distribution.
+ .
+ - Neither the name of the copyright holders 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
+ OWNER 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: 2007 Samuel Halliday, ThinkTank Maths Limited
+ 2003-2007 Keith Seymour.
+ 1992-2007 The University of Tennessee. All rights reserved.
+License: BSD
+
+Files: src/org/netlib/generate/JNIGenerator.java src/org/netlib/generate/JNIGenerator.java
+Copyright: 2006, 2007 Samuel Halliday, ThinkTank Maths Limited
+License: BSD
+
+Files: jni/arpack.h
+Copyright: 1997 Richard Lehoucq, Rice University
+ 1997 Danny Sorensen, Rice University
+ 1997 Chao Yang, Rice University
+License:
+
+Files: debian/*
+Copyright: 2012 Olivier Sallou <osallou at debian.org>
+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 <http://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
+
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..e69de29
diff --git a/debian/get-orig-source b/debian/get-orig-source
new file mode 100755
index 0000000..85393c8
--- /dev/null
+++ b/debian/get-orig-source
@@ -0,0 +1,29 @@
+#!/bin/bash
+
+set -e
+
+PKG=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'`
+VERSION=`uscan --verbose --force-download |
+ grep "Newest version on remote site is .* local version is .*" |
+ head -n 1 |
+ sed "s/Newest version on remote site is \([a-z0-9.]\+\),.*/\1/"`
+
+mkdir -p ../tarballs
+cd ../tarballs
+
+UTAR="${PKG}-${VERSION}.zip"
+mv ../${UTAR} .
+unzip ${UTAR}
+
+mv ${PKG}-${VERSION} $PKG-${VERSION}.orig
+
+cd $PKG-${VERSION}.orig
+ rm -f netlib-java-0.9.3.jar
+ rm lib/junit/junit-3.8.2.jar
+ rm lib/f2j/arpack-combo-0.1.jar
+cd ..
+
+rm $UTAR
+
+BZIP2="--best" tar -cjf ${PKG}_${VERSION}.orig.tar.bz2 ${PKG}-${VERSION}.orig
+rm -rf ${PKG}-${VERSION}.orig
diff --git a/debian/libnetlib-java.jlibs b/debian/libnetlib-java.jlibs
new file mode 100644
index 0000000..d9395bc
--- /dev/null
+++ b/debian/libnetlib-java.jlibs
@@ -0,0 +1 @@
+netlib-java.jar
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..d2d0807
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+update_classpath.patch
diff --git a/debian/patches/update_classpath.patch b/debian/patches/update_classpath.patch
new file mode 100644
index 0000000..9561f3a
--- /dev/null
+++ b/debian/patches/update_classpath.patch
@@ -0,0 +1,21 @@
+--- a/build.xml
++++ b/build.xml
+@@ -35,14 +35,12 @@
+ -->
+ <target name="package" depends="javadoc">
+ <!-- TODO: unpack and include the F2J classes -->
+- <jar destfile="netlib-java-${version}.jar">
++ <jar destfile="netlib-java.jar">
+ <fileset dir="build/classes"
+ excludes="**org/netlib/generate**" />
+ </jar>
+- <move file="dist/javadoc" todir="." />
+- <zip destfile="netlib-java-${version}.zip">
+- <zipfileset dir="." excludes="**/lib/nblibraries-private.properties **/nbproject/private** **/.ant-targets-build.xml dist/** build/** **/*.zip **/.svn** **/jni/*.tar.gz" prefix="netlib-java-${version}" />
+- </zip>
+- <delete dir="javadoc"/>
+ </target>
++
++<property name="javac.classpath" value="/usr/share/java/junit.jar:/usr/share/java/f2jutil.jar:/usr/share/java/jlapack-blas.jar:/usr/share/java/jlapack-lapack.jar:/usr/share/java/jlapack-xerbla.jar"/>
++
+ </project>
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..83d36c0
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,22 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+ dh $@ --with javahelper
+
+override_dh_auto_build:
+ ant clean generate compile package
+
+get-orig-source:
+ debian/get-orig-source
+
+override_jh_installjavadoc:
+ jh_installjavadoc dist/javadoc
+
+override_dh_clean:
+ rm -f netlib-java.jar
+ dh_clean
+
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..3ecbe85
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+# Compulsory line, this is a version 3 file
+version=3
+
+http://code.google.com/p/netlib-java/downloads/list //netlib-java.googlecode.com/files/netlib-java-(.*)\.zip
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libnetlib-java.git
More information about the pkg-java-commits
mailing list