[geronimo-j2ee-deployment-1.1-spec] 02/02: Initial debianization
Eugenio Cano-Manuel
zero123-guest at alioth.debian.org
Mon Sep 2 12:08:24 UTC 2013
This is an automated email from the git hooks/post-receive script.
zero123-guest pushed a commit to branch master
in repository geronimo-j2ee-deployment-1.1-spec.
commit 5f18b45e911cfecebb6366396f890f48db6df672
Author: Eugenio Cano-Manuel <eugeniocanom at gmail.com>
Date: Fri Aug 30 11:20:38 2013 +0200
Initial debianization
---
debian/README.source | 9 ++++
debian/changelog | 5 ++
debian/compat | 1 +
debian/control | 49 ++++++++++++++++++++
debian/copyright | 15 ++++++
...-j2ee-deployment-1.1-spec-java-doc.doc-base.api | 10 ++++
...onimo-j2ee-deployment-1.1-spec-java-doc.install | 2 +
.../libgeronimo-j2ee-deployment-1.1-spec-java.poms | 28 +++++++++++
debian/maven.cleanIgnoreRules | 1 +
debian/maven.ignoreRules | 1 +
debian/maven.properties | 4 ++
debian/maven.publishedRules | 2 +
debian/maven.rules | 2 +
debian/orig-tar.sh | 18 +++++++
debian/rules | 6 +++
debian/source/format | 1 +
debian/watch | 2 +
17 files changed, 156 insertions(+)
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..4ca9672
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,9 @@
+Information about geronimo-j2ee-deployment-1.1-spec
+------------------------------
+
+This package was debianized using the mh_make command
+from the maven-debian-helper package.
+
+The build system uses Maven but prevents it from downloading
+anything from the Internet, making the build compliant with
+the Debian policy.
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..8275a6b
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+geronimo-j2ee-deployment-1.1-spec (1.1-1) UNRELEASED; urgency=low
+
+ * Initial release. (Closes: #721609)
+
+ -- Eugenio Cano-Manuel Mendoza <eugeniocanom at gmail.com> Fri, 30 Aug 2013 11:19:53 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..a9e332d
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,49 @@
+Source: geronimo-j2ee-deployment-1.1-spec
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Eugenio Cano-Manuel Mendoza <eugeniocanom at gmail.com>
+Build-Depends:
+ debhelper (>= 9),
+ default-jdk,
+ maven-debian-helper (>= 1.6.5)
+Build-Depends-Indep:
+ default-jdk-doc,
+ libmaven-javadoc-plugin-java
+Standards-Version: 3.9.4
+Vcs-Git: git://anonscm.debian.org/pkg-java/geronimo-j2ee-deployment-1.1-spec.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-java/geronimo-j2ee-deployment-1.1-spec.git
+Homepage: http://geronimo.apache.org/
+
+Package: libgeronimo-j2ee-deployment-1.1-spec-java
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${maven:Depends}
+Recommends: ${maven:OptionalDepends}
+Suggests: libgeronimo-j2ee-deployment-1.1-spec-java-doc
+Description: Geronimo API implementation of the J2EE deployment 1.1 spec
+ The goal of the Geronimo project is to produce a server runtime framework that
+ pulls together the best Open Source alternatives to create runtimes that meet
+ the needs of developers and system administrators. Its most popular
+ distribution is a fully certified Java EE 5 application server runtime.
+ .
+ This package provides the Geronimo API implementation of the J2EE deployment
+ 1.1 spec.
+
+Package: libgeronimo-j2ee-deployment-1.1-spec-java-doc
+Architecture: all
+Section: doc
+Depends:
+ ${misc:Depends},
+ ${maven:DocDepends}
+Recommends: ${maven:DocOptionalDepends}
+Suggests: libgeronimo-j2ee-deployment-1.1-spec-java
+Description: Documentation for J2EE Deployment 1.1
+ The goal of the Geronimo project is to produce a server runtime framework that
+ pulls together the best Open Source alternatives to create runtimes that meet
+ the needs of developers and system administrators. Its most popular
+ distribution is a fully certified Java EE 5 application server runtime.
+ .
+ This package contains the API documentation of
+ libgeronimo-j2ee-deployment-1.1-spec-java.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..e731c0c
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,15 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Geronimo J2EE Deployment 1.1 spec
+Source: http://geronimo.apache.org/
+
+Files: *
+Copyright: 2003-2006, The Apache Software Foundation
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2013, Eugenio Cano-Manuel Mendoza <eugeniocanom at gmail.com>
+License: Apache-2.0
+
+License: Apache-2.0
+ On Debian systems, the full text of the Apache-2.0 license
+ can be found in the file '/usr/share/common-licenses/Apache-2.0'
diff --git a/debian/libgeronimo-j2ee-deployment-1.1-spec-java-doc.doc-base.api b/debian/libgeronimo-j2ee-deployment-1.1-spec-java-doc.doc-base.api
new file mode 100644
index 0000000..eca9377
--- /dev/null
+++ b/debian/libgeronimo-j2ee-deployment-1.1-spec-java-doc.doc-base.api
@@ -0,0 +1,10 @@
+Document: libgeronimo-j2ee-deployment-1.1-spec-java
+Title: API Javadoc for J2EE Deployment 1.1
+Author: J2EE Deployment 1.1 developers
+Abstract: This is the API Javadoc provided for the
+ libgeronimo-j2ee-deployment-1.1-spec-java library.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libgeronimo-j2ee-deployment-1.1-spec-java/api/index.html
+Files: /usr/share/doc/libgeronimo-j2ee-deployment-1.1-spec-java/api/*
diff --git a/debian/libgeronimo-j2ee-deployment-1.1-spec-java-doc.install b/debian/libgeronimo-j2ee-deployment-1.1-spec-java-doc.install
new file mode 100644
index 0000000..23fccd9
--- /dev/null
+++ b/debian/libgeronimo-j2ee-deployment-1.1-spec-java-doc.install
@@ -0,0 +1,2 @@
+target/apidocs/* usr/share/doc/libgeronimo-j2ee-deployment-1.1-spec-java/api
+
diff --git a/debian/libgeronimo-j2ee-deployment-1.1-spec-java.poms b/debian/libgeronimo-j2ee-deployment-1.1-spec-java.poms
new file mode 100644
index 0000000..5ad70f2
--- /dev/null
+++ b/debian/libgeronimo-j2ee-deployment-1.1-spec-java.poms
@@ -0,0 +1,28 @@
+# List of POM files for the package
+# Format of this file is:
+# <path to pom file> [option]*
+# where option can be:
+# --ignore: ignore this POM and its artifact if any
+# --ignore-pom: don't install the POM. To use on POM files that are created
+# temporarily for certain artifacts such as Javadoc jars. [mh_install, mh_installpoms]
+# --no-parent: remove the <parent> tag from the POM
+# --package=<package>: an alternative package to use when installing this POM
+# and its artifact
+# --has-package-version: to indicate that the original version of the POM is the same as the upstream part
+# of the version for the package.
+# --keep-elements=<elem1,elem2>: a list of XML elements to keep in the POM
+# during a clean operation with mh_cleanpom or mh_installpom
+# --artifact=<path>: path to the build artifact associated with this POM,
+# it will be installed when using the command mh_install. [mh_install]
+# --java-lib: install the jar into /usr/share/java to comply with Debian
+# packaging guidelines
+# --usj-name=<name>: name to use when installing the library in /usr/share/java
+# --usj-version=<version>: version to use when installing the library in /usr/share/java
+# --no-usj-versionless: don't install the versionless link in /usr/share/java
+# --dest-jar=<path>: the destination for the real jar.
+# It will be installed with mh_install. [mh_install]
+# --classifier=<classifier>: Optional, the classifier for the jar. Empty by default.
+# --site-xml=<location>: Optional, the location for site.xml if it needs to be installed.
+# Empty by default. [mh_install]
+#
+pom.xml --no-parent --has-package-version
diff --git a/debian/maven.cleanIgnoreRules b/debian/maven.cleanIgnoreRules
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/debian/maven.cleanIgnoreRules
@@ -0,0 +1 @@
+
diff --git a/debian/maven.ignoreRules b/debian/maven.ignoreRules
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/debian/maven.ignoreRules
@@ -0,0 +1 @@
+
diff --git a/debian/maven.properties b/debian/maven.properties
new file mode 100644
index 0000000..eacced3
--- /dev/null
+++ b/debian/maven.properties
@@ -0,0 +1,4 @@
+# Include here properties to pass to Maven during the build.
+# For example:
+ maven.test.skip=true
+
diff --git a/debian/maven.publishedRules b/debian/maven.publishedRules
new file mode 100644
index 0000000..acd569c
--- /dev/null
+++ b/debian/maven.publishedRules
@@ -0,0 +1,2 @@
+
+org.apache.geronimo.specs geronimo-j2ee-deployment_1.1_spec jar s/1\..*/debian/ * *
diff --git a/debian/maven.rules b/debian/maven.rules
new file mode 100644
index 0000000..acd569c
--- /dev/null
+++ b/debian/maven.rules
@@ -0,0 +1,2 @@
+
+org.apache.geronimo.specs geronimo-j2ee-deployment_1.1_spec jar s/1\..*/debian/ * *
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
new file mode 100755
index 0000000..115f2b1
--- /dev/null
+++ b/debian/orig-tar.sh
@@ -0,0 +1,18 @@
+#!/bin/sh -e
+
+# $1 = version
+TAR=../geronimo-j2ee-deployment-1.1-spec_$2.orig.tar.gz
+DIR=libgeronimo-j2ee-deployment-1.1-spec-java-$2.orig
+
+# clean up the upstream tarball
+svn export http://svn.apache.org/repos/asf/geronimo/specs/tags/geronimo-j2ee-deployment_1.1_spec-$2/ $DIR
+GZIP=--best tar -c -z -f $TAR $DIR
+rm -rf $DIR
+rm ../geronimo-j2ee-deployment-$2
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+ . .svn/deb-layout
+ mv $TAR $origDir
+ echo "moved $TAR to $origDir"
+fi
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..4309f4e
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,6 @@
+#!/usr/bin/make -f
+
+export DH_VERBOSE=1
+
+%:
+ dh $@ --buildsystem=maven
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..b19f556
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://svn.apache.org/repos/asf/geronimo/specs/tags/ geronimo-j2ee-deployment_1.1_spec-(\d.*)/ debian debian/orig-tar.sh
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/geronimo-j2ee-deployment-1.1-spec.git
More information about the pkg-java-commits
mailing list