[jboss-logging] 01/01: Add initial Debian directory

Markus Koschany apo-guest at moszumanska.debian.org
Sun May 3 13:46:03 UTC 2015


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

apo-guest pushed a commit to branch master
in repository jboss-logging.

commit 11c6411ab0c0b80d49fd55dd34ca539072971fbe
Author: Markus Koschany <apo at gambaru.de>
Date:   Sun May 3 15:45:36 2015 +0200

    Add initial Debian directory
---
 debian/README.source                          |  9 +++++
 debian/changelog                              |  5 +++
 debian/compat                                 |  1 +
 debian/control                                | 53 +++++++++++++++++++++++++++
 debian/copyright                              | 15 ++++++++
 debian/libjboss-logging-java-doc.doc-base.api | 10 +++++
 debian/libjboss-logging-java-doc.install      |  2 +
 debian/libjboss-logging-java.poms             | 28 ++++++++++++++
 debian/maven.cleanIgnoreRules                 |  1 +
 debian/maven.ignoreRules                      |  1 +
 debian/maven.properties                       |  4 ++
 debian/maven.publishedRules                   |  1 +
 debian/maven.rules                            |  4 ++
 debian/patches/SLF4j-1.7.patch                | 25 +++++++++++++
 debian/patches/series                         |  1 +
 debian/rules                                  |  9 +++++
 debian/source/format                          |  1 +
 debian/watch                                  |  4 ++
 18 files changed, 174 insertions(+)

diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..90e72f8
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,9 @@
+Information about jboss-logging
+-------------------------------
+
+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..c42069e
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+jboss-logging (3.2.1-1) UNRELEASED; urgency=medium
+
+  * Initial release (Closes: #779659)
+
+ -- Markus Koschany <apo at gambaru.de>  Sat, 02 May 2015 21:53:17 +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..a727fcc
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,53 @@
+Source: jboss-logging
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders:
+ Markus Koschany <apo at gambaru.de>
+Build-Depends:
+ cdbs,
+ debhelper (>= 9),
+ default-jdk,
+ maven-debian-helper (>= 1.5)
+Build-Depends-Indep:
+ default-jdk-doc,
+ libmaven-javadoc-plugin-java,
+ libjboss-logmanager-java,
+ liblog4j2-java,
+ liblog4j1.2-java,
+ libmaven-bundle-plugin-java
+Standards-Version: 3.9.6
+Vcs-Git: git://anonscm.debian.org/pkg-java/jboss-logging.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/jboss-logging.git
+Homepage: http://www.jboss.org
+
+Package: libjboss-logging-java
+Architecture: all
+Depends:
+ ${maven:Depends},
+ ${misc:Depends}
+Suggests:
+ libjboss-logging-java-doc,
+ ${maven:OptionalDepends}
+Description: JBoss Logging Framework
+ This package contains the JBoss Logging Framework.
+ .
+ JBoss Logging provides an easy way to add logging to an application. You add
+ code to your application that uses the framework to send log messages in a
+ defined format. When the application is deployed to an application server,
+ these messages can be captured by the server and displayed and/or written to
+ file according to the server's configuration.
+
+Package: libjboss-logging-java-doc
+Architecture: all
+Section: doc
+Depends:
+ ${misc:Depends}
+Recommends:
+ ${maven:DocDepends},
+ ${maven:DocOptionalDepends}
+Suggests:
+ libjboss-logging-java
+Description: Documentation for the JBoss Logging Framework
+ JBoss Logging provides an easy way to add logging to an application.
+ This package contains the API documentation of libjboss-logging-java.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..f9b8836
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,15 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: JBoss Logging 3
+Source: https://github.com/jboss-logging/jboss-logging
+
+Files: *
+Copyright: 2010-2015, Redhat, Inc.
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2015, Markus Koschany <apo at gambaru.de>
+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/libjboss-logging-java-doc.doc-base.api b/debian/libjboss-logging-java-doc.doc-base.api
new file mode 100644
index 0000000..5da7f34
--- /dev/null
+++ b/debian/libjboss-logging-java-doc.doc-base.api
@@ -0,0 +1,10 @@
+Document: libjboss-logging-java
+Title: API Javadoc for JBoss Logging 3
+Author: JBoss Logging 3 developers
+Abstract: This is the API Javadoc provided for the
+ libjboss-logging-java library.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libjboss-logging-java/api/index.html
+Files: /usr/share/doc/libjboss-logging-java/api/*
diff --git a/debian/libjboss-logging-java-doc.install b/debian/libjboss-logging-java-doc.install
new file mode 100644
index 0000000..c7f3e22
--- /dev/null
+++ b/debian/libjboss-logging-java-doc.install
@@ -0,0 +1,2 @@
+
+target/apidocs/* usr/share/doc/libjboss-logging-java/api
diff --git a/debian/libjboss-logging-java.poms b/debian/libjboss-logging-java.poms
new file mode 100644
index 0000000..8545d14
--- /dev/null
+++ b/debian/libjboss-logging-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
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..109e1e3
--- /dev/null
+++ b/debian/maven.ignoreRules
@@ -0,0 +1 @@
+org.apache.maven.plugins maven-source-plugin * * * *
diff --git a/debian/maven.properties b/debian/maven.properties
new file mode 100644
index 0000000..7c29bd7
--- /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..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..c5fccba
--- /dev/null
+++ b/debian/maven.rules
@@ -0,0 +1,4 @@
+
+org.jboss.logging jboss-logging jar s/.*/debian/ * *
+org.jboss.logmanager jboss-logmanager jar s/.*/debian/ * *
+log4j log4j * s/1\.2\..*/1.2.x/
diff --git a/debian/patches/SLF4j-1.7.patch b/debian/patches/SLF4j-1.7.patch
new file mode 100644
index 0000000..d86c00a
--- /dev/null
+++ b/debian/patches/SLF4j-1.7.patch
@@ -0,0 +1,25 @@
+From: Marek Goldmann <marek.goldmann at gmail.com>
+Date: Sun, 3 May 2015 12:34:54 +0200
+Subject: SLF4j-1.7
+
+This patch was taken from Fedora courtesy of Marek Goldmann.
+http://pkgs.fedoraproject.org/cgit/jboss-logging.git/tree/0001-SLF4j-1.7-upgrade.patch
+It allows jboss-logging to compile with the latest version of SLF4j.
+
+Forwarded: no
+---
+ src/main/java/org/jboss/logging/Slf4jLoggerProvider.java | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/main/java/org/jboss/logging/Slf4jLoggerProvider.java b/src/main/java/org/jboss/logging/Slf4jLoggerProvider.java
+index 0eedf16..4434838 100644
+--- a/src/main/java/org/jboss/logging/Slf4jLoggerProvider.java
++++ b/src/main/java/org/jboss/logging/Slf4jLoggerProvider.java
+@@ -55,6 +55,6 @@ final class Slf4jLoggerProvider extends AbstractLoggerProvider implements Logger
+ 
+     @SuppressWarnings({ "unchecked" })
+     public Map<String, Object> getMdcMap() {
+-        return MDC.getCopyOfContextMap();
++        return (Map) MDC.getCopyOfContextMap();
+     }
+ }
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..d957b88
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+SLF4j-1.7.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..4a061cf
--- /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-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..830301b
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+opts=dversionmangle=s/(\da?)[\+\.\-~](?:dfsg|debian|ds|repack|repacked)\.?\d*$/$1/,uversionmangle=s/_/./g;s/\.Beta/~beta/;s/\.Final// \
+https://github.com/jboss-logging/jboss-logging/tags \
+.*/archive/(?:upstream/)?(?:v||version-|release-|X|R|r)(\d\S*)\.tar\.gz

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



More information about the pkg-java-commits mailing list