[gdal-grass] 01/01: Add metapackage to pull in the version specific binary package.

Bas Couwenberg sebastic at debian.org
Sat Aug 6 19:49:25 UTC 2016


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

sebastic pushed a commit to branch master
in repository gdal-grass.

commit 7ab7f546bca7bd5a4494df95ecd996957493b82a
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sat Aug 6 20:09:31 2016 +0200

    Add metapackage to pull in the version specific binary package.
---
 debian/changelog  |  6 ++++++
 debian/control    | 15 +++++++++++++++
 debian/control.in | 15 +++++++++++++++
 debian/rules      |  8 ++++----
 4 files changed, 40 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 91312de..4c75b95 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libgdal-grass (2.1.1-2) UNRELEASED; urgency=medium
+
+  * Add metapackage to pull in the version specific binary package.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Sat, 06 Aug 2016 20:07:31 +0200
+
 libgdal-grass (2.1.1-1) unstable; urgency=medium
 
   * Move from experimental to unstable.
diff --git a/debian/control b/debian/control
index 0815f18..358bc1e 100644
--- a/debian/control
+++ b/debian/control
@@ -30,4 +30,19 @@ Description: GRASS extension for the GDAL library
  As a library, it presents a single abstract data model to the
  calling application for all supported formats. This extension
  provides access to GRASS data via GDAL.
+ .
+ This package provides the GDAL GRASS plugin.
+
+Package: libgdal-grass
+Architecture: all
+Section: metapackages
+Depends: libgdal20-2.1.1-grass,
+         ${misc:Depends}
+Description: GRASS extension for the GDAL library - metapackage
+ GDAL is a translator library for raster geospatial data formats.
+ As a library, it presents a single abstract data model to the
+ calling application for all supported formats. This extension
+ provides access to GRASS data via GDAL.
+ .
+ This metapackage depends on the version specific library package.
 
diff --git a/debian/control.in b/debian/control.in
index ac34c2f..a48a2d1 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -30,4 +30,19 @@ Description: GRASS extension for the GDAL library
  As a library, it presents a single abstract data model to the
  calling application for all supported formats. This extension
  provides access to GRASS data via GDAL.
+ .
+ This package provides the GDAL GRASS plugin.
+
+Package: libgdal-grass
+Architecture: all
+Section: metapackages
+Depends: libgdal20-2.1.1-grass,
+         ${misc:Depends}
+Description: GRASS extension for the GDAL library - metapackage
+ GDAL is a translator library for raster geospatial data formats.
+ As a library, it presents a single abstract data model to the
+ calling application for all supported formats. This extension
+ provides access to GRASS data via GDAL.
+ .
+ This metapackage depends on the version specific library package.
 
diff --git a/debian/rules b/debian/rules
index 86577b1..583ea08 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,10 +7,10 @@
 # Enable hardening build flags
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie
 
-PKGNAME=$(shell grep Package: debian/control.in|cut -d' ' -f2)
-GRASS=grass$(subst .,,$(shell pkg-config --modversion grass|cut -d. -f1,2))
-GRASS_ABI=grass$(subst .,,$(shell pkg-config --modversion grass|cut -d. -f1,2,3|sed -e 's/RC/-/'))
-GDAL=$(shell cat VERSION|cut -d. -f1,2)
+PKGNAME=$(shell grep Package: debian/control.in | head -1 | cut -d' ' -f2)
+GRASS=grass$(subst .,,$(shell pkg-config --modversion grass | cut -d. -f1,2))
+GRASS_ABI=grass$(subst .,,$(shell pkg-config --modversion grass | cut -d. -f1,2,3 | sed -e 's/RC/-/'))
+GDAL=$(shell cat VERSION | cut -d. -f1,2)
 
 TEMPLATES=$(wildcard debian/*.in)
 

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



More information about the Pkg-grass-devel mailing list