[typesafe-config] 01/01: Initial Debian packaging

Apollon Oikonomopoulos apoikos at moszumanska.debian.org
Wed Mar 1 15:48:03 UTC 2017


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

apoikos pushed a commit to branch master
in repository typesafe-config.

commit 661ce8a1e1a74483f04ea1861e54be783228ba8b
Author: Apollon Oikonomopoulos <apoikos at debian.org>
Date:   Wed Mar 1 17:17:05 2017 +0200

    Initial Debian packaging
---
 debian/build-classpath                     |  1 +
 debian/build.properties                    |  9 ++++++
 debian/changelog                           |  5 +++
 debian/compat                              |  1 +
 debian/control                             | 43 ++++++++++++++++++++++++
 debian/copyright                           | 27 ++++++++++++++++
 debian/libtypesafe-config-java-doc.docs    |  2 ++
 debian/libtypesafe-config-java-doc.javadoc |  1 +
 debian/libtypesafe-config-java.jlibs       |  1 +
 debian/libtypesafe-config-java.poms        | 28 ++++++++++++++++
 debian/pom.xml                             | 52 ++++++++++++++++++++++++++++++
 debian/rules                               | 19 +++++++++++
 debian/source/format                       |  1 +
 debian/watch                               |  2 ++
 14 files changed, 192 insertions(+)

