Initial packaging
Emmanuel Bourg
8 years ago
0 | Information about geronimo-jta-1.2-spec | |
1 | --------------------------------------- | |
2 | ||
3 | This package was debianized using the mh_make command | |
4 | from the maven-debian-helper package. | |
5 | ||
6 | The build system uses Maven but prevents it from downloading | |
7 | anything from the Internet, making the build compliant with | |
8 | the Debian policy. |
0 | geronimo-jta-1.2-spec (1.0~alpha-1-1) unstable; urgency=medium | |
1 | ||
2 | * Initial release (Closes: #802629) | |
3 | ||
4 | -- Emmanuel Bourg <ebourg@apache.org> Wed, 21 Oct 2015 23:13:05 +0200 |
0 | 9 |
0 | Source: geronimo-jta-1.2-spec | |
1 | Section: java | |
2 | Priority: optional | |
3 | Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> | |
4 | Uploaders: Emmanuel Bourg <ebourg@apache.org> | |
5 | Build-Depends: cdbs, | |
6 | debhelper (>= 9), | |
7 | default-jdk, | |
8 | libcdi-api-java, | |
9 | libgeronimo-interceptor-3.0-spec-java (>= 1.0.1-3~), | |
10 | maven-debian-helper (>= 1.5) | |
11 | Build-Depends-Indep: libmaven-bundle-plugin-java | |
12 | Standards-Version: 3.9.6 | |
13 | Vcs-Git: git://anonscm.debian.org/pkg-java/geronimo-jta-1.2-spec.git | |
14 | Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/geronimo-jta-1.2-spec.git | |
15 | Homepage: http://geronimo.apache.org | |
16 | ||
17 | Package: libgeronimo-jta-1.2-spec-java | |
18 | Architecture: all | |
19 | Depends: ${maven:Depends}, ${misc:Depends} | |
20 | Suggests: ${maven:OptionalDepends} | |
21 | Description: Apache Geronimo JTA 1.2 API | |
22 | Apache Geronimo is an open source server runtime that integrates the best | |
23 | open source projects to create Java/OSGi server runtimes that meet the needs | |
24 | of enterprise developers and system administrators. Its most popular | |
25 | distribution is a fully certified Java EE 6 application server runtime. | |
26 | . | |
27 | This package contains the JTA 1.2 API (javax.transaction.* classes). |
0 | Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | |
1 | Upstream-Name: Apache Geronimo JTA Spec 1.2 | |
2 | Source: http://svn.apache.org/repos/asf/geronimo/specs/trunk/geronimo-jta_1.2_spec/ | |
3 | ||
4 | Files: * | |
5 | Copyright: 2014-2015, The Apache Software Foundation | |
6 | License: Apache-2.0 | |
7 | ||
8 | Files: debian/* | |
9 | Copyright: 2015, Emmanuel Bourg <ebourg@apache.org> | |
10 | License: Apache-2.0 | |
11 | ||
12 | License: Apache-2.0 | |
13 | On Debian systems, the full text of the Apache-2.0 license | |
14 | can be found in the file '/usr/share/common-licenses/Apache-2.0' |
0 | # List of POM files for the package | |
1 | # Format of this file is: | |
2 | # <path to pom file> [option]* | |
3 | # where option can be: | |
4 | # --ignore: ignore this POM and its artifact if any | |
5 | # --ignore-pom: don't install the POM. To use on POM files that are created | |
6 | # temporarily for certain artifacts such as Javadoc jars. [mh_install, mh_installpoms] | |
7 | # --no-parent: remove the <parent> tag from the POM | |
8 | # --package=<package>: an alternative package to use when installing this POM | |
9 | # and its artifact | |
10 | # --has-package-version: to indicate that the original version of the POM is the same as the upstream part | |
11 | # of the version for the package. | |
12 | # --keep-elements=<elem1,elem2>: a list of XML elements to keep in the POM | |
13 | # during a clean operation with mh_cleanpom or mh_installpom | |
14 | # --artifact=<path>: path to the build artifact associated with this POM, | |
15 | # it will be installed when using the command mh_install. [mh_install] | |
16 | # --java-lib: install the jar into /usr/share/java to comply with Debian | |
17 | # packaging guidelines | |
18 | # --usj-name=<name>: name to use when installing the library in /usr/share/java | |
19 | # --usj-version=<version>: version to use when installing the library in /usr/share/java | |
20 | # --no-usj-versionless: don't install the versionless link in /usr/share/java | |
21 | # --dest-jar=<path>: the destination for the real jar. | |
22 | # It will be installed with mh_install. [mh_install] | |
23 | # --classifier=<classifier>: Optional, the classifier for the jar. Empty by default. | |
24 | # --site-xml=<location>: Optional, the location for site.xml if it needs to be installed. | |
25 | # Empty by default. [mh_install] | |
26 | # | |
27 | pom.xml --no-parent --java-lib --usj-name=geronimo-jta-1.2-spec |
0 | # Include here properties to pass to Maven during the build. | |
1 | # For example: | |
2 | # maven.test.skip=true | |
3 | ||
4 | maven.test.skip=true |
0 | ||
1 | org.apache.geronimo.specs geronimo-jta_1.2_spec bundle s/.*/debian/ * * | |
2 | s/org.apache.geronimo.specs/javax.enterprise/ s/geronimo-jcdi_1.1_spec/cdi-api/ * s/.*/debian/ * * | |
3 | org.apache.geronimo.specs s/geronimo-interceptor_1.2_spec/geronimo-interceptor_3.0_spec/ * s/.*/debian/ * * |
0 | #!/bin/sh -e | |
1 | # | |
2 | # Removes unwanted content from the upstream sources. | |
3 | # Called by uscan with '--upstream-version' <version> <file> | |
4 | # | |
5 | ||
6 | VERSION=$2 | |
7 | TAR=../geronimo-jta-1.2-spec_$VERSION.orig.tar.xz | |
8 | DIR=geronimo-jta-1.2-spec-$VERSION | |
9 | TAG=$(echo "geronimo-jta_1.2_spec-$VERSION" | sed -re's/~(alpha|beta|rc)/-\1/') | |
10 | ||
11 | svn export http://svn.apache.org/repos/asf/geronimo/specs/tags/${TAG}/ $DIR | |
12 | XZ_OPT=--best tar -c -J -f $TAR --exclude '*.jar' --exclude '*.class' $DIR | |
13 | rm -rf $DIR ../$TAG |
0 | Description: Mark the maven-bundle-plugin as a extension to handle the 'bundle' packaging | |
1 | (this parameter is defined in a parent pom not available in Debian) | |
2 | Author: Emmanuel Bourg <ebourg@apache.org> | |
3 | Forwarded: not-needed | |
4 | --- a/pom.xml | |
5 | +++ b/pom.xml | |
6 | @@ -76,6 +76,7 @@ | |
7 | <plugin> | |
8 | <groupId>org.apache.felix</groupId> | |
9 | <artifactId>maven-bundle-plugin</artifactId> | |
10 | + <extensions>true</extensions> | |
11 | <version>2.0.1</version> | |
12 | <configuration> | |
13 | <instructions> |
0 | 01-maven-bundle-extension.patch |
0 | #!/usr/bin/make -f | |
1 | ||
2 | include /usr/share/cdbs/1/rules/debhelper.mk | |
3 | include /usr/share/cdbs/1/class/maven.mk | |
4 | ||
5 | JAVA_HOME := /usr/lib/jvm/default-java | |
6 | ||
7 | get-orig-source: | |
8 | uscan --download-current-version --force-download --no-symlink |
0 | 3.0 (quilt) |