[osmium-tool] 02/02: Initial Debian packaging.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Fri Mar 6 17:09:50 UTC 2015


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository osmium-tool.

commit a34c03c646849e8ca776320356f6763c706a8529
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri Mar 6 16:11:49 2015 +0100

    Initial Debian packaging.
---
 debian/changelog         |  6 +++---
 debian/control           | 42 ++++++++++++++++++++++++++++---------
 debian/copyright         | 54 ++++++++++++++++++++++++++++++++++++------------
 debian/gbp.conf          | 16 ++++++++++++++
 debian/get-orig-source   | 19 +++++++++++++++++
 debian/source/format     |  1 +
 debian/upstream/metadata |  7 +++++++
 7 files changed, 119 insertions(+), 26 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index e0fbeea..b0fba18 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
-osmium (0.0.1) jessie; urgency=low
+osmium-tool (0.0~20150306-4ef5dd5-1) UNRELEASED; urgency=medium
 
-  * Initial standalone debian package
+  * Initial release (Closes: #779938)
 
- -- Jochen Topf <jochen at topf.org>  Wed, 27 Nov 2013 13:42:00 +0100
+ -- Bas Couwenberg <sebastic at debian.org>  Fri, 06 Mar 2015 15:43:50 +0100
diff --git a/debian/control b/debian/control
index a52d9a1..e055a94 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,8 @@
-Source: osmium
-Section: utils
+Source: osmium-tool
+Maintainer: Debian GIS Project <pkg-grass-devel at lists.alioth.debian.org>
+Uploaders: Bas Couwenberg <sebastic at debian.org>
+Section: science
 Priority: optional
-Maintainer: Jochen Topf <jochen at topf.org>
 Build-Depends: debhelper (>= 9),
                cmake (>= 2.8),
                libboost-program-options-dev,
@@ -12,14 +13,35 @@ Build-Depends: debhelper (>= 9),
                libprotobuf-c-dev | libprotobuf-c0-dev (>= 0.14),
                pandoc,
                zlib1g-dev
-Standards-Version: 3.9.5
-Homepage: http://osmcode.org/osmium/
+Standards-Version: 3.9.6
+Vcs-Browser: http://anonscm.debian.org/cgit/pkg-grass/osmium-tool.git/
+Vcs-Git: git://anonscm.debian.org/pkg-grass/osmium-tool.git
+Homepage: http://osmcode.org/osmium-tool/
 
-Package: osmium
+Package: osmium-tool
 Architecture: any
+Section: utils
 Depends: ${shlibs:Depends},
          ${misc:Depends}
-Recommends: 
-Description: Command line tool for working with OpenStreetMap data.
- A versatile command line tool that makes manipulating
- OpenStreetMap data easy.
+Suggests: osmium-contrib,
+          node-osmium,
+          pyosmium
+Description: Command line tool for working with OpenStreetMap data
+ Osmium Tool is a multipurpose command line tool based on the Osmium library.
+ .
+ With the Osmium Tool you currently can:
+ .
+  * Get information about an OSM file
+  * Convert OSM files from one format into another (supports all XML and PBF formats)
+  * Merge and apply change files to an OSM file (with or without history)
+  * Extract data from OSM history files for a given point in time or a time range
+ .
+ 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
index e5743ab..bbf56dc 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,18 +1,46 @@
-Copyright 2013 Jochen Topf <jochen at topf.org>
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Osmium Tool
+Upstream-Contact: Osmium Developers <dev at openstreetmap.org>
+Source: https://github.com/osmcode/osmium-tool
 
-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.
+Files: *
+Copyright: 2013-2015, Jochen Topf <jochen at topf.org>
+License: GPL-3+
 
-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.
+Files: debian/*
+Copyright: © 2015, Bas Couwenberg <sebastic at debian.org>
+License: GPL-2+
 
-You should have received a copy of the GNU General Public License along
-with this program.  If not, see <http://www.gnu.org/licenses/>.
+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'.
 
-The GNU General Public License version 3 may be found on Debian systems
-in /usr/share/common-licenses/GPL-3.
+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..205fd0d
--- /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-tool.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/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..26c59b3
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,7 @@
+---
+Bug-Database: https://github.com/osmcode/osmium-tool/issues
+Bug-Submit: https://github.com/osmcode/osmium-tool/issues/new
+Contact: Osmium Developers <dev at openstreetmap.org>
+Name: Osmium Tool
+Repository: https://github.com/osmcode/osmium-tool.git
+Repository-Browse: https://github.com/osmcode/osmium-tool

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/osmium-tool.git



More information about the Pkg-grass-devel mailing list