r2382 - in branches/slide-webdavclient/feature/debian: . debian

Marcus Better marcusb-guest at costa.debian.org
Wed Sep 6 19:30:05 UTC 2006


Author: marcusb-guest
Date: 2006-09-06 19:30:04 +0000 (Wed, 06 Sep 2006)
New Revision: 2382

Added:
   branches/slide-webdavclient/feature/debian/build.properties
   branches/slide-webdavclient/feature/debian/debian/
   branches/slide-webdavclient/feature/debian/debian/README.Debian
   branches/slide-webdavclient/feature/debian/debian/changelog
   branches/slide-webdavclient/feature/debian/debian/compat
   branches/slide-webdavclient/feature/debian/debian/control
   branches/slide-webdavclient/feature/debian/debian/copyright
   branches/slide-webdavclient/feature/debian/debian/libslide-webdavclient-java-doc.doc-base
   branches/slide-webdavclient/feature/debian/debian/libslide-webdavclient-java-doc.docs
   branches/slide-webdavclient/feature/debian/debian/libslide-webdavclient-java.dirs
   branches/slide-webdavclient/feature/debian/debian/libslide-webdavclient-java.install
   branches/slide-webdavclient/feature/debian/debian/libslide-webdavclient-java.links
   branches/slide-webdavclient/feature/debian/debian/rules
   branches/slide-webdavclient/feature/debian/debian/svn-deblayout
Modified:
   branches/slide-webdavclient/feature/debian/build.xml
Log:
Debianized.


Added: branches/slide-webdavclient/feature/debian/build.properties
===================================================================
--- branches/slide-webdavclient/feature/debian/build.properties	                        (rev 0)
+++ branches/slide-webdavclient/feature/debian/build.properties	2006-09-06 19:30:04 UTC (rev 2382)
@@ -0,0 +1,3 @@
+commons-httpclient.jar=/usr/share/java/commons-httpclient.jar
+jdom.jar=/usr/share/java/jdom1.jar
+xml-im-exporter.jar=/usr/share/java/xml-im-exporter.jar

Modified: branches/slide-webdavclient/feature/debian/build.xml
===================================================================
--- branches/slide-webdavclient/feature/debian/build.xml	2006-09-06 15:19:20 UTC (rev 2381)
+++ branches/slide-webdavclient/feature/debian/build.xml	2006-09-06 19:30:04 UTC (rev 2382)
@@ -267,13 +267,6 @@
     <!-- =================================================================== -->
     <target name="dist-clientlib" depends="build-clientlib,prepare-dist,javadoc-clientlib"
 	    description="Jar WebDAV client lib and copy required jar libs">
-        <copy todir="${clientlib.dist}/lib">
-            <fileset dir="lib">
-                <include name="xml-im-exporter*.*"/>
-                <include name="commons-*.jar"/>
-                <include name="jdom*.*"/>
-            </fileset>
-        </copy>
         <jar jarfile="${clientlib.dist}/lib/${clientlib.final.name}.jar"
              basedir="${clientlib.build}/classes"
              manifest="${slide.dist}/etc/MANIFEST.MF">

Added: branches/slide-webdavclient/feature/debian/debian/README.Debian
===================================================================
--- branches/slide-webdavclient/feature/debian/debian/README.Debian	                        (rev 0)
+++ branches/slide-webdavclient/feature/debian/debian/README.Debian	2006-09-06 19:30:04 UTC (rev 2382)
@@ -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/slide-webdavclient/feature/debian/debian/changelog
===================================================================
--- branches/slide-webdavclient/feature/debian/debian/changelog	                        (rev 0)
+++ branches/slide-webdavclient/feature/debian/debian/changelog	2006-09-06 19:30:04 UTC (rev 2382)
@@ -0,0 +1,5 @@
+slide-webdavclient (2.1-1) unstable; urgency=low
+
+  * Initial release. (Closes: #386142)
+
+ -- Marcus Better <marcus at better.se>  Tue,  5 Sep 2006 13:22:11 +0200

Added: branches/slide-webdavclient/feature/debian/debian/compat
===================================================================
--- branches/slide-webdavclient/feature/debian/debian/compat	                        (rev 0)
+++ branches/slide-webdavclient/feature/debian/debian/compat	2006-09-06 19:30:04 UTC (rev 2382)
@@ -0,0 +1 @@
+5

Added: branches/slide-webdavclient/feature/debian/debian/control
===================================================================
--- branches/slide-webdavclient/feature/debian/debian/control	                        (rev 0)
+++ branches/slide-webdavclient/feature/debian/debian/control	2006-09-06 19:30:04 UTC (rev 2382)
@@ -0,0 +1,28 @@
+Source: slide-webdavclient
+Section: libs
+Priority: optional
+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), ant
+Build-Depends-Indep: java-gcj-compat-dev, libcommons-httpclient-java, libjdom1-java, libxml-im-exporter-java, classpath-doc
+Standards-Version: 3.7.2
+
+Package: libslide-webdavclient-java
+Architecture: all
+Depends: classpath-common | java1-runtime | java2-runtime
+Suggests: libslide-webdavclient-java-doc
+Description: WebDAV client library for Java
+ This is the WebDAV client library from the Jakarta Slide project.
+ .
+ Homepage: http://jakarta.apache.org/slide
+
+Package: libslide-webdavclient-java-doc
+Section: doc
+Architecture: all
+Depends: classpath-doc
+Suggests: libslide-webdavclient-java
+Description: API documentation for the Slide WebDAV client library
+ This is the JavaDoc documentation for the Jakarta Slide WebDAV client
+ library.
+ .
+ Homepage: http://jakarta.apache.org/slide