diff --git a/debian/build-classpath b/debian/build-classpath
new file mode 100644
index 0000000..5bfa9ce
--- /dev/null
+++ b/debian/build-classpath
@@ -0,0 +1 @@
+/usr/share/java/ant-nodeps.jar
diff --git a/debian/build.properties b/debian/build.properties
new file mode 100644
index 0000000..deae922
--- /dev/null
+++ b/debian/build.properties
@@ -0,0 +1,9 @@
+build.directory=target
+javadoc.dir=target/apidocs
+javadoc.generate=true
+maven.test.skip=true
+classpath.compile=\
+  target/classes
+
+classpath.test=\
+  target/classes
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..a513ffc
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+typesafe-config (1.3.1-1) unstable; urgency=medium
+
+  * Initial release (Closes: #855755)
+
+ -- Apollon Oikonomopoulos <apoikos at debian.org>  Tue, 07 Feb 2017 19:25:41 +0200
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..1271262
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,43 @@
+Source: typesafe-config
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Apollon Oikonomopoulos <apoikos at debian.org>
+Build-Depends: debhelper (>= 10), default-jdk, maven-repo-helper, javahelper
+Standards-Version: 3.9.8
+Vcs-Git: https://anonscm.debian.org/git/pkg-java/libtypesafe-config-java.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/libtypesafe-config-java.git
+Homepage: https://github.com/typesafehub/config
+
+Package: libtypesafe-config-java
+Architecture: all
+Depends: ${misc:Depends}, ${java:Depends}
+Description: configuration library for JVM languages
+ typesafe-config is a library providing configuration file parsing support to
+ JVM languages. It is implemented in plain Java with no external dependencies
+ and supports three configuration file formats:
+ .
+  * Java properties
+  * JSON files
+  * A human-friendly JSON superset
+ .
+ It can additionally merge multiple files across all formats and load
+ configuration data from plain files, URLs or the class path.
+
+Package: libtypesafe-config-java-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}, ${java:Depends}
+Description: configuration library for JVM languages - documentation
+ typesafe-config is a library providing configuration file parsing support to
+ JVM languages. It is implemented in plain Java with no external dependencies
+ and supports three configuration file formats:
+ .
+  * Java properties
+  * JSON files
+  * A human-friendly JSON superset
+ .
+ It can additionally merge multiple files across all formats and load
+ configuration data from plain files, URLs or the class path.
+ .
+ This package contains the API javadoc.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..1ffc6ee
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,27 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: config
+Source: https://github.com/typesafehub/config
+
+Files: *
+Copyright: 2011-2015 Typesafe, Inc
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2017, Apollon Oikonomopoulos <apoikos at debian.org>
+License: Apache-2.0
+
+License: Apache-2.0
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ .
+     http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ .
+ On Debian systems, the complete text of the Apache License 2.0 can
+ be found in "/usr/share/common-licenses/Apache-2.0".
diff --git a/debian/libtypesafe-config-java-doc.docs b/debian/libtypesafe-config-java-doc.docs
new file mode 100644
index 0000000..c16f6e5
--- /dev/null
+++ b/debian/libtypesafe-config-java-doc.docs
@@ -0,0 +1,2 @@
+CONTRIBUTING.md
+HOCON.md
diff --git a/debian/libtypesafe-config-java-doc.javadoc b/debian/libtypesafe-config-java-doc.javadoc
new file mode 100644
index 0000000..ce83b25
--- /dev/null
+++ b/debian/libtypesafe-config-java-doc.javadoc
@@ -0,0 +1 @@
+internal
diff --git a/debian/libtypesafe-config-java.jlibs b/debian/libtypesafe-config-java.jlibs
new file mode 100644
index 0000000..0967a56
--- /dev/null
+++ b/debian/libtypesafe-config-java.jlibs
@@ -0,0 +1 @@
+typesafe-config.jar
diff --git a/debian/libtypesafe-config-java.poms b/debian/libtypesafe-config-java.poms
new file mode 100644
index 0000000..052a2ae
--- /dev/null
+++ b/debian/libtypesafe-config-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]
+#
+debian/pom.xml --has-package-version --usj-name=typesafe-config
diff --git a/debian/pom.xml b/debian/pom.xml
new file mode 100644
index 0000000..b56f70a
--- /dev/null
+++ b/debian/pom.xml
@@ -0,0 +1,52 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0">
+    <modelVersion>4.0.0</modelVersion>
+    <groupId>com.typesafe</groupId>
+    <artifactId>config</artifactId>
+    <description>config</description>
+    <version>1.3.1</version>
+    <packaging>jar</packaging>
+    <name>config</name>
+    <organization>
+        <name>com.typesafe</name>
+    </organization>
+    <url>https://github.com/typesafehub/config</url>
+    <licenses>
+        <license>
+            <name>Apache License, Version 2.0</name>
+            <url>http://www.apache.org/licenses/LICENSE-2.0</url>
+            <distribution>repo</distribution>
+        </license>
+    </licenses>
+    <scm>
+        <url>git://github.com/typesafehub/config.git</url>
+        <connection>scm:git:git://github.com/typesafehub/config.git</connection>
+    </scm>
+    <developers>
+        <developer>
+            <id>havocp</id>
+            <name>Havoc Pennington</name>
+            <url>http://ometer.com/</url>
+        </developer>
+    </developers>
+    <dependencies>
+        <dependency>
+            <groupId>com.typesafe</groupId>
+            <artifactId>config-test-lib_2.10</artifactId>
+            <version>1.3.1</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>net.liftweb</groupId>
+            <artifactId>lift-json_2.10</artifactId>
+            <version>2.5</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>com.novocode</groupId>
+            <artifactId>junit-interface</artifactId>
+            <version>0.11</version>
+            <scope>test</scope>
+        </dependency>
+    </dependencies>
+</project>
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..96b5b0d
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,19 @@
+#!/usr/bin/make -f
+
+include /usr/share/javahelper/java-vars.mk
+export JAVA_HOME=/usr/lib/jvm/default-java
+
+PRODUCED_JAR=typesafe-config.jar
+
+%:
+	dh $@ --with javahelper,jh_maven_repo_helper
+
+override_jh_build:
+	jh_build $(PRODUCED_JAR) $(CURDIR)/config/src/main/java
+
+override_jh_clean:
+	jh_clean
+	rm -f $(CURDIR)/$(PRODUCED_JAR)
+
+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..8439210
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+https://github.com/typesafehub/config/tags .*/(?:.*?)([\d\.]+)(-M[0-9]+)?\.tar\.gz

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



More information about the pkg-java-commits mailing list