[libopenws-java] 01/07: Initial Debianisation

Matthew Vernon matthew at moszumanska.debian.org
Thu Apr 10 17:32:28 UTC 2014


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

matthew pushed a commit to branch master
in repository libopenws-java.

commit 473792481a24c336823b6c768b6946c3e95669a7
Author: Matthew Vernon <mcv21 at cam.ac.uk>
Date:   Tue Feb 18 15:30:49 2014 +0000

    Initial Debianisation
    
    Based on the output of mh_make.
---
 .gitignore                    |  1 +
 debian/README.source          |  9 +++++++++
 debian/changelog              |  5 +++++
 debian/compat                 |  1 +
 debian/control                | 23 +++++++++++++++++++++++
 debian/copyright              | 17 +++++++++++++++++
 debian/libopenws-java.poms    | 28 ++++++++++++++++++++++++++++
 debian/maven.cleanIgnoreRules |  1 +
 debian/maven.ignoreRules      |  3 +++
 debian/maven.properties       |  5 +++++
 debian/maven.publishedRules   |  2 ++
 debian/maven.rules            | 14 ++++++++++++++
 debian/rules                  |  9 +++++++++
 debian/source/format          |  1 +
 debian/source/options         |  1 +
 debian/source/patch-header    | 10 ++++++++++
 16 files changed, 130 insertions(+)

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b25c15b
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+*~
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..cad198e
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,9 @@
+Information about libopenws-java
+--------------------------------
+
+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..543dfb5
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+libopenws-java (1.5.1-1) unstable; urgency=low
+
+  * Initial release (Closes: #656538)
+
+ -- Matthew Vernon <matthew at debian.org>  Tue, 18 Feb 2014 13:23:41 +0000
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..23dab92
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,23 @@
+Source: libopenws-java
+Section: java
+Priority: optional
+Maintainer: Debian Shibboleth Maintainers <pkg-shibboleth-maintainers at lists.alioth.debian.org>
+Uploaders: Matthew Vernon <matthew at debian.org>
+Build-Depends: debhelper (>= 9), cdbs, default-jdk, maven-debian-helper (>= 1.5)
+Build-Depends-Indep: junit (>= 3.8.2), libcommons-codec-java, libcommons-httpclient-java, libjaxp1.3-java,  
+ libjoda-time-java, libservlet2.5-java, libshib-parent-project2-java, libspring-test-java,  
+ libxalan2-java, libxerces2-java, libxml-commons-resolver1.1-java (>= 1.2),  
+ libxml-security-java, libxmltooling-java 
+Standards-Version: 3.9.5
+Homepage: http://shibboleth.net/openws
+
+Package: libopenws-java
+Architecture: all
+Depends: ${misc:Depends}, ${maven:Depends}
+Recommends: ${maven:OptionalDepends}
+Description: OpenWS
+ The OpenWS library provides a growing set of tools to work with web services
+ at a low level. These tools include classes for creating and reading SOAP
+ messages, transport-independent clients for connecting to web services,
+ and various transports for use with those clients.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..136b30a
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,17 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: OpenWS
+Source: http://shibboleth.net/openws
+
+Files: *
+Copyright: 1999-2014, Ian Young
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2014, Matthew Vernon <matthew at debian.org>
+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/libopenws-java.poms b/debian/libopenws-java.poms
new file mode 100644
index 0000000..4c16dce
--- /dev/null
+++ b/debian/libopenws-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
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..2205a6a
--- /dev/null
+++ b/debian/maven.ignoreRules
@@ -0,0 +1,3 @@
+
+ch.qos.logback logback-classic * * * *
+org.springframework spring-core * * * *
diff --git a/debian/maven.properties b/debian/maven.properties
new file mode 100644
index 0000000..e593715
--- /dev/null
+++ b/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/debian/maven.publishedRules b/debian/maven.publishedRules
new file mode 100644
index 0000000..f1895c2
--- /dev/null
+++ b/debian/maven.publishedRules
@@ -0,0 +1,2 @@
+
+org.opensaml openws jar s/.*/debian/ * *
diff --git a/debian/maven.rules b/debian/maven.rules
new file mode 100644
index 0000000..03aecc1
--- /dev/null
+++ b/debian/maven.rules
@@ -0,0 +1,14 @@
+
+net.shibboleth parent-v2 pom s/TRUNK-SNAPSHOT/debian/ * *
+commons-httpclient commons-httpclient jar s/3\..*/3.x/ * *
+joda-time joda-time jar s/.*/debian/ * *
+junit junit jar s/3\..*/3.x/ * *
+net.shibboleth parent-v2 pom * * *
+org.apache.velocity velocity jar s/.*/debian/ * *
+org.opensaml openws jar s/.*/debian/ * *
+org.opensaml xmltooling jar s/1\..*/1.x/ * *
+org.springframework spring-core jar s/.*/3.x/ * *
+org.springframework * * s/3\..*/3.x/ * *
+s/org.apache.tomcat/javax.el/ el-api jar s/.*/2.1/ * *
+s/org.apache.tomcat/javax.servlet/ jsp-api jar s/.*/2.1/ * *
+s/org.apache.tomcat/javax.servlet/ servlet-api jar s/.*/2.5/ * *
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..b76c54a
--- /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-version $(DEB_UPSTREAM_VERSION) --force-download --rename
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/source/options b/debian/source/options
new file mode 100644
index 0000000..7423a2d
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1 @@
+single-debian-patch
diff --git a/debian/source/patch-header b/debian/source/patch-header
new file mode 100644
index 0000000..00a7c8a
--- /dev/null
+++ b/debian/source/patch-header
@@ -0,0 +1,10 @@
+Subject: Collected Debian patches for libopenws-java
+Author: Matthew Vernon <matthew at debian.org>
+
+The libopenws-java package is maintained in Git rather than
+maintaining patches as separate files, and separating the patches
+doesn't seem to be worth the effort.  They are therefore all included
+in this single Debian patch.
+
+For full commit history and separated commits, see the packaging Git
+repository.

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



More information about the pkg-java-commits mailing list