[pkg-java] r17475 - in trunk: . libconstantine-java libconstantine-java/debian

Sylvestre Ledru sylvestre at moszumanska.debian.org
Thu Nov 21 13:33:17 UTC 2013


Author: sylvestre
Date: 2013-11-21 13:33:16 +0000 (Thu, 21 Nov 2013)
New Revision: 17475

Added:
   trunk/libconstantine-java/
   trunk/libconstantine-java/debian/
   trunk/libconstantine-java/debian/changelog
   trunk/libconstantine-java/debian/compat
   trunk/libconstantine-java/debian/control
   trunk/libconstantine-java/debian/copyright
   trunk/libconstantine-java/debian/libconstantine-java-doc.README.Debian
   trunk/libconstantine-java/debian/libconstantine-java.README.Debian
   trunk/libconstantine-java/debian/rules
Log:
move libconstantine-java under the pkg-java umbrella

Added: trunk/libconstantine-java/debian/changelog
===================================================================
--- trunk/libconstantine-java/debian/changelog	                        (rev 0)
+++ trunk/libconstantine-java/debian/changelog	2013-11-21 13:33:16 UTC (rev 17475)
@@ -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

Added: trunk/libconstantine-java/debian/compat
===================================================================
--- trunk/libconstantine-java/debian/compat	                        (rev 0)
+++ trunk/libconstantine-java/debian/compat	2013-11-21 13:33:16 UTC (rev 17475)
@@ -0,0 +1 @@
+7

Added: trunk/libconstantine-java/debian/control
===================================================================
--- trunk/libconstantine-java/debian/control	                        (rev 0)
+++ trunk/libconstantine-java/debian/control	2013-11-21 13:33:16 UTC (rev 17475)
@@ -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.

Added: trunk/libconstantine-java/debian/copyright
===================================================================
--- trunk/libconstantine-java/debian/copyright	                        (rev 0)
+++ trunk/libconstantine-java/debian/copyright	2013-11-21 13:33:16 UTC (rev 17475)
@@ -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.

Added: trunk/libconstantine-java/debian/libconstantine-java-doc.README.Debian
===================================================================
--- trunk/libconstantine-java/debian/libconstantine-java-doc.README.Debian	                        (rev 0)
+++ trunk/libconstantine-java/debian/libconstantine-java-doc.README.Debian	2013-11-21 13:33:16 UTC (rev 17475)
@@ -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>

Added: trunk/libconstantine-java/debian/libconstantine-java.README.Debian
===================================================================
--- trunk/libconstantine-java/debian/libconstantine-java.README.Debian	                        (rev 0)
+++ trunk/libconstantine-java/debian/libconstantine-java.README.Debian	2013-11-21 13:33:16 UTC (rev 17475)
@@ -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>

Added: trunk/libconstantine-java/debian/rules
===================================================================
--- trunk/libconstantine-java/debian/rules	                        (rev 0)
+++ trunk/libconstantine-java/debian/rules	2013-11-21 13:33:16 UTC (rev 17475)
@@ -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


Property changes on: trunk/libconstantine-java/debian/rules
___________________________________________________________________
Added: svn:executable
   + *




More information about the pkg-java-commits mailing list