r2347 - in branches/nekohtml/debian: . debian

Marcus Better marcusb-guest at costa.debian.org
Wed Aug 23 11:01:17 UTC 2006


Author: marcusb-guest
Date: 2006-08-23 11:01:16 +0000 (Wed, 23 Aug 2006)
New Revision: 2347

Added:
   branches/nekohtml/debian/debian/
   branches/nekohtml/debian/debian/README.Debian
   branches/nekohtml/debian/debian/changelog
   branches/nekohtml/debian/debian/compat
   branches/nekohtml/debian/debian/control
   branches/nekohtml/debian/debian/copyright
   branches/nekohtml/debian/debian/libnekohtml-java.dirs
   branches/nekohtml/debian/debian/libnekohtml-java.doc-base
   branches/nekohtml/debian/debian/libnekohtml-java.docs
   branches/nekohtml/debian/debian/libnekohtml-java.install
   branches/nekohtml/debian/debian/rules
Log:
Imported debian directory.


Added: branches/nekohtml/debian/debian/README.Debian
===================================================================
--- branches/nekohtml/debian/debian/README.Debian	2006-08-23 10:59:18 UTC (rev 2346)
+++ branches/nekohtml/debian/debian/README.Debian	2006-08-23 11:01:16 UTC (rev 2347)
@@ -0,0 +1,12 @@
+NekoHTML for Debian
+===================
+
+The Debian source package differs from the original source in that the
+following parts have been removed:
+
+ - precompiled jar files
+ - Javascript documentation
+
+All of these are regenerated during the build process.
+
+ -- Marcus Better <marcus at better.se>, Tue, 22 Aug 2006 14:56:15 +0200

Added: branches/nekohtml/debian/debian/changelog
===================================================================
--- branches/nekohtml/debian/debian/changelog	2006-08-23 10:59:18 UTC (rev 2346)
+++ branches/nekohtml/debian/debian/changelog	2006-08-23 11:01:16 UTC (rev 2347)
@@ -0,0 +1,5 @@
+nekohtml (0.9.5-1~unreleased.1) unstable; urgency=low
+
+  * Initial release. (Closes: #382995)
+
+ -- Marcus Better <marcus at better.se>  Tue, 15 Aug 2006 13:22:11 +0200

Added: branches/nekohtml/debian/debian/compat
===================================================================
--- branches/nekohtml/debian/debian/compat	2006-08-23 10:59:18 UTC (rev 2346)
+++ branches/nekohtml/debian/debian/compat	2006-08-23 11:01:16 UTC (rev 2347)
@@ -0,0 +1 @@
+5

Added: branches/nekohtml/debian/debian/control
===================================================================
--- branches/nekohtml/debian/debian/control	2006-08-23 10:59:18 UTC (rev 2346)
+++ branches/nekohtml/debian/debian/control	2006-08-23 11:01:16 UTC (rev 2347)
@@ -0,0 +1,22 @@
+Source: nekohtml
+Section: libs
+Priority: optional
+Maintainer: Maintainer: Debian Java maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Marcus Better <marcus at better.se>
+Build-Depends: debhelper (>= 5.0.0)
+Build-Depends-Indep: java-gcj-compat-dev, ant, libxerces2-java, libxalan2-java
+Standards-Version: 3.7.2
+
+Package: libnekohtml-java
+Architecture: all
+Depends: classpath-common | java1-runtime | java2-runtime, libxerces2-java
+Description: HTML parser for Java
+ This is a simple HTML scanner and tag balancer that enables
+ application programmers to parse HTML documents and access the
+ information using standard XML interfaces. The parser can scan HTML
+ files and "fix up" many common mistakes that human (and computer)
+ authors make in writing HTML documents. NekoHTML adds missing parent
+ elements; automatically closes elements with optional end tags; and
+ can handle mismatched inline element tags.
+ .
+ Homepage: http://people.apache.org/~andyc/neko/doc/html/

Added: branches/nekohtml/debian/debian/copyright
===================================================================
--- branches/nekohtml/debian/debian/copyright	2006-08-23 10:59:18 UTC (rev 2346)
+++ branches/nekohtml/debian/debian/copyright	2006-08-23 11:01:16 UTC (rev 2347)
@@ -0,0 +1,54 @@
+This package was debianized by Marcus Better <marcus at better.se> on
+Sun, 13 Aug 2006 15:43:49 +0200.
+
+It was downloaded from http://people.apache.org/~andyc/neko/doc/html/
+
+NekoHTML is Copyright (C) 2002-2005 Andy Clark, and released under the
+follwing license:
+
+    The CyberNeko Software License, Version 1.0
+
+
+    (C) Copyright 2002-2005, Andy Clark.  All rights reserved.
+
+    Redistribution and use in source and binary forms, with or without
+    modification, are permitted provided that the following conditions
+    are met:
+
+    1. Redistributions of source code must retain the above copyright
+       notice, this list of conditions and the following disclaimer. 
+
+    2. 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.
+
+    3. The end-user documentation included with the redistribution,
+       if any, must include the following acknowledgment:  
+	 "This product includes software developed by Andy Clark."
+       Alternately, this acknowledgment may appear in the software itself,
+       if and wherever such third-party acknowledgments normally appear.
+
+    4. The names "CyberNeko" and "NekoHTML" must not be used to endorse
+       or promote products derived from this software without prior 
+       written permission. For written permission, please contact 
+       andyc at cyberneko.net.
+
+    5. Products derived from this software may not be called "CyberNeko",
+       nor may "CyberNeko" appear in their name, without prior written
+       permission of the author.
+
+    THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 AUTHOR OR OTHER 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.
+
+The Debian packaging is Copyright (C) 2006 Marcus Better
+<marcus at better.se> and is licensed under the same license as above.

Added: branches/nekohtml/debian/debian/libnekohtml-java.dirs
===================================================================
--- branches/nekohtml/debian/debian/libnekohtml-java.dirs	2006-08-23 10:59:18 UTC (rev 2346)
+++ branches/nekohtml/debian/debian/libnekohtml-java.dirs	2006-08-23 11:01:16 UTC (rev 2347)
@@ -0,0 +1 @@
+usr/share/java

Added: branches/nekohtml/debian/debian/libnekohtml-java.doc-base
===================================================================
--- branches/nekohtml/debian/debian/libnekohtml-java.doc-base	2006-08-23 10:59:18 UTC (rev 2346)
+++ branches/nekohtml/debian/debian/libnekohtml-java.doc-base	2006-08-23 11:01:16 UTC (rev 2347)
@@ -0,0 +1,18 @@
+Document: nekohtml-doc
+Title: NekoHTML documentation
+Abstract: Documentation for the NekoHTML parser.
+Section: Apps/Programming
+
+Format: HTML
+Index: /usr/share/doc/libnekohtml-java/index.html
+Files: /usr/share/doc/libnekohtml-java/*.html
+
+Document: nekohtml-api
+Title: Programmer API for NekoHTML
+Abstract: This is the Javadoc programmer API documentation
+ for the NekoHTML parser.
+Section: Apps/Programming
+
+Format: HTML
+Index: /usr/share/doc/libnekohtml-java/javadoc/index.html
+Files: /usr/share/doc/libnekohtml-java/javadoc/*

Added: branches/nekohtml/debian/debian/libnekohtml-java.docs
===================================================================
--- branches/nekohtml/debian/debian/libnekohtml-java.docs	2006-08-23 10:59:18 UTC (rev 2346)
+++ branches/nekohtml/debian/debian/libnekohtml-java.docs	2006-08-23 11:01:16 UTC (rev 2347)
@@ -0,0 +1 @@
+doc/html/*

Added: branches/nekohtml/debian/debian/libnekohtml-java.install
===================================================================
--- branches/nekohtml/debian/debian/libnekohtml-java.install	2006-08-23 10:59:18 UTC (rev 2346)
+++ branches/nekohtml/debian/debian/libnekohtml-java.install	2006-08-23 11:01:16 UTC (rev 2347)
@@ -0,0 +1,3 @@
+nekohtml.jar			/usr/share/java
+nekohtmlXni.jar			/usr/share/java
+

Added: branches/nekohtml/debian/debian/rules
===================================================================
--- branches/nekohtml/debian/debian/rules	2006-08-23 10:59:18 UTC (rev 2346)
+++ branches/nekohtml/debian/debian/rules	2006-08-23 11:01:16 UTC (rev 2347)
@@ -0,0 +1,68 @@
+#!/usr/bin/make -f
+
+JAVA_HOME	:= /usr/lib/jvm/java-gcj
+DEB_JARS_BASE	:= /usr/share/java
+JAVACMD  	:= $(JAVA_HOME)/bin/java
+
+DEB_JARS  := ant ant-launcher xml-apis xalan2 xercesImpl
+
+DEB_CLASSPATH = $(shell for jar in $(DEB_JARS); do \
+		if [ -f "$$jar" ]; then echo -n "$${jar}:"; fi; \
+		if [ -f "$$jar".jar ]; then echo -n "$${jar}.jar:"; fi; \
+		if [ -f $(DEB_JARS_BASE)/"$$jar" ]; then echo -n "$(DEB_JARS_BASE)/$${jar}:"; fi; \
+		if [ -f $(DEB_JARS_BASE)/"$$jar".jar ]; then echo -n "$(DEB_JARS_BASE)/$${jar}.jar:"; fi; \
+		done; \
+		if [ -f "$(JAVA_HOME)/lib/tools.jar" ]; then echo -n "$(JAVA_HOME)/lib/tools.jar"; fi)
+
+ANT_INVOKE	:= $(JAVACMD) -classpath $(DEB_CLASSPATH) \
+		org.apache.tools.ant.Main $(DEB_ANT_ARGS)
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	touch configure-stamp
+
+build: build-stamp
+build-stamp: configure-stamp 
+	dh_testdir
+	$(ANT_INVOKE) -buildfile build-html.xml jar jar-xni doc
+	touch build-stamp
+
+clean: clean-patched
+clean-patched:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+	dh_clean
+	$(ANT_INVOKE) -buildfile build-html.xml clean
+	-rmdir bin
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+	dh_install
+	dh_installchangelogs doc/html/changes.html
+	dh_installdocs
+	rm $(CURDIR)/debian/libnekohtml-java/usr/share/doc/libnekohtml-java/changes.html
+	dh_installexamples
+	dh_installman
+	dh_link
+
+# Build architecture-independent files here.
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_compress
+	dh_fixperms --exclude /var
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+# Build architecture-dependent files here.
+binary-arch: build install
+
+binary: binary-indep binary-arch
+.PHONY: build clean clean-patched binary-indep binary-arch binary install configure


Property changes on: branches/nekohtml/debian/debian/rules
___________________________________________________________________
Name: svn:executable
   + 




More information about the pkg-java-commits mailing list