[med-svn] [libkmlframework-java] 01/06: Inject libkmlframework as a precondition for some Java phylogeny tools
Andreas Tille
tille at debian.org
Tue Dec 1 12:26:32 UTC 2015
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository libkmlframework-java.
commit d16421f93dff1b02fcc94af2cf4557a09049ce38
Author: Andreas Tille <tille at debian.org>
Date: Wed Jan 18 11:54:31 2012 +0000
Inject libkmlframework as a precondition for some Java phylogeny tools
---
debian/changelog | 5 ++++
debian/compat | 1 +
debian/control | 20 ++++++++++++++++
debian/copyright | 32 +++++++++++++++++++++++++
debian/libkmlframework-java.jlibs | 1 +
debian/patches/build_xml.patch | 49 +++++++++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
debian/rules | 19 +++++++++++++++
debian/source/format | 1 +
debian/watch | 2 ++
10 files changed, 131 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..b864a32
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+libkmlframework-java (0.0.20090718-1) UNRELEASED; urgency=low
+
+ * Initial release Closes: #????
+
+ -- Andreas Tille <tille at debian.org> Tue, 17 Jan 2012 13:12:16 +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..c5e877c
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,20 @@
+Source: libkmlframework-java
+Section: java
+Priority: optional
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+DM-Upload-Allowed: yes
+Uploaders: Andreas Tille <tille at debian.org>
+Build-Depends: debhelper (>= 8), javahelper (>=0.25), default-jdk, ant, libservlet2.5-java
+Standards-Version: 3.9.2
+Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/libkmlframework-java/trunk/
+Vcs-Svn: svn://svn.debian.org/debian-med/trunk/packages/libkmlframework-java/trunk/
+Homepage: http://code.google.com/p/kmlframework/
+
+Package: libkmlframework-java
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${java:Depends}
+Recommends: ${java:Recommends}
+Description: library/framework for generating Google Earth KML
+ The KML Framework is a library/framework for generating Google Earth
+ KML (Keyhole Markup Language) documents. The framework is based on the
+ work done by Eivind Bøhn as a part of his Master Thesis.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..1b895d5
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,32 @@
+Format: http://dep.debian.net/deps/dep5/
+Upstream-Name: Options
+Upstream-Contact: Eivind Bøhn <eivind at boehn.org>
+Source: http://code.google.com/p/kmlframework/downloads/list
+
+Files: *
+Copyright: © 2007-2009 Eivind Bøhn <eivind at boehn.org>
+License: BSD 2-Clause License
+ 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.
+ 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.
+
+Files: debian/*
+Copyright: © 2012 Andreas Tille
+License: BSD 2-Clause License
+ Same as source code itself
diff --git a/debian/libkmlframework-java.jlibs b/debian/libkmlframework-java.jlibs
new file mode 100644
index 0000000..8c5987b
--- /dev/null
+++ b/debian/libkmlframework-java.jlibs
@@ -0,0 +1 @@
+lib/*.jar
diff --git a/debian/patches/build_xml.patch b/debian/patches/build_xml.patch
new file mode 100644
index 0000000..0aa87da
--- /dev/null
+++ b/debian/patches/build_xml.patch
@@ -0,0 +1,49 @@
+--- /dev/null
++++ libkmlframework-java-20090718/src/build.xml
+@@ -0,0 +1,46 @@
++<project name="kmlframework" basedir="." default="dist">
++
++ <property environment="env" />
++
++ <property name="version" value="1.2" />
++ <property name="build.nb" value="0" />
++
++ <patternset id="java.libs" includes="*.jar" />
++ <path id="mylibs">
++ <fileset dir="/usr/share/java">
++ <patternset refid="java.libs" />
++ </fileset>
++ </path>
++
++ <property name="src.dir" value="." />
++ <property name="bin.dir" value="../bin" />
++ <property name="lib.dir" value="../lib" />
++
++ <patternset id="java.libs" includes="*.jar" />
++
++ <target name="clean" description="Delete all generated files">
++ <delete dir="${bin.dir}" />
++ </target>
++
++ <target name="compile" description="Compile src files"
++ depends="clean">
++ <delete dir="${bin.dir}" />
++ <mkdir dir="${bin.dir}" />
++ <javac classpathref="mylibs" srcdir="${src.dir}" destdir="${bin.dir}">
++ </javac>
++ </target>
++
++ <target name="create-jar" description="Create jar file" depends="compile">
++ <jar destfile="${lib.dir}/org.boehn.kmlframework.jar" basedir="${bin.dir}"
++ update="true">
++ <manifest>
++ <!-- <attribute name="Main-Class" value="THE MAIN CLASS OF THE PROGRAM" /> -->
++ <attribute name="Implementation-Version" value="${version}" />
++ <attribute name="Implementation-Build" value="${build.nb}" />
++ </manifest>
++ </jar>
++ </target>
++
++ <target name="dist" depends="create-jar" />
++
++</project>
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..46a7f4e
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+build_xml.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..2016247
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,19 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# debian/rules file for libkmlframework-java
+# Andreas Tille <tille at debian.org>
+# GPL
+
+%:
+ dh $@ --with javahelper
+
+override_dh_auto_build:
+ ant -f src/build.xml
+
+override_dh_clean:
+ ant -f src/build.xml clean
+ rm -rf lib
+ dh_clean
+
+get-orig-source:
+ uscan --verbose --force-download --repack --rename
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..1530fbc
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://googlecode.debian.net/p/kmlframework/org.boehn.kmlframework_(\d+).zip
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/libkmlframework-java.git
More information about the debian-med-commit
mailing list