[pkg-java] r5044 - in trunk: . jericho-html jericho-html/debian
twerner at alioth.debian.org
twerner at alioth.debian.org
Sun Dec 16 10:09:44 UTC 2007
Author: twerner
Date: 2007-12-16 10:09:44 +0000 (Sun, 16 Dec 2007)
New Revision: 5044
Added:
trunk/jericho-html/
trunk/jericho-html/build.properties
trunk/jericho-html/build.xml
trunk/jericho-html/debian/
trunk/jericho-html/debian/changelog
trunk/jericho-html/debian/compat
trunk/jericho-html/debian/control
trunk/jericho-html/debian/copyright
trunk/jericho-html/debian/doc-base
trunk/jericho-html/debian/orig-tar.sh
trunk/jericho-html/debian/rules
trunk/jericho-html/debian/watch
Log:
move jericho-html to alioth
Added: trunk/jericho-html/build.properties
===================================================================
--- trunk/jericho-html/build.properties (rev 0)
+++ trunk/jericho-html/build.properties 2007-12-16 10:09:44 UTC (rev 5044)
@@ -0,0 +1,4 @@
+project.version=2.3
+installdir=/usr/share/java
+installdocdir=/usr/share/doc/libjericho-html-java
+
Added: trunk/jericho-html/build.xml
===================================================================
--- trunk/jericho-html/build.xml (rev 0)
+++ trunk/jericho-html/build.xml 2007-12-16 10:09:44 UTC (rev 5044)
@@ -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>
Added: trunk/jericho-html/debian/changelog
===================================================================
--- trunk/jericho-html/debian/changelog (rev 0)
+++ trunk/jericho-html/debian/changelog 2007-12-16 10:09:44 UTC (rev 5044)
@@ -0,0 +1,5 @@
+jericho-html (2.3-1) unstable; urgency=low
+
+ * Initial release (Closes: #352591)
+
+ -- Torsten Werner <twerner at debian.org> Wed, 18 Apr 2007 01:11:45 +0200
Added: trunk/jericho-html/debian/compat
===================================================================
--- trunk/jericho-html/debian/compat (rev 0)
+++ trunk/jericho-html/debian/compat 2007-12-16 10:09:44 UTC (rev 5044)
@@ -0,0 +1 @@
+5
Added: trunk/jericho-html/debian/control
===================================================================
--- trunk/jericho-html/debian/control (rev 0)
+++ trunk/jericho-html/debian/control 2007-12-16 10:09:44 UTC (rev 5044)
@@ -0,0 +1,23 @@
+Source: jericho-html
+Section: libs
+Priority: optional
+Maintainer: Torsten Werner <twerner at 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
+
Added: trunk/jericho-html/debian/copyright
===================================================================
--- trunk/jericho-html/debian/copyright (rev 0)
+++ trunk/jericho-html/debian/copyright 2007-12-16 10:09:44 UTC (rev 5044)
@@ -0,0 +1,28 @@
+This package was debianized by Torsten Werner <twerner at debian.org> on
+Wed Apr 18 01:16:38 CEST 2007.
+
+It was downloaded from http://jerichohtml.sourceforge.net/
+
+Upstream Author: Martin Jericho <mart3862 at yahoo.com.au>
+
+Copyright:
+(C) 2006 Martin Jericho <mart3862 at 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 <twerner at debian.org> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+
Added: trunk/jericho-html/debian/doc-base
===================================================================
--- trunk/jericho-html/debian/doc-base (rev 0)
+++ trunk/jericho-html/debian/doc-base 2007-12-16 10:09:44 UTC (rev 5044)
@@ -0,0 +1,10 @@
+Document: jericho-html
+Title: Debian jericho-html Manual
+Author: Martin Jericho <mart3862 at 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
+
Added: trunk/jericho-html/debian/orig-tar.sh
===================================================================
--- trunk/jericho-html/debian/orig-tar.sh (rev 0)
+++ trunk/jericho-html/debian/orig-tar.sh 2007-12-16 10:09:44 UTC (rev 5044)
@@ -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
+
Property changes on: trunk/jericho-html/debian/orig-tar.sh
___________________________________________________________________
Name: svn:executable
+
Added: trunk/jericho-html/debian/rules
===================================================================
--- trunk/jericho-html/debian/rules (rev 0)
+++ trunk/jericho-html/debian/rules 2007-12-16 10:09:44 UTC (rev 5044)
@@ -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
+
Property changes on: trunk/jericho-html/debian/rules
___________________________________________________________________
Name: svn:executable
+
Added: trunk/jericho-html/debian/watch
===================================================================
--- trunk/jericho-html/debian/watch (rev 0)
+++ trunk/jericho-html/debian/watch 2007-12-16 10:09:44 UTC (rev 5044)
@@ -0,0 +1,4 @@
+version=3
+http://heanet.dl.sourceforge.net/sourceforge/jerichohtml/ jericho-html-(.*).zip \
+ debian debian/orig-tar.sh
+
More information about the pkg-java-commits
mailing list