[unbescape] 01/01: Initial packaging

Christopher Stuart Hoskin mans0954 at moszumanska.debian.org
Tue Nov 14 23:22:09 UTC 2017


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

mans0954 pushed a commit to branch master
in repository unbescape.

commit dcc87919d8ec65a31dbd3ea547b0fe7fe0ac4e25
Author: Christopher Hoskin <mans0954 at debian.org>
Date:   Tue Nov 14 23:21:44 2017 +0000

    Initial packaging
---
 debian/README.source                      |  9 ++++++
 debian/changelog                          |  5 ++++
 debian/compat                             |  1 +
 debian/control                            | 50 +++++++++++++++++++++++++++++++
 debian/copyright                          | 25 ++++++++++++++++
 debian/libunbescape-java-doc.doc-base.api | 10 +++++++
 debian/libunbescape-java-doc.install      |  2 ++
 debian/libunbescape-java.poms             | 28 +++++++++++++++++
 debian/maven.cleanIgnoreRules             |  1 +
 debian/maven.ignoreRules                  |  5 ++++
 debian/maven.properties                   |  5 ++++
 debian/maven.publishedRules               |  1 +
 debian/maven.rules                        |  2 ++
 debian/rules                              |  7 +++++
 debian/source/format                      |  1 +
 debian/watch                              |  3 ++
 16 files changed, 155 insertions(+)

diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..8b63bd9
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,9 @@
+Information about unbescape
+---------------------------
+
+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..158fb6c
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+unbescape (1.1.5-1) unstable; urgency=medium
+
+  * Initial release (Closes: #881635)
+
+ -- Christopher Hoskin <mans0954 at debian.org>  Tue, 14 Nov 2017 22:51:49 +0000
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..80584b7
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,50 @@
+Source: unbescape
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Christopher Hoskin <mans0954 at debian.org>
+Build-Depends: debhelper (>= 10), default-jdk, maven-debian-helper (>= 2.1)
+Build-Depends-Indep: libmaven-bundle-plugin-java (>= 2.5.4), libmaven-javadoc-plugin-java (>= 3.0.0~M1),
+ default-jdk-doc
+Standards-Version: 4.1.1
+Vcs-Git: https://anonscm.debian.org/git/pkg-java/unbescape.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/unbescape.git
+Homepage: http://www.unbescape.org
+
+Package: libunbescape-java
+Architecture: all
+Depends: ${misc:Depends}, ${maven:Depends}
+Suggests: ${maven:OptionalDepends}, libunbescape-java-doc
+Description: advanced yet easy-to-use escape/unescape library for Java
+ unbescape is a Java library aimed at performing fully-featured and
+ high-performance escape and unescape operations for:
+ .
+  * HTML5 and HTML 4
+  * XML 1.0 and XML 1.1
+  * JavaScript
+  * JSON
+  * URI / URL (both paths and query parameters)
+  * CSS (both identifiers and string literals)
+  * CSV (Comma-Separated Values)
+  * Java literals
+  * Java .properties files (both keys and values)
+ .
+ Its goals are:
+ .
+  * To be easy to use. Few lines of code needed. No additional dependencies.
+  * To be fast. Faster and lighter than most other options available in Java.
+  * To be versatile. Provides different escaping types and levels in order to
+    better adapt to different scenarios and contexts.
+  * To be feature-complete. Includes full HTML5 support, careful implementation
+    of the JavaScript, JSON, Java, etc specifications, streaming support...
+
+Package: libunbescape-java-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}
+Recommends: ${maven:DocDepends}, ${maven:DocOptionalDepends}
+Suggests: libunbescape-java
+Description: escape/unescape library for Java (documentation)
+ This package contains the API documentation of libunbescape-java,
+ a Java library aimed at performing fully-featured and
+ high-performance escape and unescape operations.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..97b78a6
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,25 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: unbescape
+Source: http://www.unbescape.org
+Files-Excluded: src/site/js
+
+Files: *
+Copyright: 2017, The UNBESCAPE team
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2017, Christopher Hoskin <mans0954 at debian.org>
+License: Apache-2.0
+
+Files: ./src/site/css/bootstrap-responsive.css
+ ./src/site/css/bootstrap-responsive.min.css
+ ./src/site/css/bootstrap.css
+ ./src/site/css/bootstrap.min.css
+Copyright: 2012, Twitter, Inc
+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/libunbescape-java-doc.doc-base.api b/debian/libunbescape-java-doc.doc-base.api
new file mode 100644
index 0000000..b606487
--- /dev/null
+++ b/debian/libunbescape-java-doc.doc-base.api
@@ -0,0 +1,10 @@
+Document: libunbescape-java
+Title: API Javadoc for unbescape
+Author: The UNBESCAPE team developers
+Abstract: This is the API Javadoc provided for the
+ libunbescape-java library.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libunbescape-java/api/index.html
+Files: /usr/share/doc/libunbescape-java/api/*
diff --git a/debian/libunbescape-java-doc.install b/debian/libunbescape-java-doc.install
new file mode 100644
index 0000000..f16c7fe
--- /dev/null
+++ b/debian/libunbescape-java-doc.install
@@ -0,0 +1,2 @@
+target/apidocs/* usr/share/doc/libunbescape-java/api
+
diff --git a/debian/libunbescape-java.poms b/debian/libunbescape-java.poms
new file mode 100644
index 0000000..4c16dce
--- /dev/null
+++ b/debian/libunbescape-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..54bc0a1
--- /dev/null
+++ b/debian/maven.ignoreRules
@@ -0,0 +1,5 @@
+
+org.apache.maven.plugins maven-assembly-plugin * * * *
+org.apache.maven.plugins maven-gpg-plugin * * * *
+org.apache.maven.plugins maven-release-plugin * * * *
+org.apache.maven.plugins maven-source-plugin * * * *
diff --git a/debian/maven.properties b/debian/maven.properties
new file mode 100644
index 0000000..b0342cd
--- /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
+# project.build.sourceEncoding=UTF-8
+
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..a601b9b
--- /dev/null
+++ b/debian/maven.rules
@@ -0,0 +1,2 @@
+
+org.unbescape unbescape jar s/.*/debian/ * *
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..5985cac
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+
+%:
+	dh $@
+
+get-orig-source:
+	uscan --download-current-version --force-download --no-symlink
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..d53628b
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+opts=filenamemangle=s/.+\/unbescape-(\d\S+?)(?:.RELEASE)?\.tar\.gz/unbescape-$1\.tar\.gz/ \
+  https://github.com/unbescape/unbescape/tags .*/unbescape-(\d\S+?)(?:.RELEASE)?\.tar\.gz

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



More information about the pkg-java-commits mailing list