This is an automated email from the git hooks/post-receive script. sebastic pushed a commit to branch master in repository osmium-contrib.
commit b73cb86992918e6fff9b56207bf0af4185fb3897 Author: Bas Couwenberg <sebas...@xs4all.nl> Date: Fri Mar 6 16:58:21 2015 +0100 Initial Debian packaging. --- debian/changelog | 5 ++++ debian/compat | 1 + debian/control | 46 +++++++++++++++++++++++++++++++++++ debian/copyright | 62 ++++++++++++++++++++++++++++++++++++++++++++++++ debian/gbp.conf | 16 +++++++++++++ debian/get-orig-source | 19 +++++++++++++++ debian/rules | 10 ++++++++ debian/source/format | 1 + debian/upstream/metadata | 7 ++++++ 9 files changed, 167 insertions(+) diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..de87652 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +osmium-contrib (0.0~20150306-0c4f263-1) UNRELEASED; urgency=medium + + * Initial release (Closes: #779942) + + -- Bas Couwenberg <sebas...@debian.org> Fri, 06 Mar 2015 16:28:10 +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..03d6a5c --- /dev/null +++ b/debian/control @@ -0,0 +1,46 @@ +Source: osmium-contrib +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/osmium-contrib.git/ +Vcs-Git: git://anonscm.debian.org/pkg-grass/osmium-contrib.git +Homepage: http://osmcode.org/osmium-contrib/ + +Package: osmium-contrib +Architecture: any +Section: libdevel +Depends: ${shlibs:Depends}, + ${misc:Depends} +Suggests: osmium-tool, + node-osmium, + pyosmium +Description: Various programs showing what you can do with the Osmium library + Osmium Contrib contains various programs showing what you can do with the + Osmium library. + . + The osmium-contrib repository collects little programs that use the Osmium + library in various ways. These programs can be useful in their own right, but + they also provide nice examples for developers who want to learn about the + features of the Osmium library. + . + Currently the following programs are available: + . + * amenity_list - Print list of amenities in OSM file + * export_to_wkt - Write out node, way, and area geometries as WKT + * mapolution - Show evolution of OSM map + * node_density - Create image showing OSM node density + * pub_names - Extract names of pubs from OSM file + * road_length - Calculate length of highways from an OSM file + . + 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..5a1eac2 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,62 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Osmium Contrib +Upstream-Contact: Osmium Developers <d...@openstreetmap.org> +Source: https://github.com/osmcode/osmium-contrib + +Files: * +Copyright: 2013-2015, Jochen Topf <joc...@topf.org> +License: public-domain + This program is released into the Public Domain. + +Files: amenity_list/* +Copyright: disclaimed +License: public-domain + This program is released into the Public Domain. + +Files: export_to_wkt/* +Copyright: disclaimed +License: public-domain + This program is released into the Public Domain. + +Files: mapolution/* +Copyright: NONE +License: UNKNOWN + No license + +Files: node_density/* +Copyright: disclaimed +License: public-domain + This program is released into the Public Domain. + +Files: pub_names/* +Copyright: disclaimed +License: public-domain + This program is released into the Public Domain. + +Files: road_length/* +Copyright: disclaimed +License: public-domain + This program is released into the Public Domain. + +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'. + 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..993d317 --- /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/osmium-contrib.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..27aa9af --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,7 @@ +--- +Bug-Database: https://github.com/osmcode/osmium-contrib/issues +Bug-Submit: https://github.com/osmcode/osmium-contrib/issues/new +Contact: Osmium Developers <d...@openstreetmap.org> +Name: Osmium Contrib +Repository: https://github.com/osmcode/osmium-contrib.git +Repository-Browse: https://github.com/osmcode/osmium-contrib -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/osmium-contrib.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