[pkg-java] r5285 - trunk/libcommons-lang-java/debian

mkoch at alioth.debian.org mkoch at alioth.debian.org
Fri Jan 4 07:41:46 UTC 2008


Author: mkoch
Date: 2008-01-04 07:41:46 +0000 (Fri, 04 Jan 2008)
New Revision: 5285

Modified:
   trunk/libcommons-lang-java/debian/
   trunk/libcommons-lang-java/debian/ant.properties
   trunk/libcommons-lang-java/debian/changelog
   trunk/libcommons-lang-java/debian/control
   trunk/libcommons-lang-java/debian/dirs
   trunk/libcommons-lang-java/debian/docs
   trunk/libcommons-lang-java/debian/rules
Log:
libcommons-lang-java (2.3-3) unstable; urgency=low

  * debian/control:
    - (Build-)Depends on java-gcj-compat(-dev).
    - Updated Standards-Version to 3.7.3.
    - Added Vcs-Svn and Vcs-Browser fields.
    - Removed comment about Jakarta project which doesnt apply anymore
      in long descripion
  * debian/rules:
    - Rewritten to use CDBS' ant task.

 -- Michael Koch <konqueror at gmx.de>  Fri, 04 Jan 2008 08:43:15 +0100




Property changes on: trunk/libcommons-lang-java/debian
___________________________________________________________________
Name: svn:ignore
   - libcommons-lang-java.links

   + files
libcommons-lang-java
stamp-*


Modified: trunk/libcommons-lang-java/debian/ant.properties
===================================================================
--- trunk/libcommons-lang-java/debian/ant.properties	2008-01-03 21:19:00 UTC (rev 5284)
+++ trunk/libcommons-lang-java/debian/ant.properties	2008-01-04 07:41:46 UTC (rev 5285)
@@ -1 +1,2 @@
-build.sysclasspath=only
+build.home=build
+dist.home=dist

Modified: trunk/libcommons-lang-java/debian/changelog
===================================================================
--- trunk/libcommons-lang-java/debian/changelog	2008-01-03 21:19:00 UTC (rev 5284)
+++ trunk/libcommons-lang-java/debian/changelog	2008-01-04 07:41:46 UTC (rev 5285)
@@ -1,3 +1,16 @@
+libcommons-lang-java (2.3-3) unstable; urgency=low
+
+  * debian/control:
+    - (Build-)Depends on java-gcj-compat(-dev).
+    - Updated Standards-Version to 3.7.3.
+    - Added Vcs-Svn and Vcs-Browser fields.
+    - Removed comment about Jakarta project which doesnt apply anymore
+      in long descripion
+  * debian/rules:
+    - Rewritten to use CDBS' ant task.
+
+ -- Michael Koch <konqueror at gmx.de>  Fri, 04 Jan 2008 08:43:15 +0100
+
 libcommons-lang-java (2.3-2) unstable; urgency=low
 
   * Use ecj instead of ecj-bootstrap in Build-Depends. Closes: #444506.

Modified: trunk/libcommons-lang-java/debian/control
===================================================================
--- trunk/libcommons-lang-java/debian/control	2008-01-03 21:19:00 UTC (rev 5284)
+++ trunk/libcommons-lang-java/debian/control	2008-01-04 07:41:46 UTC (rev 5285)
@@ -4,13 +4,15 @@
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
 Uploaders: Arnaud Vandyck <avdyk at debian.org>, Michael Koch <konqueror at gmx.de>
 Build-Depends: debhelper (>> 5), cdbs
-Build-Depends-Indep: ecj, classpath-common, fastjar, junit (>= 3.8.1), gjdoc
-Standards-Version: 3.7.2
+Build-Depends-Indep: java-gcj-compat-dev, junit (>= 3.8.1)
+Standards-Version: 3.7.3
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libcommons-lang-java
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libcommons-lang-java
 Homepage: http://jakarta.apache.org/commons/lang/
 
 Package: libcommons-lang-java
 Architecture: all
-Depends:  gij | sablevm | kaffe (>= 1.1.1) | java1-runtime | java2-runtime
+Depends: java-gcj-compat | java1-runtime | java2-runtime
 Description: Extension of the java.lang package
  The Lang Component contains a set of Java classes that provide helper
  methods for standard Java classes, especially those found in the
