Skip to content
Snippets Groups Projects
Commit 66637be3 authored by Andreas Tille's avatar Andreas Tille
Browse files

Initial packaging

parent bf861a7e
No related branches found
No related tags found
No related merge requests found
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
11
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.
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:
#!/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}
#!/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
3.0 (quilt)
version=4
http://www.java2s.com/Code/Jar/j/Downloadjscience431sourcesjar.htm .*/jscience/jscience-@ANY_VERSION@-sources\.jar\.zip
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment