debian/0000755000000000000000000000000012243407724007173 5ustar debian/libconstantine-java.README.Debian0000644000000000000000000000136112243405715015165 0ustar 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 debian/rules0000755000000000000000000000323412243406274010254 0ustar #!/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 # Generate OSGi metadata for constantine.jar bnd wrap -properties debian/constantine.bnd -output dist/constantine.jar dist/constantine.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 debian/libconstantine-java-doc.README.Debian0000644000000000000000000000100112243405715015717 0ustar 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 debian/source/0000755000000000000000000000000012243406036010466 5ustar debian/source/format0000644000000000000000000000001412243406036011674 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000000462712243405715011135 0ustar This package was initially debianized by Nicolas Duboc 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. debian/constantine.bnd0000644000000000000000000000022612243406274012204 0ustar Bundle-Name: platform constants for Java Bundle-SymbolicName: com.kenai.constantine Bundle-Version: 1.0.0 Bundle-Vendor: Debian.org Import-Package: * debian/changelog0000644000000000000000000000301612243407257011046 0ustar libconstantine-java (0.7-5) unstable; urgency=low * Adopt the package under the pkg-java umbrella (Closes: #705826) * Standards-Version updated to 3.9.5 * Import in the pkg-java VCS * Switch to dpkg-source 3.0 (quilt) format * add OSGi metadata to constantine.jar manifest Thanks to Jakub Adam (Closes: #698487) -- Sylvestre Ledru Thu, 21 Nov 2013 14:35:16 +0100 libconstantine-java (0.7-4) unstable; urgency=low * Orphaning this package. -- Nicolas Duboc 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 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 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 Mon, 21 Jun 2010 09:32:21 +0200 libconstantine-java (0.4-1) unstable; urgency=low * Initial release. (Closes: #533070) -- Nicolas Duboc Sat, 19 Sep 2009 18:10:29 +0200 debian/compat0000644000000000000000000000000212243405715010367 0ustar 7 debian/control0000644000000000000000000000243512243406344010577 0ustar Source: libconstantine-java Section: java Priority: optional Maintainer: Debian Java Maintainers Build-Depends: debhelper (>> 7.0.0), ant Build-Depends-Indep: default-jdk, junit4, ant-optional, maven-repo-helper, bnd Standards-Version: 3.9.5 Homepage: http://github.com/wmeissner/jnr-constants/ Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libconstantine-java Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libconstantine-java 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.