[felix-resolver] 01/02: Initial packaging

Kai-Chung Yan seamlik-guest at moszumanska.debian.org
Wed Feb 28 10:04:33 UTC 2018


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

seamlik-guest pushed a commit to branch master
in repository felix-resolver.

commit 15a2e773ec093566b1392914282e3964a8d14d12
Author: 殷啟聰 | Kai-Chung Yan <seamlikok at gmail.com>
Date:   Wed Feb 28 17:26:55 2018 +0800

    Initial packaging
---
 debian/changelog                          |  5 +++
 debian/compat                             |  1 +
 debian/control                            | 53 +++++++++++++++++++++++++++++++
 debian/copyright                          | 18 +++++++++++
 debian/libfelix-resolver-java-doc.javadoc |  1 +
 debian/libfelix-resolver-java.docs        |  1 +
 debian/libfelix-resolver-java.poms        | 28 ++++++++++++++++
 debian/maven.ignoreRules                  | 18 +++++++++++
 debian/maven.properties                   |  3 ++
 debian/maven.rules                        | 17 ++++++++++
 debian/rules                              |  7 ++++
 debian/source/format                      |  1 +
 debian/watch                              |  2 ++
 13 files changed, 155 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..fca9e4d
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+felix-resolver (1.14.0-1) UNRELEASED; urgency=medium
+
+  * Initial release. (Closes: #XXXXXX)
+
+ -- Kai-Chung Yan (殷啟聰) <seamlikok at gmail.com>  Wed, 28 Feb 2018 16:44:59 +0800
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..9d60796
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+11
\ No newline at end of file
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..d33b6ee
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,53 @@
+Source: felix-resolver
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Kai-Chung Yan (殷啟聰) <seamlikok at gmail.com>
+Build-Depends:
+ debhelper (>= 11),
+ default-jdk-headless,
+ javahelper,
+ libmaven-bundle-plugin-java,
+ libmaven-javadoc-plugin-java,
+ libosgi-core-java (>= 6.0.0),
+ maven-debian-helper (>= 2.0)
+Standards-Version: 4.1.3
+Vcs-Git: https://anonscm.debian.org/git/pkg-java/felix-resolver.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/felix-resolver.git
+Homepage: https://felix.apache.org
+
+Package: libfelix-resolver-java
+Architecture: all
+Depends: ${maven:Depends}, ${misc:Depends}
+Recommends: ${maven:OptionalDepends}
+Suggests: libfelix-resolver-java-doc
+Description: Felix Resolver subproject
+ Apache Felix is a community effort to implement the OSGi Framework and Service
+ platform and other interesting OSGi-related technologies under the Apache
+ license. The OSGi specifications originally targeted embedded devices and home
+ services gateways, but they are ideally suited for any project interested in
+ the principles of modularity, component-orientation, and/or
+ service-orientation. OSGi technology combines aspects of these aforementioned
+ principles to define a dynamic service deployment framework that is amenable
+ to remote management.
+ .
+ This package provides the Resolver subproject.
+
+Package: libfelix-resolver-java-doc
+Architecture: all
+Section: doc
+Depends: ${maven:DocDepends}, ${misc:Depends}
+Recommends: ${maven:DocOptionalDepends}
+Description: Felix Resolver subproject - Documentation
+ Apache Felix is a community effort to implement the OSGi Framework and Service
+ platform and other interesting OSGi-related technologies under the Apache
+ license. The OSGi specifications originally targeted embedded devices and home
+ services gateways, but they are ideally suited for any project interested in
+ the principles of modularity, component-orientation, and/or
+ service-orientation. OSGi technology combines aspects of these aforementioned
+ principles to define a dynamic service deployment framework that is amenable
+ to remote management.
+ .
+ This package provides the Resolver subproject.
+ .
+ This package contains Javadoc API documentation.
\ No newline at end of file
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..1a4bc52
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,18 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0
+Upstream-Name: felix-framework
+Source: https://archive.apache.org/dist/felix
+Files-Excluded: src/test/resources/resolution.json
+
+Files: *
+Copyright: 2013-2017, The Apache Software Foundation
+           2006,2012, OSGi Alliance
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2018, Kai-Chung Yan (殷啟聰) <seamlikok at gmail.com>
+License: Apache-2.0
+
+
+License: Apache-2.0
+ On Debian systems, the complete text of the Apache License Version 2.0,
+ can be found in /usr/share/common-licenses/Apache-2.0.
\ No newline at end of file
diff --git a/debian/libfelix-resolver-java-doc.javadoc b/debian/libfelix-resolver-java-doc.javadoc
new file mode 100644
index 0000000..8046f7b
--- /dev/null
+++ b/debian/libfelix-resolver-java-doc.javadoc
@@ -0,0 +1 @@
+target/apidocs   usr/share/doc/libfelix-resolver-java/api
\ No newline at end of file
diff --git a/debian/libfelix-resolver-java.docs b/debian/libfelix-resolver-java.docs
new file mode 100644
index 0000000..132d13f
--- /dev/null
+++ b/debian/libfelix-resolver-java.docs
@@ -0,0 +1 @@
+NOTICE
\ No newline at end of file
diff --git a/debian/libfelix-resolver-java.poms b/debian/libfelix-resolver-java.poms
new file mode 100644
index 0000000..b68401f
--- /dev/null
+++ b/debian/libfelix-resolver-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 --java-lib
diff --git a/debian/maven.ignoreRules b/debian/maven.ignoreRules
new file mode 100644
index 0000000..b28ad87
--- /dev/null
+++ b/debian/maven.ignoreRules
@@ -0,0 +1,18 @@
+# Maven ignore rules - ignore some Maven dependencies and plugins
+# Format of this file is:
+# [group] [artifact] [type] [version] [classifier] [scope]
+# where each element can be either
+# - the exact string, for example org.apache for the group, or 3.1
+#   for the version. In this case, the element is simply matched
+#   and left as it is
+# - * (the star character, alone). In this case, anything will
+#   match and be left as it is. For example, using * on the
+#  position of the artifact field will match any artifact id
+# All elements much match before a rule can be applied
+# Example rule: match jar with groupid= junit, artifactid= junit
+# and version starting with 3., this dependency is then removed
+# from the POM
+#   junit junit jar s/3\..*/3.x/
+
+org.apache.rat apache-rat-plugin * * * *
+junit junit * * * *
diff --git a/debian/maven.properties b/debian/maven.properties
new file mode 100644
index 0000000..e50b495
--- /dev/null
+++ b/debian/maven.properties
@@ -0,0 +1,3 @@
+# Include here properties to pass to Maven during the build.
+maven.test.skip=true
+project.build.sourceEncoding=UTF-8
diff --git a/debian/maven.rules b/debian/maven.rules
new file mode 100644
index 0000000..548c579
--- /dev/null
+++ b/debian/maven.rules
@@ -0,0 +1,17 @@
+# Maven rules - transform Maven dependencies and plugins
+# Format of this file is:
+# [group] [artifact] [type] [version] [classifier] [scope]
+# where each element can be either
+# - the exact string, for example org.apache for the group, or 3.1
+#   for the version. In this case, the element is simply matched
+#   and left as it is
+# - * (the star character, alone). In this case, anything will
+#   match and be left as it is. For example, using * on the
+#  position of the artifact field will match any artifact id
+# - a regular expression of the form s/match/replace/
+#   in this case, elements that match are transformed using
+#   the regex rule.
+# All elements much match before a rule can be applied
+# Example rule: match jar with groupid= junit, artifactid= junit
+# and version starting with 3., replacing the version with 3.x
+#   junit junit jar s/3\..*/3.x/
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..e1b08dc
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+
+%:
+	dh $@ --buildsystem=maven --with javahelper
+
+get-orig-source:
+	uscan --download-current-version --force-download --repack --compression xz
\ No newline at end of file
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..46ebe02
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
\ No newline at end of file
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..073d059
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=4
+https://archive.apache.org/dist/felix org.apache.felix.resolver at ANY_VERSION@-source-release at ARCHIVE_EXT@
\ No newline at end of file

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



More information about the pkg-java-commits mailing list