CVS bcel/debian

Michael Koch mkoch-guest@haydn.debian.org
Mon Mar 14 07:34:02 2005


Update of /cvsroot/pkg-java/bcel/debian
In directory haydn:/tmp/cvs-serv29033/debian

Modified Files:
	changelog control rules 
Log Message:
bcel (5.1-2) unstable; urgency=low

  * Moved to main.
  * Ported to CDBS.
  * Use Debian Java Packagers as Maintainer.
  * Added Takashi, Arnaud, myself to Uploaders.
  * Build-Depend and use kaffe and libant1.6-java.
  * Standards-Version: 3.6.1 (no changes required).

 -- Michael Koch <konqueror@gmx.de>  Wed,  9 Mar 2005 17:02:28 +0000



--- /cvsroot/pkg-java/bcel/debian/changelog	2003/07/14 20:06:32	1.2
+++ /cvsroot/pkg-java/bcel/debian/changelog	2005/03/14 14:33:05	1.3
@@ -1,4 +1,15 @@
-bcel (5.1-1) unstable; urgency=low
+bcel (5.1-2) unstable; urgency=low
+
+  * Moved to main.
+  * Ported to CDBS.
+  * Use Debian Java Packagers as Maintainer.
+  * Added Takashi, Arnaud, myself to Uploaders.
+  * Build-Depend and use kaffe and libant1.6-java.
+  * Standards-Version: 3.6.1 (no changes required).
+
+ -- Michael Koch <konqueror@gmx.de>  Wed,  9 Mar 2005 17:02:28 +0000
+
+bcel (5.1-1mkoch1) unstable; urgency=low
 
   * New upstream release
     + This version is compatible with JDK 1.4 (closes: #174977)
--- /cvsroot/pkg-java/bcel/debian/control	2003/07/14 20:06:32	1.2
+++ /cvsroot/pkg-java/bcel/debian/control	2005/03/14 14:33:05	1.3
@@ -1,10 +1,10 @@
 Source: bcel
-Section: contrib/libs
+Section: libs
 Priority: optional
-Maintainer: Takashi Okamoto <tora@debian.org>
-Uploaders: Stefan Gybas <sgybas@debian.org>
-Build-Depends-Indep: debhelper (>= 4.1.0), j2sdk1.4, ant (>= 1.5), jikes (>= 1.18), libxerces-java, libregexp-java
-Standards-Version: 3.6.0
+Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
+Uploaders: Takashi Okamoto <tora@debian.org>, Stefan Gybas <sgybas@debian.org>, Arnaud Vandyck <avdyk@debian.org>, Michael Koch <konqueror@gmx.de>
+Build-Depends-Indep: debhelper (>= 4.1.0), kaffe (>= 2:1.1.4.PRECVS8-2), libant1.6-java, jikes (>= 1.18), libxerces-java, libregexp-java, gjdoc (>= 0.7.2)
+Standards-Version: 3.6.1
 
 Package: libbcel-java
 Architecture: all
--- /cvsroot/pkg-java/bcel/debian/rules	2003/07/14 20:06:32	1.2
+++ /cvsroot/pkg-java/bcel/debian/rules	2005/03/14 14:33:05	1.3
@@ -1,93 +1,22 @@
 #!/usr/bin/make -f
-# debian/rules file for bcel (uses debhelper)
+# debian/rules file for libbcel-java (uses cdbs)
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/ant.mk
 
-# The name of the source package and its version
-#export SOURCE_PACKAGE = $(shell head -1 debian/changelog | cut -f1 -d" ")
-#export SOURCE_VERSION = $(shell head -1 debian/changelog | cut -f2 -d\( | cut -f1 -d\))
 export UPSTREAM_VERSION = $(shell head -1 debian/changelog | cut -f2 -d\( | cut -f1 -d\) | cut -f1 -d\-)
+export CLASSPATH = /usr/share/java/gnu-classpath-tools-gjdoc.jar:/usr/share/java/com-sun-javadoc.jar:/usr/share/java/com-sun-tools-doclets-Taglet.jar
 
-# Java home directory and the JVM executable
-export JAVA_HOME=/usr/lib/j2se/1.4
-export JAVACMD=${JAVA_HOME}/bin/java
-export JAR=${JAVA_HOME}/bin/jar
-
-# Class path: Ant requires and JAXP-compatible XML parser
-# You need to set CLASSPATH here (even if your build.xml assembles its own
-# class path) to ensure the same build results in all cases
-JARS=/usr/share/java
-ANT_HOME=/usr/share/ant
-export CLASSPATH=${JARS}/xerces.jar:${ANT_HOME}/lib/ant.jar:${JARS}/regexp.jar
-
-# Java compiler the Ant javac task
-ANT_OPTS=-Dbuild.compiler=jikes -Dant.home=${ANT_HOME}
-ANT=${JAVACMD} ${ANT_OPTS} org.apache.tools.ant.Main
-
-
-build: build-stamp
-build-stamp:
-	dh_testdir
-
-	$(ANT) compile apidocs
-	(cd bin/classes; ${JAR} cf ../bcel.jar org)
-
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp
+JAVA_HOME            := /usr/lib/kaffe
+ANT_HOME             := /usr/share/ant1.6
+DEB_JARS             := $(ANT_HOME)/lib/ant-launcher.jar xmlParserAPIs xercesImpl regexp gnu-classpath-tools-gjdoc #com-sun-javadoc
+DEB_ANT_COMPILER     := jikes
+DEB_ANT_BUILD_TARGET := compile jar apidocs
 
+clean::
 	rm -rf bin docs
 
-	dh_clean
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	dh_installdirs
-
-	# package libbcel-java
+install/libbcel-java::
 	install -m 644 bin/bcel.jar debian/libbcel-java/usr/share/java/bcel-$(UPSTREAM_VERSION).jar
 	ln -s bcel-$(UPSTREAM_VERSION).jar debian/libbcel-java/usr/share/java/bcel.jar
-
-
-# Build architecture-independent files here.
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs
-	dh_installdocs
-	dh_installexamples
-#	dh_installmenu
-#	dh_installdebconf
-#	dh_installlogrotate
-#	dh_installemacsen
-#	dh_installcatalogs
-#	dh_installpam
-#	dh_installmime
-#	dh_installinit
-#	dh_installcron
-#	dh_installman
-#	dh_installinfo
-#	dh_undocumented
-	dh_installman
-	dh_link
-	dh_compress
-	dh_fixperms
-#	dh_perl
-#	dh_python
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-# Build architecture-dependent files here.
-binary-arch: build install
-# We have nothing to do by default.
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install