--- trove-2.0.1.dfsg.1.orig/debian/patches/01_build_target_5_0.patch +++ trove-2.0.1.dfsg.1/debian/patches/01_build_target_5_0.patch @@ -0,0 +1,28 @@ +diff -Nur trove-2.0.1.dfsg.1/build.xml trove-2.0.1.dfsg.1.new/build.xml +--- trove-2.0.1.dfsg.1/build.xml 2007-10-03 18:24:20.000000000 +0200 ++++ trove-2.0.1.dfsg.1.new/build.xml 2007-10-12 15:19:42.000000000 +0200 +@@ -79,7 +79,7 @@ + + ++ debug="${debug}" source="1.5" target="1.5"> + + + +@@ -206,7 +206,7 @@ + + + +- ++ + + + +@@ -268,4 +268,4 @@ + + + +- +\ Kein Zeilenumbruch am Dateiende. ++ --- trove-2.0.1.dfsg.1.orig/debian/control +++ trove-2.0.1.dfsg.1/debian/control @@ -0,0 +1,42 @@ +Source: trove +Section: libs +Priority: optional +Maintainer: Debian Java Maintainers +Uploaders: Arnaud Vandyck , + Torsten Werner +Build-Depends: debhelper (>= 4.2.30), cdbs +Build-Depends-Indep: java-gcj-compat-dev (>= 1.0.69-2), ant +Standards-Version: 3.7.2 + +Package: libtrove-java +Architecture: all +Depends: java-gcj-compat | java2-runtime +Description: high performance collections for java + GNU Trove is a fast, lightweight implementations of the java.util + Collections API. These implementations are designed to be pluggable + replacements for their JDK equivalents. + . + Whenever possible, GNU Trove provide the same collections support for + primitive types. This gap in the JDK is often addressed by using the + "wrapper" classes (java.lang.Integer, java.lang.Float, etc.) with + Object-based collections. For most applications, however, collections + which store primitives directly will require less space and yield + significant performance gains. + +Package: libtrove-java-doc +Section: doc +Architecture: all +Suggests: libtrove-java +Description: high performance collections for java + GNU Trove is a fast, lightweight implementations of the java.util + Collections API. These implementations are designed to be pluggable + replacements for their JDK equivalents. + . + Whenever possible, GNU Trove provide the same collections support for + primitive types. This gap in the JDK is often addressed by using the + "wrapper" classes (java.lang.Integer, java.lang.Float, etc.) with + Object-based collections. For most applications, however, collections + which store primitives directly will require less space and yield + significant performance gains. + . + This package includes the documentation. --- trove-2.0.1.dfsg.1.orig/debian/compat +++ trove-2.0.1.dfsg.1/debian/compat @@ -0,0 +1 @@ +4 --- trove-2.0.1.dfsg.1.orig/debian/watch +++ trove-2.0.1.dfsg.1/debian/watch @@ -0,0 +1,7 @@ +# watch control file for uscan +version=2 + +opts=dversionmangle=s/\.dfsg\.\d+$// \ + http://heanet.dl.sourceforge.net/sourceforge/trove4j/trove-(\d\.\d\.\d)\.tar\.gz \ + debian debian/orig-tar.sh + --- trove-2.0.1.dfsg.1.orig/debian/libtrove-java-doc.doc-base +++ trove-2.0.1.dfsg.1/debian/libtrove-java-doc.doc-base @@ -0,0 +1,10 @@ +Document: libtrove-java-doc +Title: Programmer API for trove (high performance collections for java) +Authors: Eric Friedman, Gann Bierner, Rob Eden +Abstract: This is the programmer API of trove, a library for high + performance collections for java +Section: Programming + +Format: HTML +Index: /usr/share/doc/libtrove-java-doc/api/index.html +Files: /usr/share/doc/libtrove-java-doc/api/*.html --- trove-2.0.1.dfsg.1.orig/debian/changelog +++ trove-2.0.1.dfsg.1/debian/changelog @@ -0,0 +1,5 @@ +trove (2.0.1.dfsg.1-1) unstable; urgency=low + + * Initial Release (closes: #418678). + + -- Arnaud Vandyck Mon, 16 Jul 2007 10:43:45 +0200 --- trove-2.0.1.dfsg.1.orig/debian/copyright +++ trove-2.0.1.dfsg.1/debian/copyright @@ -0,0 +1,44 @@ +This package was debianized by Arnaud Vandyck on 12-April-2007. +The source code was downloaded from http://trove4j.sourceforge.net/ + +Authors: + Eric Friedman + Gann Bierner + Rob Eden + +Copyright: (c) 2001-2006, Eric D. Friedman All Rights Reserved. + +License: + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA + +On Debian systems, you can find the LGPL license in: +/usr/share/common-licenses/LGPL + + +The PrimeFinder and HashFunctions classes in Trove are subject to the +following license restrictions: + +Copyright (c) 1999 CERN - European Organization for Nuclear Research. + +Permission to use, copy, modify, distribute and sell this software and +its documentation for any purpose is hereby granted without fee, +provided that the above copyright notice appear in all copies and that +both that copyright notice and this permission notice appear in +supporting documentation. CERN makes no representations about the +suitability of this software for any purpose. It is provided "as is" +without expressed or implied warranty. + + --- trove-2.0.1.dfsg.1.orig/debian/rules +++ trove-2.0.1.dfsg.1/debian/rules @@ -0,0 +1,31 @@ +#!/usr/bin/make -f +# debian/rules file for trove (uses cdbs) + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/ant.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +VERSION := `expr match $(DEB_UPSTREAM_VERSION) '\(.*\)\.dfsg.*'` + +JAVA_HOME_DIRS := /usr/lib/jvm/java-gcj/ +ANT_HOME := /usr/share/ant + +DEB_JARS := +DEB_ANT_BUILD_TARGET := jar javadoc + +cleanbuilddir:: + $(RM) -r output + +binary-post-install/libtrove-java:: + dh_install -plibtrove-java output/lib/trove-$(VERSION).jar \ + /usr/share/java/ + dh_link -plibtrove-java /usr/share/java/trove-$(VERSION).jar \ + /usr/share/java/trove.jar + +binary-post-install/libtrove-java-doc:: + dh_install -plibtrove-java-doc output/javadocs/* \ + /usr/share/doc/libtrove-java-doc/api + +get-orig-source: + uscan --upstream-version 0 --rename + --- trove-2.0.1.dfsg.1.orig/debian/orig-tar.sh +++ trove-2.0.1.dfsg.1/debian/orig-tar.sh @@ -0,0 +1,19 @@ +#!/bin/sh -e + +# called by uscan with '--upstream-version' + +VERSION=$(dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p') +TAR=../trove_$VERSION.orig.tar.gz + +# clean up the upstream tarball +tar -x -z -f $3 +tar -c -z -f $TAR --exclude '*.jar' --exclude '*/javadocs/*' trove-*/ +rm -rf $3 trove-*/ + +# move to directory 'tarballs' +if [ -r .svn/deb-layout ]; then + . .svn/deb-layout + mv $TAR $origDir + echo "moved $TAR to $origDir" +fi + --- trove-2.0.1.dfsg.1.orig/debian/README.Debian-source +++ trove-2.0.1.dfsg.1/debian/README.Debian-source @@ -0,0 +1,13 @@ +substance +========= + +The upstream supplied source package contains binary jar files and +pre-built documentation. Currently no clean source distribution +exists. Therefore, the upstream sources were modified to comply with +the Debian Free Software Guidelines. + +Use the rules/get-orig-source target to create the orig.tar.gz. +For more details on repackaging of upstream sources please see the +debian/orig-tar.sh file. + +-- Torsten Werner Fri Oct 12 19:17:47 CEST 2007