[pkg-java] r4489 - trunk/glassfish/debian

varun-guest at alioth.debian.org varun-guest at alioth.debian.org
Mon Oct 29 15:20:09 UTC 2007


Author: varun-guest
Date: 2007-10-29 15:20:08 +0000 (Mon, 29 Oct 2007)
New Revision: 4489

Added:
   trunk/glassfish/debian/glassfish-activation.install
   trunk/glassfish/debian/glassfish-appserv.install
   trunk/glassfish/debian/glassfish-javaee.install
   trunk/glassfish/debian/glassfish-jmac-api.install
   trunk/glassfish/debian/glassfish-mail.install
   trunk/glassfish/debian/glassfish-toplink-essentials.install
   trunk/glassfish/debian/glassfish.install
Modified:
   trunk/glassfish/debian/changelog
   trunk/glassfish/debian/control
   trunk/glassfish/debian/rules
   trunk/glassfish/debian/watch
Log:
* Create separate binary packages for different jars.


Modified: trunk/glassfish/debian/changelog
===================================================================
--- trunk/glassfish/debian/changelog	2007-10-29 08:11:59 UTC (rev 4488)
+++ trunk/glassfish/debian/changelog	2007-10-29 15:20:08 UTC (rev 4489)
@@ -1,4 +1,4 @@
-glassfish (v2+b58g-1) unstable; urgency=low
+glassfish (2+b58g-1) unstable; urgency=low
 
   * Initial release (Closes: #)
 

Modified: trunk/glassfish/debian/control
===================================================================
--- trunk/glassfish/debian/control	2007-10-29 08:11:59 UTC (rev 4488)
+++ trunk/glassfish/debian/control	2007-10-29 15:20:08 UTC (rev 4489)
@@ -18,3 +18,58 @@
  production-quality, enterprise software. The main deliverables are an
  Application Server, the Java EE 5 Reference Implementation, and the
  Java Persistence API Reference Implementation, TopLink Essentials.
+
+Package: glassfish-activation
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, java-gcj-compat | java1-runtime | java2-runtime
+Description: Open source Java EE 5 Application Server
+ The GlassFish community is building free, open source,
+ production-quality, enterprise software. The main deliverables are an
+ Application Server, the Java EE 5 Reference Implementation, and the
+ Java Persistence API Reference Implementation, TopLink Essentials.
+
+Package: glassfish-appserv
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, java-gcj-compat | java1-runtime | java2-runtime
+Description: Open source Java EE 5 Application Server
+ The GlassFish community is building free, open source,
+ production-quality, enterprise software. The main deliverables are an
+ Application Server, the Java EE 5 Reference Implementation, and the
+ Java Persistence API Reference Implementation, TopLink Essentials.
+
+
+Package: glassfish-jmac-api
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, java-gcj-compat | java1-runtime | java2-runtime
+Description: Open source Java EE 5 Application Server
+ The GlassFish community is building free, open source,
+ production-quality, enterprise software. The main deliverables are an
+ Application Server, the Java EE 5 Reference Implementation, and the
+ Java Persistence API Reference Implementation, TopLink Essentials.
+
+Package: glassfish-mail
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, java-gcj-compat | java1-runtime | java2-runtime
+Description: Open source Java EE 5 Application Server
+ The GlassFish community is building free, open source,
+ production-quality, enterprise software. The main deliverables are an
+ Application Server, the Java EE 5 Reference Implementation, and the
+ Java Persistence API Reference Implementation, TopLink Essentials.
+
+Package: glassfish-javaee
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, java-gcj-compat | java1-runtime | java2-runtime
+Description: Open source Java EE 5 Application Server
+ The GlassFish community is building free, open source,
+ production-quality, enterprise software. The main deliverables are an
+ Application Server, the Java EE 5 Reference Implementation, and the
+ Java Persistence API Reference Implementation, TopLink Essentials.
+
+Package: glassfish-toplink-essentials
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, java-gcj-compat | java1-runtime | java2-runtime
+Description: Open source Java EE 5 Application Server
+ The GlassFish community is building free, open source,
+ production-quality, enterprise software. The main deliverables are an
+ Application Server, the Java EE 5 Reference Implementation, and the
+ Java Persistence API Reference Implementation, TopLink Essentials.

Added: trunk/glassfish/debian/glassfish-activation.install
===================================================================
--- trunk/glassfish/debian/glassfish-activation.install	                        (rev 0)
+++ trunk/glassfish/debian/glassfish-activation.install	2007-10-29 15:20:08 UTC (rev 4489)
@@ -0,0 +1 @@
+debian/tmp/usr/share/java/activation*

Added: trunk/glassfish/debian/glassfish-appserv.install
===================================================================
--- trunk/glassfish/debian/glassfish-appserv.install	                        (rev 0)
+++ trunk/glassfish/debian/glassfish-appserv.install	2007-10-29 15:20:08 UTC (rev 4489)
@@ -0,0 +1 @@
+debian/tmp/usr/share/java/appserv*

Added: trunk/glassfish/debian/glassfish-javaee.install
===================================================================
--- trunk/glassfish/debian/glassfish-javaee.install	                        (rev 0)
+++ trunk/glassfish/debian/glassfish-javaee.install	2007-10-29 15:20:08 UTC (rev 4489)
@@ -0,0 +1 @@
+debian/tmp/usr/share/java/javaee*

Added: trunk/glassfish/debian/glassfish-jmac-api.install
===================================================================
--- trunk/glassfish/debian/glassfish-jmac-api.install	                        (rev 0)
+++ trunk/glassfish/debian/glassfish-jmac-api.install	2007-10-29 15:20:08 UTC (rev 4489)
@@ -0,0 +1 @@
+debian/tmp/usr/share/java/jmac-api*

Added: trunk/glassfish/debian/glassfish-mail.install
===================================================================
--- trunk/glassfish/debian/glassfish-mail.install	                        (rev 0)
+++ trunk/glassfish/debian/glassfish-mail.install	2007-10-29 15:20:08 UTC (rev 4489)
@@ -0,0 +1 @@
+debian/tmp/usr/share/java/mail*

Added: trunk/glassfish/debian/glassfish-toplink-essentials.install
===================================================================
--- trunk/glassfish/debian/glassfish-toplink-essentials.install	                        (rev 0)
+++ trunk/glassfish/debian/glassfish-toplink-essentials.install	2007-10-29 15:20:08 UTC (rev 4489)
@@ -0,0 +1 @@
+debian/tmp/usr/share/java/toplink-essentials*

Added: trunk/glassfish/debian/glassfish.install
===================================================================
--- trunk/glassfish/debian/glassfish.install	                        (rev 0)
+++ trunk/glassfish/debian/glassfish.install	2007-10-29 15:20:08 UTC (rev 4489)
@@ -0,0 +1 @@
+debian/tmp/usr/share/java/*

Modified: trunk/glassfish/debian/rules
===================================================================
--- trunk/glassfish/debian/rules	2007-10-29 08:11:59 UTC (rev 4488)
+++ trunk/glassfish/debian/rules	2007-10-29 15:20:08 UTC (rev 4489)
@@ -8,13 +8,13 @@
 DEB_ANT_BUILD_TARGET	:= jar
 DEB_ANT_BUILDFILE	:= debian/build.xml
 DEB_JARS		:= servlet-api jsp-api
+DEB_DESTDIR		:= $(CURDIR)/debian/tmp
 
 install/glassfish::
 	for jar in `ls publish/glassfish/lib | grep jar$ `; \
 	do \
-		echo $$jar; \
 		install -m 644 -D publish/glassfish/lib/$$jar $(DEB_DESTDIR)/usr/share/java/`basename $$jar .jar`-$(DEB_UPSTREAM_VERSION).jar; \
-		dh_link /usr/share/java/`basename $$jar .jar`-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/$$jar; \
+		ln -s /usr/share/java/`basename $$jar .jar`-$(DEB_UPSTREAM_VERSION).jar $(DEB_DESTDIR)/usr/share/java/$$jar; \
 	done
 
 get-orig-source:

Modified: trunk/glassfish/debian/watch
===================================================================
--- trunk/glassfish/debian/watch	2007-10-29 08:11:59 UTC (rev 4488)
+++ trunk/glassfish/debian/watch	2007-10-29 15:20:08 UTC (rev 4489)
@@ -1,3 +1,3 @@
 version=3
-opts="uversionmangle=s/-/+/,dversionmangle=s/-/+/" \
+opts="uversionmangle=s/-/+/,uversionmangle=s/^v//,dversionmangle=s/-/+/,dversionmangle=s/^v//" \
 http://download.java.net/javaee5/v2_branch/promoted/source/ glassfish-(.*)-src.zip debian debian/orig-tar.sh




More information about the pkg-java-commits mailing list