[glassfish] 04/40: * Create separate binary packages for different jars.
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Wed Sep 24 16:00:25 UTC 2014
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to annotated tag debian/1%3A2.1.1-b31-1
in repository glassfish.
commit 7b7837c354931b64e9802ff14e3b638d7f3747f0
Author: Varun Hiremath <varun at debian.org>
Date: Mon Oct 29 15:20:08 2007 +0000
* Create separate binary packages for different jars.
---
debian/changelog | 2 +-
debian/control | 55 +++++++++++++++++++++++++++++
debian/glassfish-activation.install | 1 +
debian/glassfish-appserv.install | 1 +
debian/glassfish-javaee.install | 1 +
debian/glassfish-jmac-api.install | 1 +
debian/glassfish-mail.install | 1 +
debian/glassfish-toplink-essentials.install | 1 +
debian/glassfish.install | 1 +
debian/rules | 4 +--
debian/watch | 2 +-
11 files changed, 66 insertions(+), 4 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 52fc04c..0567184 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-glassfish (v2+b58g-1) unstable; urgency=low
+glassfish (2+b58g-1) unstable; urgency=low
* Initial release (Closes: #)
diff --git a/debian/control b/debian/control
index 3527886..707b575 100644
--- a/debian/control
+++ b/debian/control
@@ -18,3 +18,58 @@ Description: Open source Java EE 5 Application Server
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.
diff --git a/debian/glassfish-activation.install b/debian/glassfish-activation.install
new file mode 100644
index 0000000..4dcd61d
--- /dev/null
+++ b/debian/glassfish-activation.install
@@ -0,0 +1 @@
+debian/tmp/usr/share/java/activation*
diff --git a/debian/glassfish-appserv.install b/debian/glassfish-appserv.install
new file mode 100644
index 0000000..1f86e2b
--- /dev/null
+++ b/debian/glassfish-appserv.install
@@ -0,0 +1 @@
+debian/tmp/usr/share/java/appserv*
diff --git a/debian/glassfish-javaee.install b/debian/glassfish-javaee.install
new file mode 100644
index 0000000..d8cf31e
--- /dev/null
+++ b/debian/glassfish-javaee.install
@@ -0,0 +1 @@
+debian/tmp/usr/share/java/javaee*
diff --git a/debian/glassfish-jmac-api.install b/debian/glassfish-jmac-api.install
new file mode 100644
index 0000000..7751b79
--- /dev/null
+++ b/debian/glassfish-jmac-api.install
@@ -0,0 +1 @@
+debian/tmp/usr/share/java/jmac-api*
diff --git a/debian/glassfish-mail.install b/debian/glassfish-mail.install
new file mode 100644
index 0000000..bb8205c
--- /dev/null
+++ b/debian/glassfish-mail.install
@@ -0,0 +1 @@
+debian/tmp/usr/share/java/mail*
diff --git a/debian/glassfish-toplink-essentials.install b/debian/glassfish-toplink-essentials.install
new file mode 100644
index 0000000..1115ba0
--- /dev/null
+++ b/debian/glassfish-toplink-essentials.install
@@ -0,0 +1 @@
+debian/tmp/usr/share/java/toplink-essentials*
diff --git a/debian/glassfish.install b/debian/glassfish.install
new file mode 100644
index 0000000..1789dc8
--- /dev/null
+++ b/debian/glassfish.install
@@ -0,0 +1 @@
+debian/tmp/usr/share/java/*
diff --git a/debian/rules b/debian/rules
index d1a1721..87e0bfe 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,13 +8,13 @@ JAVA_HOME := /usr/lib/jvm/java-6-sun
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:
diff --git a/debian/watch b/debian/watch
index 2677127..73458d9 100644
--- a/debian/watch
+++ b/debian/watch
@@ -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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/glassfish.git
More information about the pkg-java-commits
mailing list