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

Bas Couwenberg sebastic at debian.org
Tue Jan 17 14:40:02 UTC 2017


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

sebastic pushed a commit to branch ubuntu/trusty
in repository gdal-grass.

commit afd7da7076b841240d523626b7bc9b5fbfc82e5f
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  |  1 +
 debian/control    | 15 +++++++++++++++
 debian/control.in | 15 +++++++++++++++
 debian/rules      |  8 ++++----
 4 files changed, 35 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 5df1323..3f7ca15 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ libgdal-grass (2.1.0-1~trusty3) UNRELEASED; urgency=medium
   * Update rpath patch for GRASS 7.2.
   * Add patch to link GRASS 7.2 libraries.
   * Move control file generation to separate templates target.
+  * Add metapackage to pull in the version specific binary package.
 
  -- Bas Couwenberg <sebastic at debian.org>  Wed, 28 Dec 2016 19:45:29 +0100
 
diff --git a/debian/control b/debian/control
index 3473ea9..0c02f2b 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.0-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 29a4ff8..f09bf50 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.0-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 184bcaa..ef5a51f 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