[libdecentxml-java] 01/01: Add Debian packaging files

Jakub Adam xhaakon-guest at alioth.debian.org
Tue Sep 10 12:52:11 UTC 2013


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

xhaakon-guest pushed a commit to branch master
in repository libdecentxml-java.

commit 7ac5ac641379a7e821ad14a00d7f92a9fccd073f
Author: Jakub Adam <jakub.adam at ktknet.cz>
Date:   Sat May 4 15:49:29 2013 +0200

    Add Debian packaging files
---
 debian/changelog                          |    5 ++++
 debian/compat                             |    1 +
 debian/control                            |   44 +++++++++++++++++++++++++++++
 debian/copyright                          |   41 +++++++++++++++++++++++++++
 debian/gbp.conf                           |    2 ++
 debian/libdecentxml-java-doc.doc-base.api |    9 ++++++
 debian/libdecentxml-java-doc.install      |    1 +
 debian/libdecentxml-java.poms             |   28 ++++++++++++++++++
 debian/maven.cleanIgnoreRules             |    1 +
 debian/maven.ignoreRules                  |    5 ++++
 debian/maven.publishedRules               |    1 +
 debian/maven.rules                        |    3 ++
 debian/rules                              |   12 ++++++++
 debian/source/format                      |    1 +
 14 files changed, 154 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..28b3e60
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+libdecentxml-java (1.4-1) UNRELEASED; urgency=low
+
+  * Initial release. (Closes: #706781)
+
+ -- Jakub Adam <jakub.adam at ktknet.cz>  Sat, 04 May 2013 15:31:28 +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..74fed14
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,44 @@
+Source: libdecentxml-java
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Jakub Adam <jakub.adam at ktknet.cz>
+Build-Depends: debhelper (>= 9), default-jdk, libmaven-compiler-plugin-java,
+ libmaven-javadoc-plugin-java, libmaven-scm-java, libmaven-site-plugin-java,
+ maven-debian-helper (>> 1.6.1), libmaven-install-plugin-java, junit4
+Standards-Version: 3.9.4
+Vcs-Git: git://anonscm.debian.org/git/pkg-java/libdecentxml-java.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-java/libdecentxml-java.git
+Homepage: http://code.google.com/p/decentxml/
+
+Package: libdecentxml-java
+Architecture: all
+Depends: ${misc:Depends}
+Description: XML parser optimized for round-tripping and code reuse
+ DecentXML is an XML parser written in Java with following features:
+ .
+  * Allows 100% round-tripping, even for weird whitespace between attributes in
+    the start tag or in the end tag.
+  * Suitable for building editors and filters which want/need to preserve the
+    original file layout as much as possible.
+  * Error messages have line and column information.
+  * Easy to reuse individual components.
+  * XML 1.1 compatible.
+
+Package: libdecentxml-java-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Suggests: libdecentxml-java (= ${binary:Version})
+Description: API documentation for libdecentxml-java
+ DecentXML is an XML parser written in Java with following features:
+ .
+  * Allows 100% round-tripping, even for weird whitespace between attributes in
+    the start tag or in the end tag.
+  * Suitable for building editors and filters which want/need to preserve the
+    original file layout as much as possible.
+  * Error messages have line and column information.
+  * Easy to reuse individual components.
+  * XML 1.1 compatible.
+ .
+ This package contains the Javadoc generated API documentation.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..d9d7f38
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,41 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: DecentXML
+
+Files: *
+Copyright: 2008, Aaron Digulla
+License: BSD-3-clause
+
+Files: debian/*
+Copyright: 2013, Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+License: BSD-3-clause
+
+License: BSD-3-clause
+ Copyright (c) 2008, Aaron Digulla
+ All rights reserved.
+ .
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+ .
+     * Redistributions of source code must retain the above copyright
+       notice, this list of conditions and the following disclaimer.
+     * Redistributions in binary form must reproduce the above copyright
+       notice, this list of conditions and the following disclaimer in
+       the documentation and/or other materials provided with the
+       distribution.
+     * Neither the name of Aaron Digulla nor the names of its
+       contributors may be used to endorse or promote products derived
+       from this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
+ IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
+ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..e2232b4
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,2 @@
+[DEFAULT]
+compression=xz
diff --git a/debian/libdecentxml-java-doc.doc-base.api b/debian/libdecentxml-java-doc.doc-base.api
new file mode 100644
index 0000000..6e7010e
--- /dev/null
+++ b/debian/libdecentxml-java-doc.doc-base.api
@@ -0,0 +1,9 @@
+Document: libdecentxml-java
+Title: API Javadoc for DecentXML Java library
+Author: Aaron Digulla
+Abstract: This is the API Javadoc for the libdecentxml-java library.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libdecentxml-java/api/index.html
+Files: /usr/share/doc/libdecentxml-java/api/*
diff --git a/debian/libdecentxml-java-doc.install b/debian/libdecentxml-java-doc.install
new file mode 100644
index 0000000..067147f
--- /dev/null
+++ b/debian/libdecentxml-java-doc.install
@@ -0,0 +1 @@
+target/apidocs/* usr/share/doc/libdecentxml-java/api
diff --git a/debian/libdecentxml-java.poms b/debian/libdecentxml-java.poms
new file mode 100644
index 0000000..4c16dce
--- /dev/null
+++ b/debian/libdecentxml-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..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..7513d93
--- /dev/null
+++ b/debian/maven.ignoreRules
@@ -0,0 +1,5 @@
+
+org.apache.maven.plugins maven-assembly-plugin * * * *
+org.apache.maven.plugins maven-release-plugin * * * *
+org.apache.maven.plugins maven-source-plugin * * * *
+org.codehaus.mojo cobertura-maven-plugin * * * *
diff --git a/debian/maven.publishedRules b/debian/maven.publishedRules
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/debian/maven.publishedRules
@@ -0,0 +1 @@
+
diff --git a/debian/maven.rules b/debian/maven.rules
new file mode 100644
index 0000000..a3d48bd
--- /dev/null
+++ b/debian/maven.rules
@@ -0,0 +1,3 @@
+
+junit junit jar s/4\..*/4.x/ * *
+junit s/junit-dep/junit/ * s/4\..*/4.x/ * *
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..b0190ad
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,12 @@
+#!/usr/bin/make -f
+
+%:
+	dh $@ --buildsystem=maven
+
+override_dh_installdocs:
+	dh_installdocs --link-doc=libdecentxml-java
+
+# Workaround #711852, we don't want the javadoc jar
+override_dh_auto_install:
+	dh_auto_install
+	rm -rf debian/libdecentxml-java-doc/usr/share/maven-repo
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)

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



More information about the pkg-java-commits mailing list