[liboptimization-java] 02/02: Inject initial Debian packaging
Andreas Tille
tille at debian.org
Thu May 15 13:08:57 UTC 2014
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository liboptimization-java.
commit b814f4789d5c86f27cf891c916438b60f766bdd6
Author: Andreas Tille <tille at debian.org>
Date: Thu May 15 15:03:49 2014 +0200
Inject initial Debian packaging
---
debian/README.source | 28 ++++++++++++++++++++++++++++
debian/changelog | 18 ++++++++++++++++++
debian/compat | 1 +
debian/control | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
debian/copyright | 38 ++++++++++++++++++++++++++++++++++++++
debian/docs | 2 ++
debian/jlibs | 1 +
debian/rules | 24 ++++++++++++++++++++++++
debian/source/format | 1 +
debian/watch | 2 ++
10 files changed, 163 insertions(+)
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..8429165
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,28 @@
+The upstream ships with a small piece of code that is non-free,
+but as it is only used for tests it is possible to excise it entirely
+while still making a useful package.
+
+Here is what was in copyright before the code was pruned:
+
+Files: Console.java
+Author: Copyright (C) 1996 Cay Horstmann
+License: Non-commercial use only
+ * Gary Cornell and Cay S. Horstmann, Core Java (Book/CD-ROM)
+ * Published By SunSoft Press/Prentice-Hall
+ * Copyright (C) 1996 Sun Microsystems Inc.
+ * All Rights Reserved. ISBN 0-13-565755-5
+ *
+ * Permission to use, copy, modify, and distribute this
+ * software and its documentation for NON-COMMERCIAL purposes
+ * and without fee is hereby granted provided that this
+ * copyright notice appears in all copies.
+ *
+ * THE AUTHORS AND PUBLISHER MAKE NO REPRESENTATIONS OR
+ * WARRANTIES ABOUT THE SUITABILITY OF THE SOFTWARE, EITHER
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
+ * PARTICULAR PURPOSE, OR NON-INFRINGEMENT. THE AUTHORS
+ * AND PUBLISHER SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED
+ * BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING
+ * THIS SOFTWARE OR ITS DERIVATIVES.
+
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..b7a0fee
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,18 @@
+liboptimization-java (0.1-1) UNRELEASED; urgency=medium
+
+ * Initial upload to Debian (Closes: #???)
+
+ -- Andreas Tille <tille at debian.org> Wed, 14 May 2014 21:39:17 +0200
+
+liboptimization-java (0.1-0ubuntu3) trusty; urgency=low
+
+ * Rebuild for Trusty
+
+ -- Tim Booth <tbooth at ceh.ac.uk> Fri, 25 Apr 2014 12:51:54 +0100
+
+liboptimization-java (0.1-0ubuntu2) precise; urgency=low
+
+ * Initial (and probably final) release
+ * Excise rather trivial but nevertheless non-free code
+
+ -- Tim Booth <tbooth at ceh.ac.uk> Tue, 08 Apr 2014 19:32:41 +0100
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..03645a6
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,48 @@
+Source: liboptimization-java
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Tim Booth <tbooth at ceh.ac.uk>,
+ Andreas Tille <tille at debian.org>
+Section: java
+Priority: optional
+Build-Depends: debhelper (>= 9),
+ default-jdk,
+ javahelper
+Standards-Version: 3.9.5
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-java/liboptimization-java.git
+Vcs-Git: git://anonscm.debian.org/pkg-java/liboptimization-java.git
+Homepage: http://www1.fpl.fs.fed.us/optimization.html
+
+Package: liboptimization-java
+Architecture: all
+Depends: ${java:Depends},
+ ${misc:Depends}
+Description: Nonlinear Optimization Java Package
+ Currently (as of 8/8/05) this package contains Java translations of the
+ 1-dimensional minimization routine, fmin, the multi-dimensional minimization
+ routine Uncmin, the MINPACK nonlinear least squares routines (lmder1, lmder,
+ lmdif1, and lmdif), and the SLATEC 1-dimensional zero-finding routine, dfzero.
+ Eventually, the package will also contain Java translations of some of the
+ MINPACK nonlinear equation solvers.
+ .
+ The 1-dimensional minimization routine is an unofficial Java translation of the
+ FORTRAN version of the public domain fmin routine that can be found at
+ www.netlib.org/go/fmin.f.
+ .
+ The multi-dimensional minimization routine is an unofficial Java translation of
+ the public domain FORTRAN Uncmin package (umdpn.f). For documentation see
+ Dennis and Schnabel, Numerical Methods for Unconstrained Optimization and
+ Nonlinear Equations, Prentice-Hall, 1983, and Schnabel, Koontz, and Weiss,
+ "A Modular System of Algorithms for Unconstrained Minimization,"
+ ACM Transactions of Mathematical Software, 1985, pages 419 -- 440.
+ .
+ Uncmin can perform unconstrained nonlinear optimizations. Here is information
+ about constrained nonlinear optimizations.
+ .
+ The nonlinear least squares routines are unofficial Java translations of the
+ FORTRAN versions of the public domain MINPACK nonlinear least squares routines
+ that can be found at www.netlib.org/minpack.
+ .
+ The 1-dimensional zero-finding routine is an unofficial Java translation of the
+ FORTRAN version of the public domain SLATEC dfzero routine that can be found at
+ netlib. Either go to www.netlib.org and do a search for dfzero.f, or go to
+ www.netlib.org/slatec and download the entire SLATEC library.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..050f3eb
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,38 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: FPL Nonlinear Optimization Java Package
+Upstream-Contact: Steve Verrill <steve at swst.org>
+Source: http://www1.fpl.fs.fed.us/optimization.src.tar.html
+Files-Excluded: Console.java
+ *Test*.java
+ *.class
+
+Files: *
+Copyright: Public Domain
+License: PublicDomain
+ Package optimization copyright claim:
+ .
+ These classes were either developed by a US Government employee
+ on official time, or they were translated from public domain
+ sources by a US Government employee on official time. Thus
+ they are in the public domain.
+ .
+ These programs are distributed in the hope that they will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ .
+ The author/translator's mail address is
+ .
+ Steve Verrill
+ USDA Forest Products Laboratory
+ 1 Gifford Pinchot Drive
+ Madison, Wisconsin
+ 53705
+ .
+ The author/translator's e-mail address is
+ .
+ steve at ws10.fpl.fs.fed.us
+
+Files: debian/*
+Copyright: Tim Booth <tbooth at ceh.ac.uk>
+License: Unrestricted
+ Redistribution and use, with or without modification, are permitted.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..e5d49ab
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,2 @@
+README
+disclaimer
diff --git a/debian/jlibs b/debian/jlibs
new file mode 100644
index 0000000..bc3c773
--- /dev/null
+++ b/debian/jlibs
@@ -0,0 +1 @@
+optimization.jar
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..57247c0
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,24 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+ dh $@ --with javahelper
+
+override_dh_auto_clean:
+ rm -f *.class *.jar
+ rm -rf optimization
+
+override_dh_auto_build:
+ mkdir -p optimization
+ cp *.java optimization/
+ jh_build optimization.jar optimization
+ rm optimization/*.java
+
+get-orig-source:
+ wget --output-document=../src.tar.Z ftp://www1.fpl.fs.fed.us/pub/optim/src.tar.Z
+ # Hint: dealing with .Z compression needs a patch for devscripts
+ # If you want to recreate the source you probably need to manually deal with this
+ # Additional note: The ftpdownload seems to be broken most of the time
+ mk-origtargz --repack --compress xz ../src.tar.Z
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..c09fa32
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+#No watch file, as the code at ftp://www1.fpl.fs.fed.us/pub/optim/src.tar.Z
+#is basically never going to change.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/liboptimization-java.git
More information about the pkg-java-commits
mailing list