jOCCI-api: generated packaging
authorroot <root@myriad9.zcu.cz>
Tue, 1 Nov 2016 14:39:17 +0000 (15:39 +0100)
committerroot <root@myriad9.zcu.cz>
Tue, 1 Nov 2016 14:39:17 +0000 (15:39 +0100)
14 files changed:
jOCCI-api/debian/changelog [new file with mode: 0644]
jOCCI-api/debian/compat [new file with mode: 0644]
jOCCI-api/debian/control [new file with mode: 0644]
jOCCI-api/debian/copyright [new file with mode: 0644]
jOCCI-api/debian/libjocci-api-java-doc.doc-base.api [new file with mode: 0644]
jOCCI-api/debian/libjocci-api-java-doc.install [new file with mode: 0644]
jOCCI-api/debian/libjocci-api-java.poms [new file with mode: 0644]
jOCCI-api/debian/maven.cleanIgnoreRules [new file with mode: 0644]
jOCCI-api/debian/maven.ignoreRules [new file with mode: 0644]
jOCCI-api/debian/maven.properties [new file with mode: 0644]
jOCCI-api/debian/maven.publishedRules [new file with mode: 0644]
jOCCI-api/debian/maven.rules [new file with mode: 0644]
jOCCI-api/debian/rules [new file with mode: 0755]
jOCCI-api/debian/source/format [new file with mode: 0644]

diff --git a/jOCCI-api/debian/changelog b/jOCCI-api/debian/changelog
new file mode 100644 (file)
index 0000000..70d198f
--- /dev/null
@@ -0,0 +1,5 @@
+jocci-api (0.2.6-1) UNRELEASED; urgency=low
+
+  * Initial release
+
+ -- František Dvořák <valtri@civ.zcu.cz>  Tue, 01 Nov 2016 15:35:47 +0100
diff --git a/jOCCI-api/debian/compat b/jOCCI-api/debian/compat
new file mode 100644 (file)
index 0000000..ec63514
--- /dev/null
@@ -0,0 +1 @@
+9
diff --git a/jOCCI-api/debian/control b/jOCCI-api/debian/control
new file mode 100644 (file)
index 0000000..53c4589
--- /dev/null
@@ -0,0 +1,32 @@
+Source: jocci-api
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
+Uploaders: František Dvořák <valtri@civ.zcu.cz>
+Build-Depends: debhelper (>= 9), cdbs, default-jdk, maven-debian-helper (>= 1.5)
+Build-Depends-Indep: libmaven-javadoc-plugin-java, libbouncycastle1.46-java (>= 1.46), libgoogle-gson-java,  
+ libhttpclient-java, libjocci-core-java, libslf4j-java, default-jdk-doc,  
+ libgoogle-gson-java-doc 
+Standards-Version: 3.9.5
+#Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/jocci-api
+Vcs-Browser: http://scientific.zcu.cz/git/?p=packaging-deb-jOCCI.git;a=summary
+Homepage: https://github.com/EGI-FCTF/jOCCI-api
+
+Package: libjocci-api-java
+Architecture: all
+Depends: ${misc:Depends}, ${maven:Depends}
+Recommends: ${maven:OptionalDepends}
+Suggests: libjocci-api-java-doc
+Description: cz.cesnet.cloud:jocci-api
+ A Java OCCI framework - transport api library.
+
+Package: libjocci-api-java-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}, ${maven:DocDepends}
+Recommends: ${maven:DocOptionalDepends}
+Suggests: libjocci-api-java
+Description: Documentation for cz.cesnet.cloud:jocci-api
+ A Java OCCI framework - transport api library.
+ .
+ This package contains the API documentation of libjocci-api-java.
diff --git a/jOCCI-api/debian/copyright b/jOCCI-api/debian/copyright
new file mode 100644 (file)
index 0000000..677d4d4
--- /dev/null
@@ -0,0 +1,17 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: cz.cesnet.cloud:jocci-api
+Source: https://github.com/EGI-FCTF/jOCCI-api
+
+Files: *
+Copyright: 2016, Michal Kimle <kimle.michal@gmail.com>
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2016, František Dvořák <valtri@civ.zcu.cz>
+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/jOCCI-api/debian/libjocci-api-java-doc.doc-base.api b/jOCCI-api/debian/libjocci-api-java-doc.doc-base.api
new file mode 100644 (file)
index 0000000..7e528d8
--- /dev/null
@@ -0,0 +1,10 @@
+Document: libjocci-api-java
+Title: API Javadoc for cz.cesnet.cloud:jocci-api
+Author: cz.cesnet.cloud:jocci-api developers
+Abstract: This is the API Javadoc provided for the
+ libjocci-api-java library.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libjocci-api-java/api/index.html
+Files: /usr/share/doc/libjocci-api-java/api/*
diff --git a/jOCCI-api/debian/libjocci-api-java-doc.install b/jOCCI-api/debian/libjocci-api-java-doc.install
new file mode 100644 (file)
index 0000000..ebb056b
--- /dev/null
@@ -0,0 +1,2 @@
+target/apidocs/* usr/share/doc/libjocci-api-java/api
+
diff --git a/jOCCI-api/debian/libjocci-api-java.poms b/jOCCI-api/debian/libjocci-api-java.poms
new file mode 100644 (file)
index 0000000..0417132
--- /dev/null
@@ -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 --has-package-version
diff --git a/jOCCI-api/debian/maven.cleanIgnoreRules b/jOCCI-api/debian/maven.cleanIgnoreRules
new file mode 100644 (file)
index 0000000..8b13789
--- /dev/null
@@ -0,0 +1 @@
+
diff --git a/jOCCI-api/debian/maven.ignoreRules b/jOCCI-api/debian/maven.ignoreRules
new file mode 100644 (file)
index 0000000..539452e
--- /dev/null
@@ -0,0 +1,6 @@
+
+com.github.github site-maven-plugin * * * *
+com.github.tomakehurst wiremock * * * *
+junit junit * * * *
+org.apache.maven.plugins maven-release-plugin * * * *
+org.sonatype.plugins nexus-staging-maven-plugin * * * *
diff --git a/jOCCI-api/debian/maven.properties b/jOCCI-api/debian/maven.properties
new file mode 100644 (file)
index 0000000..e593715
--- /dev/null
@@ -0,0 +1,5 @@
+# Include here properties to pass to Maven during the build.
+# For example:
+# maven.test.skip=true
+
+maven.test.skip=true
diff --git a/jOCCI-api/debian/maven.publishedRules b/jOCCI-api/debian/maven.publishedRules
new file mode 100644 (file)
index 0000000..8b13789
--- /dev/null
@@ -0,0 +1 @@
+
diff --git a/jOCCI-api/debian/maven.rules b/jOCCI-api/debian/maven.rules
new file mode 100644 (file)
index 0000000..df3ddd6
--- /dev/null
@@ -0,0 +1,4 @@
+
+cz.cesnet.cloud jocci-api jar s/.*/debian/ * *
+cz.cesnet.cloud jocci-core jar s/.*/debian/ * *
+org.bouncycastle s/bcprov-jdk16/bcprov1.46/ jar s/.*/debian/ * *
diff --git a/jOCCI-api/debian/rules b/jOCCI-api/debian/rules
new file mode 100755 (executable)
index 0000000..b76c54a
--- /dev/null
@@ -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-version $(DEB_UPSTREAM_VERSION) --force-download --rename
diff --git a/jOCCI-api/debian/source/format b/jOCCI-api/debian/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)