diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000000000000000000000000000000000000..3c4b0088be414747b306a87b1640c8fb1b708527 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +libjscience-java (4.3.1-1) UNRELEASED; urgency=low + + * Initial release (Closes: #xxxxxx). + + -- Andreas Tille <tille@debian.org> Sat, 19 May 2018 00:11:29 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +11 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000000000000000000000000000000000000..77054477b779455241cd60726d9d3e545f9cfa39 --- /dev/null +++ b/debian/control @@ -0,0 +1,23 @@ +Source: libapfloat-java +Maintainer: Debian Java Maintainers <pkg-java-maintainers@alioth-lists.debian.net> +Uploaders: Andreas Tille <tille@debian.org> +Section: java +Priority: optional +Build-Depends: debhelper (>= 11~), + default-jdk, + javahelper +Standards-Version: 4.1.4 +Vcs-Browser: https://salsa.debian.org/java-team/libjscience-java +Vcs-Git: https://salsa.debian.org/java-team/libjscience-java.git +Homepage: http://jscience.org/ + +Package: libjscience-java +Architecture: all +Depends: ${java:Depends}, + ${misc:Depends} +Description: Java tools and libraries for the advancement of sciences + Comprehensive JavaTM library for the scientific community. It creates + synergy between all sciences (e.g. math, physics, sociology, biology, + astronomy, economics, etc.) by integrating them into a single + architecture. It provides on-line services (webstart) for scientific + calculations and visualizations. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000000000000000000000000000000000000..f4ff1b5fc19d11babf89fb1356f3849fd8b61155 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,13 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: JScience +Upstream-Contact: jean-marie@dautelle.com +Source: http://www.java2s.com/Code/Jar/j/Downloadjscience431sourcesjar.htm + +Files: * +Copyright: 2006-2014 +License: + +Files: debian/* +Copyright: 2018 Andreas Tille <tille@debian.org> +License: + diff --git a/debian/get-orig-source b/debian/get-orig-source new file mode 100755 index 0000000000000000000000000000000000000000..57e400d41c02448d9aefddb5f5bc2e5fac65d602 --- /dev/null +++ b/debian/get-orig-source @@ -0,0 +1,56 @@ +#!/bin/sh +# if you need to repack for whatever reason you can +# use this script via uscan or directly +# +# FIXME: currently the code is not conform to Debian Policy +# http://www.debian.org/doc/debian-policy/ch-source.html +# "get-orig-source (optional)" +# This target may be invoked in any directory, ... +# --> currently it is assumed the script is called in the +# source directory featuring the debian/ dir + +# Excluding files and repacking archives +# -------------------------------------- +# See also mk-origtargz(1) and the --repack option to uscan(1), which +# honor the Files-Excluded list in debian/copyright. +# That may be all you need, especially since the repack option can be set +# in debian/watch. + +# For an example how to fetch source from sourceforge SVN see +# https://anonscm.debian.org/git/debian-med/kmer-tools.git + +COMPRESS=xz + +set -x +set -e +NAME=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'` + +if ! echo $@ | grep -q upstream-version ; then + VERSION=`dpkg-parsechangelog | awk '/^Version:/ { print $2 }' | sed 's/\([0-9\.]\+\)-[0-9]\+$/\1/'` + uscan --force-download +else + VERSION=`echo $@ | sed "s?^.*--upstream-version \([0-9.]\+\) .*${NAME}.*?\1?"` + if echo "$VERSION" | grep -q "upstream-version" ; then + echo "Unable to parse version number" + exit + fi +fi + +TARDIR=${NAME}-${VERSION} +mkdir -p ../tarballs +cd ../tarballs +# need to clean up the tarballs dir first because upstream tarball might +# contain a directory with unpredictable name +rm -rf * +tar -xaf ../${NAME}_${VERSION}.orig.tar.gz +rm ../${NAME}_${VERSION}.orig.tar.gz + +mkdir ${TARDIR} +cd ${TARDIR} +unzip -q ../*.jar +rm ../*.jar +rm -rf META-INF +cd .. + +GZIP="--best --no-name" tar --owner=root --group=root --mode=a+rX -caf "$NAME"_"$VERSION".orig.tar.${COMPRESS} "${TARDIR}" +rm -rf ${TARDIR} diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000000000000000000000000000000000000..ca9fd4189f1c4489c5555900648e086bb6ba79dd --- /dev/null +++ b/debian/rules @@ -0,0 +1,11 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +%: + dh $@ --with javahelper + +get-orig-source: + . debian/get-orig-source diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000000000000000000000000000000000000..163aaf8d82b6c54f23c45f32895dbdfdcc27b047 --- /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 0000000000000000000000000000000000000000..532e5bdcf60479750349df7bec02360a294b9554 --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=4 + +http://www.java2s.com/Code/Jar/j/Downloadjscience431sourcesjar.htm .*/jscience/jscience-@ANY_VERSION@-sources\.jar\.zip