-
Notifications
You must be signed in to change notification settings - Fork 374
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added debian package builder scripts.
git-svn-id: http://svn.osgeo.org/geos/trunk@585 5242fede-7e19-0410-aef8-94bd7d2200fb
- Loading branch information
Sandro Santilli
committed
Nov 19, 2004
1 parent
547c554
commit 379daf9
Showing
17 changed files
with
315 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
geos (2.0.1-1) unstable; urgency=low | ||
|
||
* Initial Release. | ||
|
||
-- Alex Bodnaru <[email protected]> Mon, 8 Nov 2004 06:47:01 +0200 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
Source: geos | ||
Section: science | ||
Priority: optional | ||
Maintainer: Alex Bodnaru <[email protected]> | ||
Build-Depends: debhelper (>= 4.0.0), c++-compiler, doxygen, autoconf2.13, autotools-dev | ||
Standards-Version: 3.6.1 | ||
|
||
Package: libgeos-dev | ||
Section: science | ||
Priority: optional | ||
Architecture: any | ||
Depends: libgeos (= ${Source-Version}) | ||
Recommends: libgeos-doc (= ${Source-Version}) | ||
Description: GEOS (Geometry Engine - Open Source) development files | ||
GEOS (Geometry Engine - Open Source) is a C++ port of the | ||
Java Topology Suite (JTS). As such, it aims to contain the | ||
complete functionality of JTS in C++. This includes all | ||
the OpenGIS "Simple Features for SQL" spatial predicate | ||
functions and spatial operators, as well as specific JTS | ||
topology functions such as IsValid(). | ||
. | ||
This package contains the files required to compile and | ||
link a program with GEOS. | ||
|
||
Package: libgeos | ||
Section: science | ||
Priority: optional | ||
Architecture: any | ||
Depends: ${shlibs:Depends} | ||
Description: GEOS (Geometry Engine - Open Source) library | ||
GEOS (Geometry Engine - Open Source) is a C++ port of the | ||
Java Topology Suite (JTS). As such, it aims to contain the | ||
complete functionality of JTS in C++. This includes all | ||
the OpenGIS "Simple Features for SQL" spatial predicate | ||
functions and spatial operators, as well as specific JTS | ||
topology functions such as IsValid(). | ||
|
||
Package: libgeos-doc | ||
Section: science | ||
Priority: optional | ||
Architecture: any | ||
Recommends: www-browser libgeos (= ${Source-Version}) | ||
Description: GEOS (Geometry Engine - Open Source) documentation | ||
GEOS (Geometry Engine - Open Source) is a C++ port of the | ||
Java Topology Suite (JTS). As such, it aims to contain the | ||
complete functionality of JTS in C++. This includes all | ||
the OpenGIS "Simple Features for SQL" spatial predicate | ||
functions and spatial operators, as well as specific JTS | ||
topology functions such as IsValid(). | ||
. | ||
This package contains a reference manual for the GEOS library | ||
claees. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
This package was debianized by Alex Bodnaru <[email protected]> on | ||
Mon, 8 Nov 2004 06:47:01 +0200. | ||
|
||
It was downloaded from http://geos.refractions.net | ||
|
||
Upstream Authors: See /usr/share/libgeos/AUTHORS | ||
|
||
License: LGPL | ||
|
||
Copyright: | ||
|
||
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; either | ||
version 2 of the License, or (at your option) any later version. | ||
|
||
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
|
||
On Debian systems, the complete text of the GNU Lesser General | ||
Public License can be found in `/usr/share/common-licenses/LGPL'. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
.\" Hey, EMACS: -*- nroff -*- | ||
.TH GEOS 1 "November 8, 2004" | ||
.\" Please adjust this date whenever revising the manpage. | ||
.SH NAME | ||
geos-config - script to get information about the installed version of GEOS | ||
.SH SYNOPSIS | ||
.B geos-config | ||
[\-\-prefix\fI[=DIR]\fP] [\-\-version] [\-\-libs] [\-\-cflags] [\-\-includes] [\-\-jtsport] | ||
.br | ||
.SH DESCRIPTION | ||
.PP | ||
\fIgeos-config\fP is a tool that is used to configure to determine | ||
the compiler and linker flags that should be used to compile | ||
and link programs that use \fIGEOS\fP. It is also used internally | ||
to the .m4 macros for GNU autoconf that are included with \fIGEOS\fP. | ||
. | ||
\fIGEOS (Geometry Engine - Open Source)\fP is a C++ port of the | ||
\fIJava Topology Suite (JTS)\fP. As such, it aims to contain the | ||
complete functionality of JTS in C++. This includes all the | ||
\fIOpenGIS "Simple Features for SQL"\fP spatial predicate functions | ||
and spatial operators, as well as specific JTS topology | ||
functions such as IsValid(). | ||
. | ||
.SH OPTIONS | ||
These programs follow the usual GNU command line syntax, with long | ||
options starting with two dashes (`-'). | ||
.l | ||
\fIgeos-config\fP accepts the following options: | ||
.TP 8 | ||
.B \-\-version | ||
Print the currently installed version of \fIGEOS\fP on the standard output. | ||
.TP 8 | ||
.B \-\-libs | ||
Print the linker flags that are necessary to link a \fIGEOS\fP program. | ||
.TP 8 | ||
.B \-\-cflags | ||
Print the compiler flags that are necessary to compile a \fIGEOS\fP program. | ||
.TP 8 | ||
.B \-\-prefix=PREFIX | ||
If specified, use PREFIX instead of the installation prefix that \fIGEOS\fP | ||
was built with when computing the output for the \-\-cflags and | ||
\-\-libs options. This option must be specified before any | ||
\-\-libs or \-\-cflags options. | ||
.TP 8 | ||
.B \-\-jtsport | ||
Print the version of Java Topology Suite library, which is implemented | ||
by the current \fIGEOS\fP library. | ||
|
||
.SH SEE ALSO | ||
.BR /usr/share/doc/libgeos-doc/html/index.html | ||
.br | ||
The installed \fIGEOS\fP library is fully documented in the GEOS documentation | ||
package, at | ||
.IR /usr/share/doc/libgeos-doc/html/index.html | ||
and the pages at the same location, viewable with a web browser. | ||
. | ||
For further information, see the \fIGEOS\fP home page, at | ||
http://geos.refractions.net/. | ||
.SH AUTHOR | ||
See /usr/share/doc/libgeos/AUTHORS | ||
.PP | ||
This manual page was written by Alex Bodnaru <[email protected]>, | ||
for the Debian project (but may be used by others). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
usr/bin | ||
usr/lib | ||
usr/include | ||
usr/include/geos |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
README | ||
NEWS | ||
TODO | ||
AUTHORS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
usr/bin/* | ||
usr/include/* | ||
usr/include/geos/* | ||
usr/lib/lib*.a | ||
usr/lib/lib*.so | ||
usr/lib/*.la | ||
usr/share/man/man1/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Document: geos-reference-manual | ||
Title: GEOS Reference Manual | ||
Author: See /usr/share/doc/libgeos-dev/AUTHORS | ||
Abstract: This manual provides the libgeos | ||
API reference. | ||
Section: science | ||
|
||
Format: HTML | ||
Index: /usr/share/doc/libgeos-doc/html/index.html | ||
Files: /usr/share/doc/libgeos-doc/html/*.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
doc/doxygen_docs/html | ||
README | ||
AUTHORS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
usr/lib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
NEWS | ||
TODO | ||
AUTHORS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
usr/lib/lib*.so.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/sh | ||
|
||
cd doc | ||
make doxygen-html | ||
cd doxygen_docs | ||
cd ../.. | ||
mkdir -p debian/tmp/usr/share/man/man1 | ||
cp debian/geos-config.1 debian/tmp/usr/share/man/man1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
#!/usr/bin/make -f | ||
# -*- makefile -*- | ||
# Sample debian/rules that uses debhelper. | ||
# This file was originally written by Joey Hess and Craig Small. | ||
# As a special exception, when this file is copied by dh-make into a | ||
# dh-make output file, you may use that output file without restriction. | ||
# This special exception was added by Craig Small in version 0.37 of dh-make. | ||
|
||
# Uncomment this to turn on verbose mode. | ||
#export DH_VERBOSE=1 | ||
|
||
|
||
# These are used for cross-compiling and for saving the configure script | ||
# from having to guess our platform (since we know it already) | ||
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) | ||
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) | ||
|
||
|
||
CFLAGS = -Wall -g | ||
|
||
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) | ||
CFLAGS += -O0 | ||
else | ||
CFLAGS += -O2 | ||
endif | ||
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) | ||
INSTALL_PROGRAM += -s | ||
endif | ||
|
||
# shared library versions | ||
version=`ls source/geom/.libs/lib*.so.* | \ | ||
awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'` | ||
major=`ls source/geom/.libs/lib*.so.* | \ | ||
awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'` | ||
|
||
config.status: configure | ||
dh_testdir | ||
# Add here commands to configure the package. | ||
CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info | ||
|
||
|
||
build: build-stamp | ||
build-stamp: config.status | ||
dh_testdir | ||
|
||
# Add here commands to compile the package. | ||
$(MAKE) | ||
$(MAKE) check | ||
|
||
touch build-stamp | ||
|
||
clean: | ||
dh_testdir | ||
dh_testroot | ||
rm -f build-stamp | ||
|
||
# Add here commands to clean up after the build process. | ||
-$(MAKE) distclean | ||
ifneq "$(wildcard /usr/share/misc/config.sub)" "" | ||
cp -f /usr/share/misc/config.sub config.sub | ||
endif | ||
ifneq "$(wildcard /usr/share/misc/config.guess)" "" | ||
cp -f /usr/share/misc/config.guess config.guess | ||
endif | ||
|
||
|
||
dh_clean | ||
|
||
install: build | ||
dh_testdir | ||
dh_testroot | ||
dh_clean -k | ||
dh_installdirs | ||
|
||
# Add here commands to install the package into debian/tmp | ||
$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp | ||
$(MAKE) installcheck DESTDIR=$(CURDIR)/debian/tmp | ||
$(CURDIR)/debian/makedoc | ||
|
||
|
||
# Build architecture-independent files here. | ||
binary-indep: build install | ||
# We have nothing to do by default. | ||
|
||
# Build architecture-dependent files here. | ||
binary-arch: build install | ||
dh_testdir | ||
dh_testroot | ||
dh_installchangelogs ChangeLog | ||
dh_installdocs | ||
dh_installexamples doc/example.cpp | ||
dh_install --sourcedir=debian/tmp | ||
# dh_installmenu | ||
# dh_installdebconf | ||
# dh_installlogrotate | ||
# dh_installemacsen | ||
# dh_installpam | ||
# dh_installmime | ||
# dh_installinit | ||
# dh_installcron | ||
# dh_installinfo | ||
dh_installman | ||
dh_link | ||
dh_strip | ||
dh_compress | ||
dh_fixperms | ||
# dh_perl | ||
# dh_python | ||
dh_makeshlibs | ||
dh_installdeb | ||
dh_shlibdeps | ||
dh_gencontrol | ||
dh_md5sums | ||
dh_builddeb | ||
|
||
binary: binary-indep binary-arch | ||
.PHONY: build clean binary-indep binary-arch binary install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
libgeos 2.0.1 geos (>> 2.0.1-0), geos (<< 2.0.1-99) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Example watch control file for uscan | ||
# Rename this file to "watch" and then you can run the "uscan" command | ||
# to check for upstream updates and more. | ||
# Site Directory Pattern Version Script | ||
version=2 | ||
geos.refractions.net / geos-(.*)\.tar.bz2 debian uupdate |