This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository jericho-html.

commit a49f2691e79707cedc33250e07c41154905a31d3
Author: Torsten Werner <twer...@debian.org>
Date:   Sun Dec 16 10:09:44 2007 +0000

    move jericho-html to alioth
---
 build.properties   |  4 ++++
 build.xml          | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/changelog   |  5 +++++
 debian/compat      |  1 +
 debian/control     | 23 +++++++++++++++++++++++
 debian/copyright   | 28 ++++++++++++++++++++++++++++
 debian/doc-base    | 10 ++++++++++
 debian/orig-tar.sh | 18 ++++++++++++++++++
 debian/rules       | 17 +++++++++++++++++
 debian/watch       |  4 ++++
 10 files changed, 161 insertions(+)

diff --git a/build.properties b/build.properties
new file mode 100644
index 0000000..1a20131
--- /dev/null
+++ b/build.properties
@@ -0,0 +1,4 @@
+project.version=2.3
+installdir=/usr/share/java
+installdocdir=/usr/share/doc/libjericho-html-java
+
diff --git a/build.xml b/build.xml
new file mode 100644
index 0000000..30131d0
--- /dev/null
+++ b/build.xml
@@ -0,0 +1,51 @@
+<project name="jericho-html" basedir="." default="build">
+
+  <property file="./build.properties"/>
+  <property name="jarfile"
+    value="${ant.project.name}-${project.version}.jar"/>
+
+  <target name="build"
+    description="build the jar file">
+    <mkdir dir="build"/>
+    <javac srcdir="src" destdir="build"/>
+    <jar destfile="${jarfile}" basedir="build" index="yes"/>
+  </target>
+
+  <target name="doc"
+    description="create documentation">
+    <javadoc Windowtitle="Jericho HTML Parser ${project.version}"
+      Use="true" stylesheetfile="src/css/javadoc.css"
+      packagenames="au.id.jericho.lib.html"
+      group="Core Package au.id.jericho.lib.html"
+      sourcepath="src/java" destdir="doc/api"/>
+  </target>
+
+  <target name="buildsamples" depends="build"
+    description="build the samples">
+    <mkdir dir="samples/CommandLine/bin"/>
+    <javac srcdir="samples/CommandLine/src" destdir="samples/CommandLine/bin"
+      classpath="${jarfile}"/>
+  </target>
+
+  <target name="runsample" depends="buildsamples"
+    description="run a sample, the property 'sample' must be set">
+    <java classname="${sample}" fork="yes" dir="samples/CommandLine"
+      classpath="${jarfile}:samples/CommandLine/bin"/>
+  </target>
+
+  <target name="install" depends="build,doc"
+    description="installs the jar file and documentation">
+    <copy file="${jarfile}" todir="${destdir}${installdir}"/>
+    <copy todir="${destdir}${installdocdir}">
+      <fileset dir="doc/api" includes="**"/>
+    </copy>
+  </target>
+
+  <target name="clean"
+     description="clean up the build dir">
+     <delete dir="build"/>
+     <delete dir="doc"/>
+     <delete dir="samples/CommandLine/bin"/>
+  </target>
+
+</project>
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..26f6f5e
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+jericho-html (2.3-1) unstable; urgency=low
+
+  * Initial release (Closes: #352591)
+
+ -- Torsten Werner <twer...@debian.org>  Wed, 18 Apr 2007 01:11:45 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..b4787e9
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,23 @@
+Source: jericho-html
+Section: libs
+Priority: optional
+Maintainer: Torsten Werner <twer...@debian.org>
+Build-Depends: ant, cdbs, debhelper (>= 5), kaffe
+Standards-Version: 3.7.2
+X-XS-Vcs-Svn: http://bollin.googlecode.com/svn/jericho-html/trunk
+
+Package: libjericho-html-java
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends},
+ kaffe-pthreads | java1-runtime | java2-runtime
+Suggests: java-virtual-machine
+Description: Java based library for HTML Parsing
+ Jericho HTML Parser is a simple but powerful java library allowing
+ analysis and manipulation of parts of an HTML document, including
+ some common server-side tags, while reproducing verbatim any
+ unrecognised or invalid HTML.
+ .
+ It also provides high-level HTML form manipulation functions.
+ .
+  Homepage: http://jerichohtml.sourceforge.net
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..5c8417f
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,28 @@
+This package was debianized by Torsten Werner <twer...@debian.org> on
+Wed Apr 18 01:16:38 CEST 2007.
+
+It was downloaded from http://jerichohtml.sourceforge.net/
+
+Upstream Author: Martin Jericho <mart3...@yahoo.com.au>
+
+Copyright: 
+(C) 2006 Martin Jericho <mart3...@yahoo.com.au>
+
+License:
+
+    This package is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Lesser 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
+    Lesser General Public License for more details.
+
+On Debian systems, the complete text of the GNU Lesser General
+Public License can be found in `/usr/share/common-licenses/LGPL'.
+
+The Debian packaging is (C) 2007, Torsten Werner <twer...@debian.org> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+
diff --git a/debian/doc-base b/debian/doc-base
new file mode 100644
index 0000000..65bcfb7
--- /dev/null
+++ b/debian/doc-base
@@ -0,0 +1,10 @@
+Document: jericho-html
+Title: Debian jericho-html Manual
+Author: Martin Jericho <mart3...@yahoo.com.au>
+Abstract: User manual for libjericho-html-java.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libjericho-html-java/index.html
+Files: /usr/share/doc/libjericho-html-java/*.html
+ 
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
new file mode 100755
index 0000000..a640339
--- /dev/null
+++ b/debian/orig-tar.sh
@@ -0,0 +1,18 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version' <version> <file>
+
+# clean up the upstream tarball
+unzip $3
+rm -rf jericho-html-$2/bin jericho-html-$2/doc jericho-html-$2/lib \
+  jericho-html-$2/samples/CommandLine/bin
+tar -c -z -f jericho-html_$2.orig.tar.gz jericho-html-$2
+rm -rf jericho-html-$2 $3
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+  . .svn/deb-layout
+  mv jericho-html_$2.orig.tar.gz $origDir
+  echo "moved jericho-html_$2.orig.tar.gz to $origDir"
+fi
+
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..3643b74
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/class/ant.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+JAVA_HOME = /usr/lib/kaffe
+
+DEB_ANT_INSTALL_TARGET = install -Ddestdir=$(DEB_DESTDIR)
+DEB_ANT_CLEAN_TARGET = clean
+
+install/libjericho-html-java::
+       dh_link /usr/share/java/jericho-html-$(DEB_UPSTREAM_VERSION).jar \
+         /usr/share/java/jericho-html.jar
+
+get-orig-source:
+       uscan --upstream-version 0
+
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..dfc393f
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+http://heanet.dl.sourceforge.net/sourceforge/jerichohtml/ 
jericho-html-(.*).zip \
+  debian debian/orig-tar.sh
+

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-java/jericho-html.git

_______________________________________________
pkg-java-commits mailing list
pkg-java-comm...@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to