Added: branches/slide-webdavclient/feature/debian/debian/copyright
===================================================================
--- branches/slide-webdavclient/feature/debian/debian/copyright	                        (rev 0)
+++ branches/slide-webdavclient/feature/debian/debian/copyright	2006-09-06 19:30:04 UTC (rev 2382)
@@ -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/slide-webdavclient/feature/debian/debian/libslide-webdavclient-java-doc.doc-base
===================================================================
--- branches/slide-webdavclient/feature/debian/debian/libslide-webdavclient-java-doc.doc-base	                        (rev 0)
+++ branches/slide-webdavclient/feature/debian/debian/libslide-webdavclient-java-doc.doc-base	2006-09-06 19:30:04 UTC (rev 2382)
@@ -0,0 +1,8 @@
+Document: slide-webdavclient-doc
+Title: Jakarta Slide WebDAV client API
+Abstract: JavaDoc documentation for the Jakarta Slide WebDAV client library
+Section: Apps/Programming
+
+Format: HTML
+Index: /usr/share/doc/libslide-webdavclient-java-doc/api/index.html
+Files: /usr/share/doc/libslide-webdavclient-java-doc/api/*

Added: branches/slide-webdavclient/feature/debian/debian/libslide-webdavclient-java-doc.docs
===================================================================
--- branches/slide-webdavclient/feature/debian/debian/libslide-webdavclient-java-doc.docs	                        (rev 0)
+++ branches/slide-webdavclient/feature/debian/debian/libslide-webdavclient-java-doc.docs	2006-09-06 19:30:04 UTC (rev 2382)
@@ -0,0 +1 @@
+build/clientlib/doc/clientjavadoc

Added: branches/slide-webdavclient/feature/debian/debian/libslide-webdavclient-java.dirs
===================================================================
--- branches/slide-webdavclient/feature/debian/debian/libslide-webdavclient-java.dirs	                        (rev 0)
+++ branches/slide-webdavclient/feature/debian/debian/libslide-webdavclient-java.dirs	2006-09-06 19:30:04 UTC (rev 2382)
@@ -0,0 +1 @@
+usr/share/java

Added: branches/slide-webdavclient/feature/debian/debian/libslide-webdavclient-java.install
===================================================================
--- branches/slide-webdavclient/feature/debian/debian/libslide-webdavclient-java.install	                        (rev 0)
+++ branches/slide-webdavclient/feature/debian/debian/libslide-webdavclient-java.install	2006-09-06 19:30:04 UTC (rev 2382)
@@ -0,0 +1 @@
+dist/lib/jakarta-slide-webdavlib-2.1.jar	/usr/share/java

Added: branches/slide-webdavclient/feature/debian/debian/libslide-webdavclient-java.links
===================================================================
--- branches/slide-webdavclient/feature/debian/debian/libslide-webdavclient-java.links	                        (rev 0)
+++ branches/slide-webdavclient/feature/debian/debian/libslide-webdavclient-java.links	2006-09-06 19:30:04 UTC (rev 2382)
@@ -0,0 +1 @@
+usr/share/java/jakarta-slide-webdavlib-2.1.jar	/usr/share/java/jakarta-slide-webdavlib.jar

Added: branches/slide-webdavclient/feature/debian/debian/rules
===================================================================
--- branches/slide-webdavclient/feature/debian/debian/rules	                        (rev 0)
+++ branches/slide-webdavclient/feature/debian/debian/rules	2006-09-06 19:30:04 UTC (rev 2382)
@@ -0,0 +1,70 @@
+#!/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
+
+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)
+
+PKGNAME		:= libslide-webdavclient-java
+INSTALLDIR	:= $(CURDIR)/debian/$(PKGNAME)
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	touch configure-stamp
+
+build: build-stamp
+build-stamp: configure-stamp 
+	dh_testdir
+	$(ANT_INVOKE) dist-clientlib javadoc-clientlib
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+	dh_clean
+	$(ANT_INVOKE) clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+	dh_install
+	dh_installchangelogs
+	dh_installdocs
+	mv $(INSTALLDIR)-doc/usr/share/doc/$(PKGNAME)-doc/clientjavadoc \
+	   $(INSTALLDIR)-doc/usr/share/doc/$(PKGNAME)-doc/api
+	dh_installexamples
+	dh_installman
+	dh_link
+
+# Build architecture-independent files here.
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_compress
+	dh_fixperms
+	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 binary-indep binary-arch binary install configure


Property changes on: branches/slide-webdavclient/feature/debian/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: branches/slide-webdavclient/feature/debian/debian/svn-deblayout
===================================================================
--- branches/slide-webdavclient/feature/debian/debian/svn-deblayout	                        (rev 0)
+++ branches/slide-webdavclient/feature/debian/debian/svn-deblayout	2006-09-06 19:30:04 UTC (rev 2382)
@@ -0,0 +1,2 @@
+buildArea=../../build-area
+origDir=..




More information about the pkg-java-commits mailing list