[pkg-java] r16985 - in tags/mina: . 1.1.7.dfsg-11/debian
Emmanuel Bourg
ebourg-guest at alioth.debian.org
Wed Jul 3 14:48:21 UTC 2013
Author: ebourg-guest
Date: 2013-07-03 14:48:21 +0000 (Wed, 03 Jul 2013)
New Revision: 16985
Added:
tags/mina/1.1.7.dfsg-11/
tags/mina/1.1.7.dfsg-11/debian/changelog
tags/mina/1.1.7.dfsg-11/debian/control
tags/mina/1.1.7.dfsg-11/debian/rules
Removed:
tags/mina/1.1.7.dfsg-11/debian/changelog
tags/mina/1.1.7.dfsg-11/debian/control
tags/mina/1.1.7.dfsg-11/debian/rules
Log:
[svn-buildpackage] Tagging mina 1.1.7.dfsg-11
Deleted: tags/mina/1.1.7.dfsg-11/debian/changelog
===================================================================
--- trunk/mina/debian/changelog 2013-07-02 13:50:49 UTC (rev 16956)
+++ tags/mina/1.1.7.dfsg-11/debian/changelog 2013-07-03 14:48:21 UTC (rev 16985)
@@ -1,123 +0,0 @@
-mina (1.1.7.dfsg-11) unstable; urgency=low
-
- * Fixed the watch file
- * Updated Standards-Version to 3.9.4 (no changes)
-
- -- Emmanuel Bourg <ebourg at apache.org> Tue, 14 May 2013 10:29:20 +0200
-
-mina (1.1.7.dfsg-10) unstable; urgency=low
-
- * Team upload.
- * Switch dependencies on Spring Framework 2.5 with 3.0. (Closes: #638538).
- * Bump Standards-Version to 3.9.2. No changes were required.
- * Add mh_clean call in dh_auto_clean target,
-
- -- Miguel Landaeta <miguel at miguel.cc> Fri, 19 Aug 2011 19:52:14 -0430
-
-mina (1.1.7.dfsg-9) unstable; urgency=low
-
- * d/control: Remove gjdoc from Build-Depends.
- * d/README.Debian: spring support is now enabled.
- * d/rules: Use jh_installjavadoc to install javadoc
- * d/rules: Use dh 7 style
- * Switch to default-jdk
- * Remove Depends on JRE (as allowed by new Java Policy)
-
- -- Damien Raude-Morvan <drazzib at debian.org> Tue, 13 Apr 2010 19:51:31 +0200
-
-mina (1.1.7.dfsg-8) unstable; urgency=low
-
- [ Damien Raude-Morvan ]
- * debian/maven.rules: Transform more dependencies
-
- [ Torsten Werner ]
- * Let 'maintainers' start with uppercase M.
- * Add missing Depends: ${misc:Depends}.
- * Switch to source format 3.0.
- * Update Standards-Version: 3.8.4.
-
- -- Torsten Werner <twerner at debian.org> Sun, 11 Apr 2010 00:47:02 +0200
-
-mina (1.1.7.dfsg-7) unstable; urgency=low
-
- * Append "Mina 1.x" in extended description
- * Bump debhelper to >= 7
- - Replace dh_clean -k by dh_prep
- * Maven POMs:
- - Add a Build-Depends-Indep dependency on maven-repo-helper
- - Use mh_installpom and mh_installjar to install the POM and the jar to the
- Maven repository
- - debian/maven.rules: Install all JAR with "1.x" currentVersion
- * Update debian/watch to track 1.x releases
- * Cleanup get-orig-source:
- - Create a debian/orig-tar.sh with exlusion list in debian/orig-tar.exclude
-
- -- Damien Raude-Morvan <drazzib at debian.org> Tue, 13 Oct 2009 22:47:23 +0200
-
-mina (1.1.7.dfsg-6) unstable; 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.3 (no changes needed)
- - Move libmina-java to "java" section
- * Set Maintainer field to Debian Java Team
- * Add myself as Uploaders
- * Update my email address
- * Rework dependencies:
- - debian/rules: remove jh_depends usage
- - debian/control: downgrade libjzlib-java and libmx4j-java to Recommends
- - debian/control: add Suggests on libspring-beans-2.5-java
-
- -- Damien Raude-Morvan <drazzib at debian.org> Fri, 25 Sep 2009 23:23:34 +0200
-
-mina (1.1.7.dfsg-5) unstable; urgency=low
-
- * Add Build-Depends on gjdoc for dh_javadoc helper (Closes: #507203)
- Thanks to James Westby <james.westby at canonical.com>.
- * Move examples (sample source code) to libmina-java-doc package
-
- -- Damien Raude-Morvan <drazzib at drazzib.com> Sat, 29 Nov 2008 21:05:49 +0100
-
-mina (1.1.7.dfsg-4) unstable; urgency=low
-
- * debian/control:
- - As stated by Debian Java Policy, add a Depends on
- required JRE (version >=5 and headless). Use openjdk-6-jre-headless as
- default alternative.
- - Depends on debhelper ">= 5" instead of ">> 5"
- - Reformat and correct typo in debian packages description
- * debian/watch: correct dversionmangle to escape ".dfsg" from version number
- * debian/rules: give to jh_build options '-source 1.5 -target 1.5' to compile
- to 1.5 .class format (without that we get OpenJDK6 default class format
- which is 1.6)
- * debian/copyright:
- - Add a note about items stripped from upstream tarball.
- - Reformat debian packaging copyright
- * Rewrite Abstract of Mina package's doc-base.
-
- -- Damien Raude-Morvan <drazzib at drazzib.com> Thu, 14 Aug 2008 01:16:52 +0200
-
-mina (1.1.7.dfsg-3) unstable; urgency=low
-
- * Initial release. (Closes: #491626)
- * debian/control: Use differents synopses for libmina-java and -doc
- * debian/rules:
- - Use dh_installexamples for installing sample code
- - Strip *.vsd files from orig.tar.gz (Microsoft Visio documents)
- * debian/copyright: Licence packaging to BSD licence
-
- -- Damien Raude-Morvan <drazzib at drazzib.com> Sat, 02 Aug 2008 01:16:12 +0200
-
-mina (1.1.7.dfsg-2) unstable; urgency=low
-
- * Use dh_javadoc for generating Javadoc
-
- -- Damien Raude-Morvan <drazzib at drazzib.com> Tue, 22 Jul 2008 21:26:43 +0200
-
-mina (1.1.7.dfsg-1) unstable; urgency=low
-
- * Thanks to Rail Aliev <rail at i-rs.ru> for his packaging help
-
- -- Damien Raude-Morvan <drazzib at drazzib.com> Tue, 22 Jul 2008 20:30:20 +0200
Copied: tags/mina/1.1.7.dfsg-11/debian/changelog (from rev 16984, trunk/mina/debian/changelog)
===================================================================
--- tags/mina/1.1.7.dfsg-11/debian/changelog (rev 0)
+++ tags/mina/1.1.7.dfsg-11/debian/changelog 2013-07-03 14:48:21 UTC (rev 16985)
@@ -0,0 +1,125 @@
+mina (1.1.7.dfsg-11) unstable; urgency=low
+
+ * Removed the dependency on libmx4j-java
+ * Fixed the watch file
+ * Updated Standards-Version to 3.9.4 (no changes)
+ * Use canonical URLs for the Vcs-* fields
+
+ -- Emmanuel Bourg <ebourg at apache.org> Tue, 02 Jul 2013 16:05:50 +0200
+
+mina (1.1.7.dfsg-10) unstable; urgency=low
+
+ * Team upload.
+ * Switch dependencies on Spring Framework 2.5 with 3.0. (Closes: #638538).
+ * Bump Standards-Version to 3.9.2. No changes were required.
+ * Add mh_clean call in dh_auto_clean target,
+
+ -- Miguel Landaeta <miguel at miguel.cc> Fri, 19 Aug 2011 19:52:14 -0430
+
+mina (1.1.7.dfsg-9) unstable; urgency=low
+
+ * d/control: Remove gjdoc from Build-Depends.
+ * d/README.Debian: spring support is now enabled.
+ * d/rules: Use jh_installjavadoc to install javadoc
+ * d/rules: Use dh 7 style
+ * Switch to default-jdk
+ * Remove Depends on JRE (as allowed by new Java Policy)
+
+ -- Damien Raude-Morvan <drazzib at debian.org> Tue, 13 Apr 2010 19:51:31 +0200
+
+mina (1.1.7.dfsg-8) unstable; urgency=low
+
+ [ Damien Raude-Morvan ]
+ * debian/maven.rules: Transform more dependencies
+
+ [ Torsten Werner ]
+ * Let 'maintainers' start with uppercase M.
+ * Add missing Depends: ${misc:Depends}.
+ * Switch to source format 3.0.
+ * Update Standards-Version: 3.8.4.
+
+ -- Torsten Werner <twerner at debian.org> Sun, 11 Apr 2010 00:47:02 +0200
+
+mina (1.1.7.dfsg-7) unstable; urgency=low
+
+ * Append "Mina 1.x" in extended description
+ * Bump debhelper to >= 7
+ - Replace dh_clean -k by dh_prep
+ * Maven POMs:
+ - Add a Build-Depends-Indep dependency on maven-repo-helper
+ - Use mh_installpom and mh_installjar to install the POM and the jar to the
+ Maven repository
+ - debian/maven.rules: Install all JAR with "1.x" currentVersion
+ * Update debian/watch to track 1.x releases
+ * Cleanup get-orig-source:
+ - Create a debian/orig-tar.sh with exlusion list in debian/orig-tar.exclude
+
+ -- Damien Raude-Morvan <drazzib at debian.org> Tue, 13 Oct 2009 22:47:23 +0200
+
+mina (1.1.7.dfsg-6) unstable; 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.3 (no changes needed)
+ - Move libmina-java to "java" section
+ * Set Maintainer field to Debian Java Team
+ * Add myself as Uploaders
+ * Update my email address
+ * Rework dependencies:
+ - debian/rules: remove jh_depends usage
+ - debian/control: downgrade libjzlib-java and libmx4j-java to Recommends
+ - debian/control: add Suggests on libspring-beans-2.5-java
+
+ -- Damien Raude-Morvan <drazzib at debian.org> Fri, 25 Sep 2009 23:23:34 +0200
+
+mina (1.1.7.dfsg-5) unstable; urgency=low
+
+ * Add Build-Depends on gjdoc for dh_javadoc helper (Closes: #507203)
+ Thanks to James Westby <james.westby at canonical.com>.
+ * Move examples (sample source code) to libmina-java-doc package
+
+ -- Damien Raude-Morvan <drazzib at drazzib.com> Sat, 29 Nov 2008 21:05:49 +0100
+
+mina (1.1.7.dfsg-4) unstable; urgency=low
+
+ * debian/control:
+ - As stated by Debian Java Policy, add a Depends on
+ required JRE (version >=5 and headless). Use openjdk-6-jre-headless as
+ default alternative.
+ - Depends on debhelper ">= 5" instead of ">> 5"
+ - Reformat and correct typo in debian packages description
+ * debian/watch: correct dversionmangle to escape ".dfsg" from version number
+ * debian/rules: give to jh_build options '-source 1.5 -target 1.5' to compile
+ to 1.5 .class format (without that we get OpenJDK6 default class format
+ which is 1.6)
+ * debian/copyright:
+ - Add a note about items stripped from upstream tarball.
+ - Reformat debian packaging copyright
+ * Rewrite Abstract of Mina package's doc-base.
+
+ -- Damien Raude-Morvan <drazzib at drazzib.com> Thu, 14 Aug 2008 01:16:52 +0200
+
+mina (1.1.7.dfsg-3) unstable; urgency=low
+
+ * Initial release. (Closes: #491626)
+ * debian/control: Use differents synopses for libmina-java and -doc
+ * debian/rules:
+ - Use dh_installexamples for installing sample code
+ - Strip *.vsd files from orig.tar.gz (Microsoft Visio documents)
+ * debian/copyright: Licence packaging to BSD licence
+
+ -- Damien Raude-Morvan <drazzib at drazzib.com> Sat, 02 Aug 2008 01:16:12 +0200
+
+mina (1.1.7.dfsg-2) unstable; urgency=low
+
+ * Use dh_javadoc for generating Javadoc
+
+ -- Damien Raude-Morvan <drazzib at drazzib.com> Tue, 22 Jul 2008 21:26:43 +0200
+
+mina (1.1.7.dfsg-1) unstable; urgency=low
+
+ * Thanks to Rail Aliev <rail at i-rs.ru> for his packaging help
+
+ -- Damien Raude-Morvan <drazzib at drazzib.com> Tue, 22 Jul 2008 20:30:20 +0200
Deleted: tags/mina/1.1.7.dfsg-11/debian/control
===================================================================
--- trunk/mina/debian/control 2013-07-02 13:50:49 UTC (rev 16956)
+++ tags/mina/1.1.7.dfsg-11/debian/control 2013-07-03 14:48:21 UTC (rev 16985)
@@ -1,60 +0,0 @@
-Source: mina
-Section: java
-Priority: optional
-Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
-Uploaders: Damien Raude-Morvan <drazzib at debian.org>, Emmanuel Bourg <ebourg at apache.org>
-Build-Depends: debhelper (>= 7.0.50~), javahelper (>= 0.25)
-Build-Depends-Indep: default-jdk, libslf4j-java, libjzlib-java,
- libmx4j-java, libspring-beans-java, maven-repo-helper
-Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/mina
-Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/mina
-Standards-Version: 3.9.4
-Homepage: http://mina.apache.org
-
-Package: libmina-java
-Architecture: all
-Depends: libslf4j-java, ${misc:Depends}
-Recommends: libjzlib-java, libmx4j-java
-Suggests: libmina-java-doc, libspring-beans-java
-Description: Java network application framework
- Apache MINA is a network application framework which helps users develop high
- performance and high scalability network applications easily. It provides an
- abstract - event-driven - asynchronous API over various transports such as
- TCP/IP and UDP/IP via Java NIO.
- .
- Some of the features of Apache Mina are:
- - Unified API for various transport types: TCP/UDP/RS232/In-VM
- - Filter interface as an extension point; similar to Servlet filters
- - Low-level and high-level API
- - Highly customizable thread model
- - Out-of-the-box SSL / TLS and StartTLS support using Java 5 SSLEngine
- - Overload shielding & traffic throttling
- - Unit testability using mock objects
- - JMX managability
- - Stream-based I/O support via StreamIoHandler
- .
- This package contains Apache Mina 1.X release
-
-Package: libmina-java-doc
-Architecture: all
-Section: doc
-Depends: ${misc:Depends}
-Suggests: libmina-java
-Description: Java network application framework - documentation
- Apache MINA is a network application framework which helps users develop high
- performance and high scalability network applications easily. It provides an
- abstract - event-driven - asynchronous API over various transports such as
- TCP/IP and UDP/IP via Java NIO.
- .
- Some of the features of Apache Mina are:
- - Unified API for various transport types: TCP/UDP/RS232/In-VM
- - Filter interface as an extension point; similar to Servlet filters
- - Low-level and high-level API
- - Highly customizable thread model
- - Out-of-the-box SSL / TLS and StartTLS support using Java 5 SSLEngine
- - Overload shielding & traffic throttling
- - Unit testability using mock objects
- - JMX managability
- - Stream-based I/O support via StreamIoHandler
- .
- This package contains Javadoc API for Apache Mina 1.X release.
Copied: tags/mina/1.1.7.dfsg-11/debian/control (from rev 16984, trunk/mina/debian/control)
===================================================================
--- tags/mina/1.1.7.dfsg-11/debian/control (rev 0)
+++ tags/mina/1.1.7.dfsg-11/debian/control 2013-07-03 14:48:21 UTC (rev 16985)
@@ -0,0 +1,60 @@
+Source: mina
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Damien Raude-Morvan <drazzib at debian.org>, Emmanuel Bourg <ebourg at apache.org>
+Build-Depends: debhelper (>= 7.0.50~), javahelper (>= 0.25)
+Build-Depends-Indep: default-jdk, libslf4j-java, libjzlib-java,
+ libspring-beans-java, maven-repo-helper
+Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/mina
+Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-java/trunk/mina
+Standards-Version: 3.9.4
+Homepage: http://mina.apache.org
+
+Package: libmina-java
+Architecture: all
+Depends: libslf4j-java, ${misc:Depends}
+Recommends: libjzlib-java
+Suggests: libmina-java-doc, libspring-beans-java
+Description: Java network application framework
+ Apache MINA is a network application framework which helps users develop high
+ performance and high scalability network applications easily. It provides an
+ abstract - event-driven - asynchronous API over various transports such as
+ TCP/IP and UDP/IP via Java NIO.
+ .
+ Some of the features of Apache Mina are:
+ - Unified API for various transport types: TCP/UDP/RS232/In-VM
+ - Filter interface as an extension point; similar to Servlet filters
+ - Low-level and high-level API
+ - Highly customizable thread model
+ - Out-of-the-box SSL / TLS and StartTLS support using Java 5 SSLEngine
+ - Overload shielding & traffic throttling
+ - Unit testability using mock objects
+ - JMX managability
+ - Stream-based I/O support via StreamIoHandler
+ .
+ This package contains Apache Mina 1.X release
+
+Package: libmina-java-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}
+Suggests: libmina-java
+Description: Java network application framework - documentation
+ Apache MINA is a network application framework which helps users develop high
+ performance and high scalability network applications easily. It provides an
+ abstract - event-driven - asynchronous API over various transports such as
+ TCP/IP and UDP/IP via Java NIO.
+ .
+ Some of the features of Apache Mina are:
+ - Unified API for various transport types: TCP/UDP/RS232/In-VM
+ - Filter interface as an extension point; similar to Servlet filters
+ - Low-level and high-level API
+ - Highly customizable thread model
+ - Out-of-the-box SSL / TLS and StartTLS support using Java 5 SSLEngine
+ - Overload shielding & traffic throttling
+ - Unit testability using mock objects
+ - JMX managability
+ - Stream-based I/O support via StreamIoHandler
+ .
+ This package contains Javadoc API for Apache Mina 1.X release.
Deleted: tags/mina/1.1.7.dfsg-11/debian/rules
===================================================================
--- trunk/mina/debian/rules 2013-07-02 13:50:49 UTC (rev 16956)
+++ tags/mina/1.1.7.dfsg-11/debian/rules 2013-07-03 14:48:21 UTC (rev 16985)
@@ -1,66 +0,0 @@
-#!/usr/bin/make -f
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-PACKAGE := $(shell dpkg-parsechangelog | grep '^Source:' | cut -f 2 -d ' ')
-VERSION := $(shell dpkg-parsechangelog | grep '^Version:' | cut -f 2 -d ' ' | sed -r 's/\.dfsg//')
-
-JAVA_HOME := /usr/lib/jvm/default-java
-# We need to export JAVA_HOME for jh_build
-export JAVA_HOME
-
-# Force compilation of 1.5 .class format
-JAVA_OPTS := -source 1.5 -target 1.5
-
-CORE_JAR := $(PACKAGE)-core.jar
-CORE_SRC := core/src/main/java/
-CORE_CP := /usr/share/java/slf4j-api.jar
-
-ZLIB_JAR := $(PACKAGE)-filter-compression.jar
-ZLIB_SRC := filter-compression/src/main/java/
-ZLIB_CP := $(CORE_JAR):/usr/share/java/slf4j-api.jar:/usr/share/java/jzlib.jar
-
-SSL_JAR := $(PACKAGE)-filter-ssl.jar
-SSL_SRC := filter-ssl/src/main/java/
-SSL_CP := $(CORE_JAR):/usr/share/java/slf4j-api.jar
-
-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/spring3-core.jar:/usr/share/java/spring3-beans.jar
-
-ALL_JARS = $(wildcard *.jar)
-
-%:
- dh $@ --with javahelper
-
-override_dh_auto_build:
- # Build the packages
- ( CLASSPATH=${CORE_CP} jh_build -J -o"$(JAVA_OPTS)" $(CORE_JAR) $(CORE_SRC) )
- ( CLASSPATH=${ZLIB_CP} jh_build -J -o"$(JAVA_OPTS)" $(ZLIB_JAR) $(ZLIB_SRC) )
- ( CLASSPATH=${SSL_CP} jh_build -J -o"$(JAVA_OPTS)" $(SSL_JAR) $(SSL_SRC) )
- ( CLASSPATH=${JMX_CP} jh_build -J -o"$(JAVA_OPTS)" $(JMX_JAR) $(JMX_SRC) )
- ( CLASSPATH=${SPRING_CP} jh_build -J -o"$(JAVA_OPTS)" $(SPRING_JAR) $(SPRING_SRC) )
-
-override_dh_auto_clean:
- rm -f $(CORE_JAR) $(ZLIB_JAR) $(SSL_JAR) $(JMX_JAR) $(SPRING_JAR)
- mh_clean
-
-override_dh_installexamples:
- # Don't include META-INF or LICENSE files from examples
- dh_installexamples -plibmina-java-doc -i -X"META-INF" -X"LICENSE"
-
-override_dh_auto_install:
- for MYJAR in $(ALL_JARS); do \
- BASENAME=`basename $$MYJAR .jar`; \
- SUBPATH=`echo $$BASENAME | sed -e 's/mina\-//'`; \
- mh_installpom -plibmina-java -o $$SUBPATH/pom.xml ; \
- mh_installjar -plibmina-java -n$$BASENAME -l $$SUBPATH/pom.xml $$MYJAR ; \
- done
-
-get-orig-source:
- uscan --force-download --rename
Copied: tags/mina/1.1.7.dfsg-11/debian/rules (from rev 16984, trunk/mina/debian/rules)
===================================================================
--- tags/mina/1.1.7.dfsg-11/debian/rules (rev 0)
+++ tags/mina/1.1.7.dfsg-11/debian/rules 2013-07-03 14:48:21 UTC (rev 16985)
@@ -0,0 +1,66 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+PACKAGE := $(shell dpkg-parsechangelog | grep '^Source:' | cut -f 2 -d ' ')
+VERSION := $(shell dpkg-parsechangelog | grep '^Version:' | cut -f 2 -d ' ' | sed -r 's/\.dfsg//')
+
+JAVA_HOME := /usr/lib/jvm/default-java
+# We need to export JAVA_HOME for jh_build
+export JAVA_HOME
+
+# Force compilation of 1.5 .class format
+JAVA_OPTS := -source 1.5 -target 1.5
+
+CORE_JAR := $(PACKAGE)-core.jar
+CORE_SRC := core/src/main/java/
+CORE_CP := /usr/share/java/slf4j-api.jar
+
+ZLIB_JAR := $(PACKAGE)-filter-compression.jar
+ZLIB_SRC := filter-compression/src/main/java/
+ZLIB_CP := $(CORE_JAR):/usr/share/java/slf4j-api.jar:/usr/share/java/jzlib.jar
+
+SSL_JAR := $(PACKAGE)-filter-ssl.jar
+SSL_SRC := filter-ssl/src/main/java/
+SSL_CP := $(CORE_JAR):/usr/share/java/slf4j-api.jar
+
+JMX_JAR := $(PACKAGE)-integration-jmx.jar
+JMX_SRC := integration-jmx/src/main/java/
+JMX_CP := $(CORE_JAR):/usr/share/java/slf4j-api.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/spring3-core.jar:/usr/share/java/spring3-beans.jar
+
+ALL_JARS = $(wildcard *.jar)
+
+%:
+ dh $@ --with javahelper
+
+override_dh_auto_build:
+ # Build the packages
+ ( CLASSPATH=${CORE_CP} jh_build -J -o"$(JAVA_OPTS)" $(CORE_JAR) $(CORE_SRC) )
+ ( CLASSPATH=${ZLIB_CP} jh_build -J -o"$(JAVA_OPTS)" $(ZLIB_JAR) $(ZLIB_SRC) )
+ ( CLASSPATH=${SSL_CP} jh_build -J -o"$(JAVA_OPTS)" $(SSL_JAR) $(SSL_SRC) )
+ ( CLASSPATH=${JMX_CP} jh_build -J -o"$(JAVA_OPTS)" $(JMX_JAR) $(JMX_SRC) )
+ ( CLASSPATH=${SPRING_CP} jh_build -J -o"$(JAVA_OPTS)" $(SPRING_JAR) $(SPRING_SRC) )
+
+override_dh_auto_clean:
+ rm -f $(CORE_JAR) $(ZLIB_JAR) $(SSL_JAR) $(JMX_JAR) $(SPRING_JAR)
+ mh_clean
+
+override_dh_installexamples:
+ # Don't include META-INF or LICENSE files from examples
+ dh_installexamples -plibmina-java-doc -i -X"META-INF" -X"LICENSE"
+
+override_dh_auto_install:
+ for MYJAR in $(ALL_JARS); do \
+ BASENAME=`basename $$MYJAR .jar`; \
+ SUBPATH=`echo $$BASENAME | sed -e 's/mina\-//'`; \
+ mh_installpom -plibmina-java -o $$SUBPATH/pom.xml ; \
+ mh_installjar -plibmina-java -n$$BASENAME -l $$SUBPATH/pom.xml $$MYJAR ; \
+ done
+
+get-orig-source:
+ uscan --force-download --rename
More information about the pkg-java-commits
mailing list