From 513d3fc05a44e1c39a3cf27aa009230db4cabf9f Mon Sep 17 00:00:00 2001 From: root Date: Tue, 1 Nov 2016 15:39:17 +0100 Subject: [PATCH] jOCCI-api: generated packaging --- jOCCI-api/debian/changelog | 5 ++++ jOCCI-api/debian/compat | 1 + jOCCI-api/debian/control | 32 ++++++++++++++++++++++ jOCCI-api/debian/copyright | 17 ++++++++++++ .../debian/libjocci-api-java-doc.doc-base.api | 10 +++++++ jOCCI-api/debian/libjocci-api-java-doc.install | 2 ++ jOCCI-api/debian/libjocci-api-java.poms | 28 +++++++++++++++++++ jOCCI-api/debian/maven.cleanIgnoreRules | 1 + jOCCI-api/debian/maven.ignoreRules | 6 ++++ jOCCI-api/debian/maven.properties | 5 ++++ jOCCI-api/debian/maven.publishedRules | 1 + jOCCI-api/debian/maven.rules | 4 +++ jOCCI-api/debian/rules | 9 ++++++ jOCCI-api/debian/source/format | 1 + 14 files changed, 122 insertions(+) create mode 100644 jOCCI-api/debian/changelog create mode 100644 jOCCI-api/debian/compat create mode 100644 jOCCI-api/debian/control create mode 100644 jOCCI-api/debian/copyright create mode 100644 jOCCI-api/debian/libjocci-api-java-doc.doc-base.api create mode 100644 jOCCI-api/debian/libjocci-api-java-doc.install create mode 100644 jOCCI-api/debian/libjocci-api-java.poms create mode 100644 jOCCI-api/debian/maven.cleanIgnoreRules create mode 100644 jOCCI-api/debian/maven.ignoreRules create mode 100644 jOCCI-api/debian/maven.properties create mode 100644 jOCCI-api/debian/maven.publishedRules create mode 100644 jOCCI-api/debian/maven.rules create mode 100755 jOCCI-api/debian/rules create mode 100644 jOCCI-api/debian/source/format diff --git a/jOCCI-api/debian/changelog b/jOCCI-api/debian/changelog new file mode 100644 index 0000000..70d198f --- /dev/null +++ b/jOCCI-api/debian/changelog @@ -0,0 +1,5 @@ +jocci-api (0.2.6-1) UNRELEASED; urgency=low + + * Initial release + + -- František Dvořák Tue, 01 Nov 2016 15:35:47 +0100 diff --git a/jOCCI-api/debian/compat b/jOCCI-api/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/jOCCI-api/debian/compat @@ -0,0 +1 @@ +9 diff --git a/jOCCI-api/debian/control b/jOCCI-api/debian/control new file mode 100644 index 0000000..53c4589 --- /dev/null +++ b/jOCCI-api/debian/control @@ -0,0 +1,32 @@ +Source: jocci-api +Section: java +Priority: optional +Maintainer: Debian Java Maintainers +Uploaders: František Dvořák +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 index 0000000..677d4d4 --- /dev/null +++ b/jOCCI-api/debian/copyright @@ -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 +License: Apache-2.0 + +Files: debian/* +Copyright: 2016, František Dvořák +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 index 0000000..7e528d8 --- /dev/null +++ b/jOCCI-api/debian/libjocci-api-java-doc.doc-base.api @@ -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 index 0000000..ebb056b --- /dev/null +++ b/jOCCI-api/debian/libjocci-api-java-doc.install @@ -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 index 0000000..0417132 --- /dev/null +++ b/jOCCI-api/debian/libjocci-api-java.poms @@ -0,0 +1,28 @@ +# List of POM files for the package +# Format of this file is: +# [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 tag from the POM +# --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=: a list of XML elements to keep in the POM +# during a clean operation with mh_cleanpom or mh_installpom +# --artifact=: 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 to use when installing the library in /usr/share/java +# --usj-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=: the destination for the real jar. +# It will be installed with mh_install. [mh_install] +# --classifier=: Optional, the classifier for the jar. Empty by default. +# --site-xml=: 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 index 0000000..8b13789 --- /dev/null +++ b/jOCCI-api/debian/maven.cleanIgnoreRules @@ -0,0 +1 @@ + diff --git a/jOCCI-api/debian/maven.ignoreRules b/jOCCI-api/debian/maven.ignoreRules new file mode 100644 index 0000000..539452e --- /dev/null +++ b/jOCCI-api/debian/maven.ignoreRules @@ -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 index 0000000..e593715 --- /dev/null +++ b/jOCCI-api/debian/maven.properties @@ -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 index 0000000..8b13789 --- /dev/null +++ b/jOCCI-api/debian/maven.publishedRules @@ -0,0 +1 @@ + diff --git a/jOCCI-api/debian/maven.rules b/jOCCI-api/debian/maven.rules new file mode 100644 index 0000000..df3ddd6 --- /dev/null +++ b/jOCCI-api/debian/maven.rules @@ -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 index 0000000..b76c54a --- /dev/null +++ b/jOCCI-api/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-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 index 0000000..163aaf8 --- /dev/null +++ b/jOCCI-api/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) -- 1.8.2.3