[libxmltooling-java] 01/05: Initial Debianisation

Matthew Vernon matthew at moszumanska.debian.org
Thu Apr 10 17:08:22 UTC 2014


This is an automated email from the git hooks/post-receive script.

matthew pushed a commit to branch feature/newerbc
in repository libxmltooling-java.

commit 9ebf4aaddd0bbd9fddd5ffe8e8a4d8e46c51b99c
Author: Matthew Vernon <matthew at debian.org>
Date:   Mon Feb 17 16:22:30 2014 +0000

    Initial Debianisation
    
    This is based on what mh_make made, but adjusted since I want to use git.
---
 .gitignore                     |  1 +
 debian/README.source           |  9 +++++++++
 debian/changelog               |  5 +++++
 debian/compat                  |  1 +
 debian/control                 | 21 +++++++++++++++++++++
 debian/copyright               | 17 +++++++++++++++++
 debian/libxmltooling-java.poms | 28 ++++++++++++++++++++++++++++
 debian/maven.cleanIgnoreRules  |  0
 debian/maven.ignoreRules       |  2 ++
 debian/maven.properties        |  5 +++++
 debian/maven.rules             | 14 ++++++++++++++
 debian/rules                   |  9 +++++++++
 debian/source/format           |  1 +
 debian/source/options          |  1 +
 debian/source/patch-header     | 10 ++++++++++
 15 files changed, 124 insertions(+)

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b25c15b
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+*~
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..1ed16b0
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,9 @@
+Information about libxmltooling-java
+------------------------------------
+
+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..471e000
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+libxmltooling-java (1.4.2-1) unstable; urgency=low
+
+  * Initial release (Closes: #656472)
+
+ -- Matthew Vernon <matthew at debian.org>  Fri, 14 Feb 2014 15:03:33 +0000
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..4f9ae0d
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,21 @@
+Source: libxmltooling-java
+Section: java
+Priority: optional
+Maintainer: Debian Shibboleth Maintainers <pkg-shibboleth-devel at lists.alioth.debian.org>
+Uploaders: Matthew Vernon <matthew at debian.org>
+Build-Depends: debhelper (>= 9), cdbs, default-jdk, maven-debian-helper (>= 1.5)
+Build-Depends-Indep: junit (>= 3.8.2), libbcprov-java, libcommons-codec-java, libjaxp1.3-java,  
+ libjoda-time-java, libnot-yet-commons-ssl-java (>= 0.3.9), libshib-parent-project2-java,  
+ libxalan2-java, libxerces2-java, libxml-commons-resolver1.1-java (>= 1.2),  
+ libxml-security-java, libjcip-annotations-java 
+Standards-Version: 3.9.5
+Homepage: http://shibboleth.net/xmltooling
+
+Package: libxmltooling-java
+Architecture: all
+Depends: ${misc:Depends}, ${maven:Depends}
+Recommends: ${maven:OptionalDepends}
+Description: XMLTooling-J
+ XMLTooling-J is a low-level library that may be used to construct libraries
+ that allow developers to work with XML in a Java beans manner.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..93b82e7
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,17 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: XMLTooling-J
+Source: http://shibboleth.net/xmltooling
+
+Files: *
+Copyright: 1999-2014, Ian Young
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2014, Matthew Vernon <matthew at debian.org>
+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/libxmltooling-java.poms b/debian/libxmltooling-java.poms
new file mode 100644
index 0000000..4c16dce
--- /dev/null
+++ b/debian/libxmltooling-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
diff --git a/debian/maven.cleanIgnoreRules b/debian/maven.cleanIgnoreRules
new file mode 100644
index 0000000..e69de29
diff --git a/debian/maven.ignoreRules b/debian/maven.ignoreRules
new file mode 100644
index 0000000..85d6146
--- /dev/null
+++ b/debian/maven.ignoreRules
@@ -0,0 +1,2 @@
+
+ch.qos.logback logback-classic * * * *
diff --git a/debian/maven.properties b/debian/maven.properties
new file mode 100644
index 0000000..e593715
--- /dev/null
+++ b/debian/maven.properties
@@ -0,0 +1,5 @@
+# Include here properties to pass to Maven during the build.
+# For example:
+# maven.test.skip=true
+
+maven.test.skip=true
diff --git a/debian/maven.rules b/debian/maven.rules
new file mode 100644
index 0000000..814dda8
--- /dev/null
+++ b/debian/maven.rules
@@ -0,0 +1,14 @@
+
+net.shibboleth parent-v2 pom s/TRUNK-SNAPSHOT/1/ * *
+joda-time joda-time jar s/.*/debian/ * *
+junit junit jar s/.*/3.x/ * *
+junit junit jar s/3\..*/3.x/ * *
+net.shibboleth parent-v2 pom * * *
+org.apache.velocity velocity jar s/.*/debian/ * *
+org.bouncycastle s/bcprov-jdk15/bcprov/ jar s/.*/debian/ * *
+org.opensaml xmltooling jar s/1\..*/1.x/ * *
+org.bouncycastle s/bcprov-jdk14/bcprov/ * s/.*/debian/ * *
+org.bouncycastle s/bcprov-jdk15on/bcprov/ * s/.*/debian/ * *
+s/org.apache.tomcat/javax.el/ el-api jar s/.*/2.1/ * *
+s/org.apache.tomcat/javax.servlet/ jsp-api jar s/.*/2.1/ * *
+s/org.apache.tomcat/javax.servlet/ servlet-api jar s/.*/2.5/ * *
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..b76c54a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/maven.mk
+
+JAVA_HOME := /usr/lib/jvm/default-java
+
+get-orig-source:
+	uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
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/source/options b/debian/source/options
new file mode 100644
index 0000000..7423a2d
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1 @@
+single-debian-patch
diff --git a/debian/source/patch-header b/debian/source/patch-header
new file mode 100644
index 0000000..d3de237
--- /dev/null
+++ b/debian/source/patch-header
@@ -0,0 +1,10 @@
+Subject: Collected Debian patches for <libxmltooling-java>
+Author: Matthew Vernon <matthew at debian.org>
+
+The libxmltooling-java package is maintained in Git rather than
+maintaining patches as separate files, and separating the patches
+doesn't seem to be worth the effort.  They are therefore all included
+in this single Debian patch.
+
+For full commit history and separated commits, see the packaging Git
+repository.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libxmltooling-java.git



More information about the pkg-java-commits mailing list