[pprepair] 02/02: Initial Debian packaging.
Bas Couwenberg
sebastic at xs4all.nl
Sat Nov 22 22:40:30 UTC 2014
This is an automated email from the git hooks/post-receive script.
sebastic-guest pushed a commit to branch master
in repository pprepair.
commit cc4a998b91d5eea0e13f7fa97b1b5d1683cd5589
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Sat Nov 22 23:10:26 2014 +0100
Initial Debian packaging.
---
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 26 ++++++++++++++++++++++++
debian/copyright | 51 ++++++++++++++++++++++++++++++++++++++++++++++++
debian/get-orig-source | 19 ++++++++++++++++++
debian/pprepair.install | 1 +
debian/rules | 10 ++++++++++
debian/source/format | 1 +
debian/upstream/metadata | 17 ++++++++++++++++
9 files changed, 131 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..ea42405
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+pprepair (0.0~20140611-c70373b-1) UNRELEASED; urgency=medium
+
+ * Initial release (Closes: #770649)
+
+ -- Bas Couwenberg <sebastic at xs4all.nl> Sat, 22 Nov 2014 22:57:53 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..c2649ae
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,26 @@
+Source: pprepair
+Section: science
+Priority: optional
+Maintainer: Debian GIS Project <pkg-grass-devel at lists.alioth.debian.org>
+Uploaders: Bas Couwenberg <sebastic at xs4all.nl>
+Build-Depends: debhelper (>= 9),
+ cmake,
+ libcgal-dev,
+ libgdal-dev
+Standards-Version: 3.9.6
+Vcs-Browser: http://anonscm.debian.org/cgit/pkg-grass/pprepair.git/
+Vcs-Git: git://anonscm.debian.org/pkg-grass/pprepair.git
+Homepage: https://github.com/tudelft3d/pprepair
+
+Package: pprepair
+Architecture: any
+Depends: ${shlibs:Depends},
+ ${misc:Depends}
+Recommends: prepair
+Description: planar partition repair tool
+ pprepair (planar partition repair) takes a set of polygons and ensures that
+ they form a valid planar partition, made of valid polygons and having no gaps
+ or overlaps. It can be used as a validator, telling of problems in individual
+ polygons or in the planar partition, and also as an automatic repair tool,
+ outputting a set of polygons that do form a valid planar partition.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..42d1af2
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,51 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: pprepair
+Upstream-Contact: Ken Arroyo Ohori <g.a.k.arroyoohori at tudelft.nl>
+ Hugo Ledoux <h.ledoux at tudelft.nl>
+ Martijn Meijers <b.m.meijers at tudelft.nl>
+Source: https://github.com/tudelft3d/pprepair.git
+
+Files: *
+Copyright: © 2009-2013, Ken Arroyo Ohori <g.a.k.arroyoohori at tudelft.nl>
+ © 2009-2013, Hugo Ledoux <h.ledoux at tudelft.nl>
+ © 2009-2013, Martijn Meijers <b.m.meijers at tudelft.nl>
+License: GPL-3.0+ or Commercial
+
+Files: debian/*
+Copyright: © 2014, Bas Couwenberg <sebastic at xs4all.nl>
+License: GPL-3.0+
+
+License: GPL-3.0+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+ .
+ This program 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 General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General Public License
+ version 3 can be found in `/usr/share/common-licenses/GPL-3'.
+
+License: Commercial
+ This file is part of pprepair: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+ .
+ Licensees holding a valid commercial license may use this file in
+ accordance with the commercial license agreement provided with
+ the software.
+ .
+ This file 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.
+ .
+ If you are interested in a commercial license, please contact
+ Ken Arroyo Ohori <g.a.k.arroyoohori at tudelft.nl>.
+
diff --git a/debian/get-orig-source b/debian/get-orig-source
new file mode 100755
index 0000000..109c0dc
--- /dev/null
+++ b/debian/get-orig-source
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+REMOTE=upstream
+BRANCH=${REMOTE}/master
+
+if [ $(git remote show ${REMOTE} | wc -l) -eq 0 ]; then
+ git remote add ${REMOTE} https://github.com/tudelft3d/pprepair.git
+fi
+
+git fetch ${REMOTE} --no-tags
+
+PACKAGE=$(dpkg-parsechangelog | grep ^Source: | awk '{print $2}')
+
+COMMIT=$(git log -n1 --format=format:%h ${BRANCH})
+DATE=$(date +%Y%m%d --date="@$(git log -n1 --format=format:%ct ${BRANCH})")
+
+VERSION="0.0~${DATE}-${COMMIT}"
+
+git archive --format=tar.gz --prefix=${PACKAGE}-${VERSION}/ -o ../${PACKAGE}_${VERSION}.orig.tar.gz ${BRANCH}
diff --git a/debian/pprepair.install b/debian/pprepair.install
new file mode 100644
index 0000000..e803cdc
--- /dev/null
+++ b/debian/pprepair.install
@@ -0,0 +1 @@
+obj-*/pprepair usr/bin/
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..6c5e98f
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,10 @@
+#!/usr/bin/make -f
+
+# DH_VERBOSE := 1
+
+%:
+ dh $@
+
+get-orig-source:
+ . debian/get-orig-source
+
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..fd4b03d
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,17 @@
+---
+Bug-Database: https://github.com/tudelft3d/pprepair/issues
+Bug-Submit: https://github.com/tudelft3d/pprepair/issues/new
+Cite-As: Arroyo Ohori, Ken, Ledoux, Hugo and Meijers, Martijn (2012). Validation and automatic repair of planar partitions using a constrained triangulation. Photogrammetrie, Fernerkundung, Geoinformation (PFG). 5:613–630. <a href="http://www.gdmc.nl/ken/files/12_pfg.pdf">[PDF]</a> <a href="http://dx.doi.org/10.1127/1432-8364/2012/0143">[DOI]</a>
+Contact: Ken Arroyo Ohori <g.a.k.arroyoohori at tudelft.nl>, Hugo Ledoux <h.ledoux at tudelft.nl>, Martijn Meijers <b.m.meijers at tudelft.nl>
+Name: pprepair
+Other-References: http://www.gdmc.nl/projects/#pprepair
+Reference:
+ Author: Arroyo Ohori, Ken, Ledoux, Hugo and Meijers, Martijn
+ DOI: 10.1127/1432-8364/2012/0143
+ Eprint: http://www.gdmc.nl/ken/files/12_pfg.pdf
+ Journal: Photogrammetrie, Fernerkundung, Geoinformation (PFG)
+ Pages: 5:613–630
+ Title: Validation and automatic repair of planar partitions using a constrained triangulation.
+ Year: 2012
+Repository: https://github.com/tudelft3d/pprepair.git
+Repository-Browse: https://github.com/tudelft3d/ppprepair
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/pprepair.git
More information about the Pkg-grass-devel
mailing list