--- jts-1.11.orig/debian/control +++ jts-1.11/debian/control @@ -0,0 +1,36 @@ +Source: jts +Section: java +Priority: optional +Maintainer: Debian GIS Project +Uploaders: Francesco Paolo Lovergine +Build-Depends: debhelper (>= 7), cdbs, ant, default-jdk, patchutils +Standards-Version: 3.8.4 +Homepage: http://tsusiatsoftware.net/jts/main.html +Vcs-Browser: http://svn.debian.org/wsvn/pkg-grass/packages/jts/ +Vcs-Svn: svn://svn.debian.org/pkg-grass/packages/jts/ + +Package: libjts-java +Architecture: all +Section: java +Depends: default-jre-headless | default-jre, ${misc:Depends}, libjdom1-java, libxerces2-java +Suggests: libjts-java-doc +Description: JTS Topology Suite + JTS is a java library which provides: + * an implementation of the spatial data model defined + in the OGC Simple Features Specification for SQL (SFS) + * a complete, consistent, implementation of fundamental 2D spatial algorithms + * an explicit precision model, with algorithms that gracefully handle + situations that result in dimensional collapse + * robust implementations of key computational geometric operations + * I/O in Well-Known Text format + +Package: libjts-java-doc +Architecture: all +Section: doc +Depends: ${misc:Depends} +Suggests: libjts-java +Description: Documentation for the JTS Topology Suite + This package includes documentation for programmers: + * javadoc for libjts-java + * developer's guide + * technical specifications --- jts-1.11.orig/debian/rules +++ jts-1.11/debian/rules @@ -0,0 +1,43 @@ +#!/usr/bin/make -f +# debian/rules file for jts (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 + +export UPSTREAM_VERSION = $(shell head -1 debian/changelog | cut -f2 -d\( | cut -f1 -d\) | cut -f1 -d\-) + +JAVA_HOME := /usr/lib/jvm/default-java +JAVA_CMD := /usr/bin/java +ANT_HOME := /usr/share/ant + +DEB_JARS := $(ANT_HOME)/lib/ant-launcher.jar +DEB_ANT_BUILDFILE := debian/build.xml +DEB_ANT_BUILD_TARGET := all +DEB_PATCHDIRS = debian/patches +DEB_PATCH_SUFFIX = .diff + +install/libjts-java:: + install -m 644 target/jts.jar debian/libjts-java/usr/share/java/jts-$(UPSTREAM_VERSION).jar + ln -s jts-$(UPSTREAM_VERSION).jar debian/libjts-java/usr/share/java/jts.jar + +# +# Custom rule to create a clean tarball +# + +download-upstream: + -mkdir $(CURDIR)/upstream + wget -O $(CURDIR)/upstream/jts-$(UPSTREAM_VERSION).zip \ + http://downloads.sourceforge.net/project/jts-topo-suite/jts/$(UPSTREAM_VERSION)/jts-$(UPSTREAM_VERSION).zip?use_mirror=garr + +create-orig-tar: download-upstream + cd $(CURDIR)/upstream && unzip -u -d jts-$(UPSTREAM_VERSION) jts-$(UPSTREAM_VERSION).zip && \ + rm -rf jts-$(UPSTREAM_VERSION)/lib && rm -rf jts-$(UPSTREAM_VERSION)/doc/javadoc && \ + find jts-$(UPSTREAM_VERSION)/doc -name "*.pdf" -delete && \ + tar czvf jts_$(UPSTREAM_VERSION).orig.tar.gz jts-$(UPSTREAM_VERSION) && \ + rm -rf jts-$(UPSTREAM_VERSION) jts-$(UPSTREAM_VERSION).zip + -mkdir $(CURDIR)/../tarballs + mv $(CURDIR)/upstream/jts_$(UPSTREAM_VERSION).orig.tar.gz $(CURDIR)/../tarballs/. + rmdir $(CURDIR)/upstream + +.PHONY: download-upstream create-orig-tar --- jts-1.11.orig/debian/README.source +++ jts-1.11/debian/README.source @@ -0,0 +1,17 @@ +jts for Debian +-------------- + +The dfsg source can be downloaded and built by running: + +debian/rules create-orig-tar + +This rule creates the final original tarball, with various cleanups +and move it under ../tarballs. Note that it does not include an ANT +build.xml, it needs to be taken from the project CVS and adapted. +Also note that the original upstream stuff provides pre-built .jar +files for JTS and its pre-dependencies, and Javadoc compiled doc. +At every new release I found one or more issues in rebuilding +from scratch the whole stuff, so be warned and consult the +development mailing list. + + -- Francesco Paolo Lovergine , Thu Sep 24 12:04:25 CEST 2009 --- jts-1.11.orig/debian/changelog +++ jts-1.11/debian/changelog @@ -0,0 +1,71 @@ +jts (1.11-1) unstable; urgency=low + + * New upstream release. + * Policy bumped to 3.8.4, without changes. + * Removed now superfluous patch, merged upstream. + * Added debian/source/format, with 1.0 as version. + + -- Francesco Paolo Lovergine Mon, 12 Apr 2010 21:43:26 +0200 + +jts (1.10-1) unstable; urgency=low + + * New upstream release. + * Updated Homepage field. + * Introduced a proper debian/README.source file. + * Added some custom rules to facilitate tarball creation. + * Added simple-patchsys support for cdbs. + * Added a simple patch to remove a duplicated source file in 1.10. + * Added dependencies on xerces-java and jdom, which are required at run-time. + + -- Francesco Paolo Lovergine Tue, 22 Sep 2009 21:31:35 +0200 + +jts (1.7-2) unstable; urgency=low + + * Added Homepage field to debian/control. + * Added Vcs-* fields to debian/control. + * Now using default-jdk/jre instead of kaffe. + (closes: #547392) + * Wolfgang removed among uploaders, because inactive since years. + * Fixed lintian warning: debhelper-but-no-misc-depends. + * Debhelper compatibility set to 7. + * Fixed lintian error: clean-should-be-satisfied-by-build-depends. + * Fixed Section for libjts-java. + * Copyright fixed: JTS is released under LGPL 2.1 or later. + + -- Francesco Paolo Lovergine Tue, 22 Sep 2009 11:16:16 +0200 + +jts (1.7-1) unstable; urgency=low + + * New upstream release + (closes: #362120) + * Policy bumped to 3.7.2, without changes + * Debhelper compatibility set to 5. + + -- Francesco Paolo Lovergine Sat, 16 Jun 2007 00:27:01 +0200 + +jts (1.6-2) unstable; urgency=low + + * Kaffe compiler transition. + * Updated FSF address in debian/copyright + + -- Wolfgang Baer Sun, 15 Jan 2006 16:01:03 +0100 + +jts (1.6-1) unstable; urgency=low + + * New upstream release + * Upload to unstable + * Adjusted copyright to include the second download location + * Fixed minor lintian warnings in debian/control + * Standards-Version 3.6.2 (no changes needed) + * Changed libant1.6-java build-dep to ant (now in main) + + * Upload sponsored by Petter Reinholdtsen + + -- Wolfgang Baer Sun, 7 Aug 2005 14:12:35 +0200 + +jts (1.5-1) experimental; urgency=low + + * Initial Release (closes: #294756) + + -- Wolfgang Baer Thu, 27 Jan 2005 10:38:29 +0100 + --- jts-1.11.orig/debian/compat +++ jts-1.11/debian/compat @@ -0,0 +1 @@ +7 --- jts-1.11.orig/debian/libjts-java.dirs +++ jts-1.11/debian/libjts-java.dirs @@ -0,0 +1 @@ +usr/share/java --- jts-1.11.orig/debian/build.xml +++ jts-1.11/debian/build.xml @@ -0,0 +1,88 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + --- jts-1.11.orig/debian/libjts-java-doc.docs +++ jts-1.11/debian/libjts-java-doc.docs @@ -0,0 +1,3 @@ +doc/* +target/docs/api +target/docs/examples --- jts-1.11.orig/debian/copyright +++ jts-1.11/debian/copyright @@ -0,0 +1,36 @@ +This package was debianized by Wolfgang Baer on +Thu, 27 Jan 2005 10:38:29 +0100. + +It was downloaded from +and is also available form +Current homepage is http://tsusiatsoftware.net/jts/main.html. + +Copyright: Copyright 2001 (C) Vivid Solutions. + +Upstream Authors: + +Martin Davis +Jonathan Aquino +David Skea +Yao Cui +Mark Sondheim +Denis Boutin +David Ash + + +License: + +This package is free software; you can redistribute it and/or modify +it under the terms of the GNU Lesser General Public License as published by +the Free Software Foundation; version 2.1 dated February 1999 or later. + +This package 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 Lesser General Public License for more details. +You should have received a copy of the GNU Lesser General Public License +along with this package; if not, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + +On Debian systems, the complete text of the GNU Lesser General +Public License can be found in `/usr/share/common-licenses/LGPL'. --- jts-1.11.orig/debian/source/format +++ jts-1.11/debian/source/format @@ -0,0 +1 @@ +1.0