This is an automated email from the git hooks/post-receive script. sebastic pushed a commit to branch master in repository osmcoastline.
commit 794f1e986a7a350ee32f3eb4d37cc7ce9beb8d0c Author: Bas Couwenberg <sebas...@xs4all.nl> Date: Fri Mar 6 17:12:47 2015 +0100 Initial Debian packaging. --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 35 +++++++++++++++++++++++++++++++++++ debian/copyright | 46 ++++++++++++++++++++++++++++++++++++++++++++++ debian/gbp.conf | 16 ++++++++++++++++ debian/get-orig-source | 19 +++++++++++++++++++ debian/rules | 10 ++++++++++ debian/source/format | 1 + debian/upstream/metadata | 7 +++++++ 9 files changed, 140 insertions(+) diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..4a46b18 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +osmcoastline (0.0~20150306-1f2b90a-1) UNRELEASED; urgency=medium + + * Initial release (Closes: #779944) + + -- Bas Couwenberg <sebas...@debian.org> Fri, 06 Mar 2015 17:05:29 +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..e998df5 --- /dev/null +++ b/debian/control @@ -0,0 +1,35 @@ +Source: osmcoastline +Maintainer: Debian GIS Project <pkg-grass-devel@lists.alioth.debian.org> +Uploaders: Bas Couwenberg <sebas...@debian.org> +Section: science +Priority: optional +Build-Depends: debhelper (>= 9) +Standards-Version: 3.9.6 +Vcs-Browser: http://anonscm.debian.org/cgit/pkg-grass/osmcoastline.git/ +Vcs-Git: git://anonscm.debian.org/pkg-grass/osmcoastline.git +Homepage: http://osmcode.org/osmcoastline/ + +Package: osmcoastline +Architecture: any +Section: utils +Depends: ${shlibs:Depends}, + ${misc:Depends} +Suggests: osmium-tool, + osmium-contrib, + node-osmium, + python-pyosmium +Description: Extract coastline data from OpenStreetMap planet file + OSMCoastline extracts the coastline from an OSM planet file and assembles all + the pieces into polygons for use in map renderers etc. + . + OSMCoastline relies on the Osmium library for its OpenStreetMap data handling. + . + The Osmium library has extensive support for all types of OSM entities: nodes, + ways, relations, and changesets. It allows reading from and writing to OSM + files in XML and PBF formats, including change files and full history files. + Osmium can store OSM data in memory and on disk in various formats and using + various indexes. Its easy to use handler interface allows you to quickly write + data filtering and conversion functions. Osmium can create WKT, WKB, OGR, GEOS + and GeoJSON geometries for easy conversion into many GIS formats and it can + assemble multipolygons from ways and relations. + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..a75e21a --- /dev/null +++ b/debian/copyright @@ -0,0 +1,46 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: OSMCoastline +Upstream-Contact: Osmium Developers <d...@openstreetmap.org> +Source: https://github.com/osmcode/osmcoastline + +Files: * +Copyright: 2012-2015, Jochen Topf <joc...@topf.org> +License: GPL-3+ + +Files: debian/* +Copyright: © 2015, Bas Couwenberg <sebas...@debian.org> +License: GPL-2+ + +License: GPL-2+ + 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 2 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, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + . + On Debian systems, the complete text of version 2 of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-2'. + +License: GPL-3+ + 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. + . + On Debian systems, the full text of the GNU General Public License + version 3 can be found in the file + `/usr/share/common-licenses/GPL-3'. + diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..21d0417 --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,16 @@ +[DEFAULT] + +# The default name for the upstream branch is "upstream". +# Change it if the name is different (for instance, "master"). +upstream-branch = upstream + +# The default name for the Debian branch is "master". +# Change it if the name is different (for instance, "debian/unstable"). +debian-branch = master + +# git-import-orig uses the following names for the upstream tags. +# Change the value if you are not using git-import-orig +upstream-tag = upstream/%(version)s + +# Always use pristine-tar. +pristine-tar = True diff --git a/debian/get-orig-source b/debian/get-orig-source new file mode 100755 index 0000000..c41b35e --- /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/osmcode/osmcoastline.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/rules b/debian/rules new file mode 100755 index 0000000..6f059c0 --- /dev/null +++ b/debian/rules @@ -0,0 +1,10 @@ +#!/usr/bin/make -f + +# DH_VERBOSE := 1 + +%: + dh $@ --parallel + +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..8e48567 --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,7 @@ +--- +Bug-Database: https://github.com/osmcode/osmcoastline/issues +Bug-Submit: https://github.com/osmcode/osmcoastline/issues/new +Contact: Osmium Developers <d...@openstreetmap.org> +Name: OSMCoastline +Repository: https://github.com/osmcode/osmcoastline.git +Repository-Browse: https://github.com/osmcode/osmcoastline -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/osmcoastline.git _______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel