[mina] 03/26: * Enable build of mina-integration-spring : - debian/control: add B-D on libspring-beans to build mina-integration-spring - debian/libmina-java.jlibs: add new mina-integration-spring.jar - debian/rules: add rules tu build mina-integration-spring * Bump Standards-Version 3.8.1 (no changes needed) * Move libcommons-jci-java-* to "java" section

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Mar 22 20:27:02 GMT 2018


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository mina.

commit 31ee03adb4b49175ce459688f9b6bc5ba294cbca
Author: Damien Raude-Morvan <drazzib at debian.org>
Date:   Thu Mar 26 21:26:54 2009 +0000

      * Enable build of mina-integration-spring :
       - debian/control: add B-D on libspring-beans to build mina-integration-spring
       - debian/libmina-java.jlibs: add new mina-integration-spring.jar
       - debian/rules: add rules tu build mina-integration-spring
      * Bump Standards-Version 3.8.1 (no changes needed)
      * Move libcommons-jci-java-* to "java" section
---
 debian/TODO               |  2 --
 debian/changelog          | 11 +++++++++++
 debian/control            |  8 ++++----
 debian/libmina-java.jlibs |  1 +
 debian/rules              |  9 +++++++--
 5 files changed, 23 insertions(+), 8 deletions(-)

diff --git a/debian/TODO b/debian/TODO
index a4905d9..a6b8f9e 100644
--- a/debian/TODO
+++ b/debian/TODO
@@ -1,3 +1 @@
-* Package "integration-spring" when spring framework package will enter Debian (#426259)
 * Run JUnit during package building
-* Test package with multiple JDK
diff --git a/debian/changelog b/debian/changelog
index 7375478..55d6087 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,14 @@
+mina (1.1.7.dfsg-6) UNRELEASED; urgency=low
+
+  * Enable build of mina-integration-spring :
+   - debian/control: add B-D on libspring-beans to build mina-integration-spring
+   - debian/libmina-java.jlibs: add new mina-integration-spring.jar
+   - debian/rules: add rules tu build mina-integration-spring
+  * Bump Standards-Version 3.8.1 (no changes needed)
+  * Move libcommons-jci-java-* to "java" section
+
+ -- Damien Raude-Morvan <drazzib at drazzib.com>  Thu, 26 Mar 2009 22:25:50 +0100
+
 mina (1.1.7.dfsg-5) unstable; urgency=low
 
   * Add Build-Depends on gjdoc for dh_javadoc helper (Closes: #507203)
diff --git a/debian/control b/debian/control
index 240971d..db91986 100644
--- a/debian/control
+++ b/debian/control
@@ -1,17 +1,17 @@
 Source: mina
-Section: libs
+Section: java
 Priority: optional
 Maintainer: Damien Raude-Morvan <drazzib at drazzib.com>
 Build-Depends: debhelper (>= 5), javahelper
-Build-Depends-Indep: openjdk-6-jdk, gjdoc, libslf4j-java, libjzlib-java, libmx4j-java
+Build-Depends-Indep: openjdk-6-jdk, gjdoc, libslf4j-java, libjzlib-java,
+  libmx4j-java, libspring-beans-2.5-java
 Vcs-Svn: http://svn.drazzib.com/debian-pkg/mina/trunk
 Vcs-Browser: http://svn.drazzib.com/wsvn/Debian-Pkg/mina/trunk
-Standards-Version: 3.8.0
+Standards-Version: 3.8.1
 Homepage: http://mina.apache.org
 
 Package: libmina-java
 Architecture: all
-Section: libs
 Depends: openjdk-6-jre-headless | java5-runtime-headless, ${java:Depends}
 Suggests: libmina-java-doc
 Description: Java network application framework
diff --git a/debian/libmina-java.jlibs b/debian/libmina-java.jlibs
index ccb5308..158a422 100644
--- a/debian/libmina-java.jlibs
+++ b/debian/libmina-java.jlibs
@@ -2,3 +2,4 @@ mina-core.jar
 mina-filter-compression.jar
 mina-filter-ssl.jar
 mina-integration-jmx.jar
+mina-integration-spring.jar
diff --git a/debian/rules b/debian/rules
index a448105..4d1d3ac 100755
--- a/debian/rules
+++ b/debian/rules
@@ -30,6 +30,10 @@ JMX_JAR   := $(PACKAGE)-integration-jmx.jar
 JMX_SRC   := integration-jmx/src/main/java/
 JMX_CP    := $(CORE_JAR):/usr/share/java/slf4j-api.jar:/usr/share/java/mx4j.jar
 
+SPRING_JAR := $(PACKAGE)-integration-spring.jar
+SPRING_SRC := integration-spring/src/main/java/
+SPRING_CP  := $(CORE_JAR):/usr/share/java/slf4j-api.jar:/usr/share/java/spring-core.jar:/usr/share/java/spring-beans.jar
+
 build: build-arch-stamp build-indep-stamp
 build-arch: build-arch-stamp
 build-arch-stamp:
@@ -44,6 +48,7 @@ build-indep-stamp:
 	( CLASSPATH=${ZLIB_CP} jh_build -o"$(JAVA_OPTS)" $(ZLIB_JAR) $(ZLIB_SRC) )
 	( CLASSPATH=${SSL_CP} jh_build -o"$(JAVA_OPTS)" $(SSL_JAR) $(SSL_SRC) )
 	( CLASSPATH=${JMX_CP} jh_build -o"$(JAVA_OPTS)" $(JMX_JAR) $(JMX_SRC) )
+	( CLASSPATH=${SPRING_CP} jh_build -o"$(JAVA_OPTS)" $(SPRING_JAR) $(SPRING_SRC) )
 	touch $@
 
 clean:
@@ -51,7 +56,7 @@ clean:
 	dh_testroot
 	jh_build --clean
 	dh_clean
-	rm -f build-arch-stamp build-indep-stamp $(CORE_JAR) $(ZLIB_JAR) $(SSL_JAR) $(JMX_JAR)
+	rm -f build-arch-stamp build-indep-stamp $(CORE_JAR) $(ZLIB_JAR) $(SSL_JAR) $(JMX_JAR) $(SPRING_JAR)
 
 install-indep: build-indep
 	dh_testdir
@@ -72,7 +77,7 @@ binary-indep: build-indep install-indep
 	dh_installexamples -i -X"META-INF" -X"LICENSE"
 	dh_installchangelogs -i
 	# Use dh_javadoc for building libmina-java-doc
-	dh_javadoc -Nlibmina-java -plibmina-java-doc -i --sourcedir=$(CORE_SRC):$(ZLIB_SRC):$(SSL_SRC):$(JMX_SRC)
+	dh_javadoc -Nlibmina-java -plibmina-java-doc -i --sourcedir=$(CORE_SRC):$(ZLIB_SRC):$(SSL_SRC):$(JMX_SRC):$(SPRING_SRC)
 	# use .jlibs file for linking JARS
 	jh_installlibs -i
 	# replace {java:Depends}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/mina.git



More information about the pkg-java-commits mailing list