@@ -30,5 +32,3 @@
   * Enum package - A sub-package for the creation of enumerated types.
   * Builder package - A sub-package for the creation of equals, hashCode,
     compareTo and toString methods.
- .
- This is a part of the Apache Jakarta Project.

Modified: trunk/libcommons-lang-java/debian/dirs
===================================================================
--- trunk/libcommons-lang-java/debian/dirs	2008-01-03 21:19:00 UTC (rev 5284)
+++ trunk/libcommons-lang-java/debian/dirs	2008-01-04 07:41:46 UTC (rev 5285)
@@ -1,2 +1 @@
 usr/share/java
-

Modified: trunk/libcommons-lang-java/debian/docs
===================================================================
--- trunk/libcommons-lang-java/debian/docs	2008-01-03 21:19:00 UTC (rev 5284)
+++ trunk/libcommons-lang-java/debian/docs	2008-01-04 07:41:46 UTC (rev 5285)
@@ -1,2 +1,2 @@
 STATUS.html
-docs/api
+dist/docs/api

Modified: trunk/libcommons-lang-java/debian/rules
===================================================================
--- trunk/libcommons-lang-java/debian/rules	2008-01-03 21:19:00 UTC (rev 5284)
+++ trunk/libcommons-lang-java/debian/rules	2008-01-04 07:41:46 UTC (rev 5285)
@@ -1,36 +1,18 @@
 #!/usr/bin/make -f
 
-#export DH_VERBOSE=1
-
-export VERSION = $(shell head -1 debian/changelog | cut -f2 -d\( | cut -f1 -d\) | cut -f1 -d\-)
-
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/class/ant.mk
 
-LIBRARY=commons-lang
-BUILD=build
-SOURCES=src/java
-DIST=dist
-DOCS=docs
-APIDOC=$(DOCS)/api
-CLASSPATH=/usr/share/java/junit.jar
-BASE_PKG=org.apache.commons.lang
-BOOTCP=-bootclasspath /usr/share/classpath/glibj.zip
-JAVAC=ecj $(BOOTCP)
+JAVA_HOME := /usr/lib/jvm/java-gcj
 
-install/lib${LIBRARY}-java::
-	find ${SOURCES} -name \*.java | xargs\
-		$(JAVAC) -classpath ${CLASSPATH}\
-	  -d ${BUILD} -sourcepath ${SOURCES}
-	mkdir ${DIST}
-	fastjar -cf ${DIST}/${LIBRARY}.jar -C ${BUILD} org
-	mkdir -p ${APIDOC}
-	gjdoc -d ${APIDOC} -sourcepath ${SOURCES}\
-		${BASE_PKG} ${BASE_PKG}.builder ${BASE_PKG}.enum\
-		${BASE_PKG}.exception ${BASE_PKG}.math ${BASE_PKG}.time
-	install -m 644 dist/${LIBRARY}.jar debian/lib${LIBRARY}-java/usr/share/java/${LIBRARY}-${VERSION}.jar
-	echo "usr/share/java/${LIBRARY}-${VERSION}.jar usr/share/java/${LIBRARY}.jar" > debian/lib${LIBRARY}-java.links
+DEB_JARS := junit
+DEB_ANT_BUILD_TARGET := jar javadoc
 
+install/libcommons-lang-java::
+	install -m 644 dist/commons-lang-${DEB_UPSTREAM_VERSION}.jar debian/libcommons-lang-java/usr/share/java/commons-lang-${DEB_UPSTREAM_VERSION}.jar
+	dh_link -p libcommons-lang-java usr/share/java/commons-lang-${DEB_UPSTREAM_VERSION}.jar usr/share/java/commons-lang.jar
+
 clean::
-	-rm debian/lib${LIBRARY}-java.links gjdoc_rawcomment.cache
-	-rm -fr ${DIST} ${BUILD} ${APIDOC}
+	-rm gjdoc_rawcomment.cache
+	-rm -rf docs/api/*




More information about the pkg-java-commits mailing list