[jnr-constants] 01/09: move libconstantine-java under the pkg-java umbrella

Tim Potter tpot-guest at moszumanska.debian.org
Tue Feb 10 03:09:07 UTC 2015


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

tpot-guest pushed a commit to branch master
in repository jnr-constants.

commit 94c05c1c6e38e1a92ce75ee38ba38a752c8386be
Author: Sylvestre Ledru <sylvestre at debian.org>
Date:   Thu Nov 21 13:33:16 2013 +0000

    move libconstantine-java under the pkg-java umbrella
---
 debian/changelog                             | 34 ++++++++++++++
 debian/compat                                |  1 +
 debian/control                               | 31 +++++++++++++
 debian/copyright                             | 54 ++++++++++++++++++++++
 debian/libconstantine-java-doc.README.Debian | 14 ++++++
 debian/libconstantine-java.README.Debian     | 18 ++++++++
 debian/rules                                 | 67 ++++++++++++++++++++++++++++
 7 files changed, 219 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..6216a60
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,34 @@
+libconstantine-java (0.7-4) unstable; urgency=low
+
+  * Orphaning this package.
+
+ -- Nicolas Duboc <nduboc at debian.org>  Sat, 20 Apr 2013 18:38:57 +0200
+
+libconstantine-java (0.7-3) unstable; urgency=low
+
+  * Fixed missing jar file in /usr/share/java.
+  * The jar name is now constantine.jar.  Support of the old
+    libconstantine-java name is preserved.
+
+ -- Nicolas Duboc <nduboc at debian.org>  Mon, 16 May 2011 13:53:52 +0200
+
+libconstantine-java (0.7-2) unstable; urgency=low
+
+  * Jar file is now registered in the local Debian Maven repository.
+  * Switched source files of the Debian packaging to MIT license.
+  * Bumped Debian policy compliance to 3.9.1. Nothing to do.
+
+ -- Nicolas Duboc <nduboc at debian.org>  Sun, 15 May 2011 14:53:27 +0200
+
+libconstantine-java (0.7-1) unstable; urgency=low
+
+  * New upstream release 0.7 (closes: 582287)
+  * Bumped Debian policy compliance to 3.8.4 (nothing to do).
+
+ -- Nicolas Duboc <nduboc at debian.org>  Mon, 21 Jun 2010 09:32:21 +0200
+
+libconstantine-java (0.4-1) unstable; urgency=low
+
+  * Initial release. (Closes: #533070)
+
+ -- Nicolas Duboc <nduboc at debian.org>  Sat, 19 Sep 2009 18:10:29 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..8dde10e
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,31 @@
+Source: libconstantine-java
+Section: java
+Priority: optional
+Maintainer: Debian QA Group <packages at qa.debian.org>
+Build-Depends: debhelper (>> 7.0.0), ant
+Build-Depends-Indep: default-jdk, junit4, ant-optional, maven-repo-helper
+Standards-Version: 3.9.1
+Homepage: http://github.com/wmeissner/jnr-constants/
+
+Package: libconstantine-java
+Architecture: all
+Section: java
+Depends: ${misc:Depends}, default-jre | java5-runtime
+Description: platform constants for Java
+ This package provides Java values for common platform C constants
+ like those of files errno.h or sys/socket.h.
+ .
+ The upstream version of this package is now also known as jnr-constants.
+
+Package: libconstantine-java-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}
+Recommends: w3m | www-browser
+Suggests: libconstantine-java
+Description: Java Constantine library API documentation
+ This package includes the development documentation for the Constantine Java
+ library which provides Java values for common platform C constants like
+ those of files errno.h or sys/socket.h.
+ .
+ The upstream version of this package is now also known as jnr-constants.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..1d6356a
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,54 @@
+This package was initially debianized by Nicolas Duboc <nduboc at debian.org>
+on Sun,  20 Sep 2009.
+
+It was downloaded from http://github.com/wmeissner/jnr-constants/downloads .
+
+Upstream authors are Wayne Meissner, Philip Jenvey and Charles Nutter (headius).
+
+---
+Original package:
+Copyright (c) 2008 The JRuby project.
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation
+files (the "Software"), to deal in the Software without
+restriction, including without limitation the rights to use,
+copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following
+conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
+
+
+---
+Debian packaging (files in debian/ directory):
+Copyright @ 2009, 2011 Nicolas Duboc
+
+ermission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff --git a/debian/libconstantine-java-doc.README.Debian b/debian/libconstantine-java-doc.README.Debian
new file mode 100644
index 0000000..0c1918c
--- /dev/null
+++ b/debian/libconstantine-java-doc.README.Debian
@@ -0,0 +1,14 @@
+Debian package of the Constantine library documentation
+-------------------------------------------------------
+
+ This package contains the documentation for the Constantine Java
+library (also known as jnr-constants) which provides typical platform
+C constants like those of errno.h or sys/socket.h.
+
+ API documentation (javadoc) is available in directory
+/usr/share/doc/libconstantine-java-doc/javadoc .
+
+ The library itself is provided by the libconstantine-java package.
+
+-- 
+Nicolas Duboc <nduboc at debian.org>
diff --git a/debian/libconstantine-java.README.Debian b/debian/libconstantine-java.README.Debian
new file mode 100644
index 0000000..d2f8044
--- /dev/null
+++ b/debian/libconstantine-java.README.Debian
@@ -0,0 +1,18 @@
+Debian package of the Constantine library
+-----------------------------------------
+
+ This package contains the Constantine Java library (also known as jnr-constants)
+which provides typical platform C constants like those of errno.h or sys/socket.h.
+
+ The library is composed of only one jar file and has no external dependency.
+Developers should include the following path in the CLASSPATH:
+    /usr/share/java/constantine.jar
+
+ This jar is also installed in the local Maven Debian repository in
+/usr/share/maven-repo.  The artifact ID is org.jruby.extras:constantine:0.7 .
+
+ API documentation (javadoc) is provided by package libconstantine-java-doc in
+directory /usr/share/doc/libconstantine-java-doc/javadoc .
+
+-- 
+Nicolas Duboc <nduboc at debian.org>
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..a4e268e
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,67 @@
+#!/usr/bin/make -f
+
+# FIXME: support of DEB_BUILD_OPTIONS nocheck and nostrip
+
+JAVA_DIR = usr/share/java
+DOC_DIR = usr/share/doc/libconstantine-java-doc
+PKG_BUILDDIR = debian/libconstantine-java
+PKG_DOC_BUILDDIR = debian/libconstantine-java-doc
+
+jarname = constantine
+altjarname = libconstantine-java
+jarversion = 0.7
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+
+	ant -Dlibs.junit_4.classpath=/usr/share/java/junit4.jar
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+
+	rm -f build-stamp
+	ant clean
+	rm -rf debian/.mh
+
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_prep
+
+	dh_installdirs -p libconstantine-java $(JAVA_DIR)
+
+	mh_installjar -plibconstantine-java --java-lib --usj-name=$(jarname) pom.xml dist/constantine.jar
+	mh_installpom -plibconstantine-java pom.xml
+
+	# links in /usr/share/java for the old, obsolete jar name
+	dh_link usr/share/java/$(jarname)-$(jarversion).jar usr/share/java/$(altjarname).jar
+	# this one can be removed once the upstream version is bumped to higher than 0.7:
+	dh_link usr/share/java/$(jarname)-$(jarversion).jar usr/share/java/$(altjarname)-$(jarversion).jar
+
+	dh_installdirs -p libconstantine-java-doc $(DOC_DIR)
+	mv dist/javadoc $(PKG_DOC_BUILDDIR)/$(DOC_DIR)
+
+
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs --indep
+	dh_installdocs --indep
+	dh_compress --indep
+	dh_fixperms --indep
+	dh_installdeb --indep
+	dh_gencontrol --indep
+	dh_md5sums --indep
+	dh_builddeb --indep
+
+binary-arch:
+
+binary: binary-indep binary-arch
+
+
+.PHONY: build install clean binary-indep binary

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



More information about the pkg-java-commits mailing list