[DebianGIS-dev] [SCM] saga branch, master, updated. b7452b41422b22a1147499c4d8a67960b756f9cd

Johan Van de Wauw johan.vandewauw at gmail.com
Sun Feb 28 15:18:40 UTC 2010


The following commit has been merged in the master branch:
commit b7452b41422b22a1147499c4d8a67960b756f9cd
Author: Johan Van de Wauw <johan.vandewauw at gmail.com>
Date:   Sun Feb 28 16:17:30 2010 +0100

    Add Provides: info for libsaga_api and libsaga_gdi

diff --git a/debian/control b/debian/control
index 0460b79..a40be2f 100644
--- a/debian/control
+++ b/debian/control
@@ -13,7 +13,8 @@ Vcs-Browser: http://git.debian.org/?p=pkg-grass/saga.git
 Package: saga
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Provides: saga2.0.4
+Provides: libsaga_api4
+Provides: libsaga_gdi0
 Description: System for Automatic Geoscientific Analysis
  SAGA GIS (System for Automated Geoscientific Analysis) is a geographic
  information system usable for editing and analysing spatial data. Among
@@ -45,7 +46,7 @@ Package: saga-dev
 Section: devel
 Architecture: any
 Depends: saga (= ${binary:Version})
-Provides: saga2.0.4-dev
+Provides: saga at VERSION@-dev
 Description: SAGA GIS development files
  SAGA GIS (System for Automated Geoscientific Analysis) is a geographic
  information system usable for editing and analysing spatial data.
diff --git a/debian/control.in b/debian/control.in
index bc9a3f6..0beefe0 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -13,7 +13,8 @@ Vcs-Browser: http://git.debian.org/?p=pkg-grass/saga.git
 Package: saga
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Provides: saga at VERSION@
+Provides: libsaga_api at LIBSAGAAPISO@
+Provides: libsaga_gdi at LIBSAGAGDISO@
 Description: System for Automatic Geoscientific Analysis
  SAGA GIS (System for Automated Geoscientific Analysis) is a geographic
  information system usable for editing and analysing spatial data. Among
diff --git a/debian/rules b/debian/rules
index cdef257..8df9fcd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,8 @@ DEB_INSTALL_MANPAGES_saga = saga_cmd.1
 
 VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | \
    cut -f 2 -d ' ' | cut -f 1 -d '-')
+LIBSAGAAPISO := $(shell grep '^SOVERSION =' src/saga_core/saga_api/Makefile.am | sed 's/SOVERSION = \([0-9]*\):[0-9]*:[0-9]*/\1/g')
+LIBSAGAGDISO := $(shell grep '^SOVERSION =' src/saga_core/saga_gdi/Makefile.am | sed 's/SOVERSION = \([0-9]*\):[0-9]*:[0-9]*/\1/g')
 
 # remove libtool helpers
 binary/saga::
@@ -22,4 +24,5 @@ cleanbuilddir/saga::
 
 debian/% :: debian/%.in
 	sed -e 's/@VERSION@/$(VERSION)/' -e 's/@ABI@/$(ABI)/' $< >$@
+	sed -e 's/@LIBSAGAAPISO@/$(LIBSAGAAPISO)/' -e 's/@LIBSAGAGDISO@/$(LIBSAGAGDISO)/' $< >$@
 

-- 
Saga GIS



More information about the Pkg-grass-devel mailing list