[librttopo] 03/19: Use git.osgeo.org for upstream releases. Rename packages to match library name.
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Sat Apr 30 00:22:16 UTC 2016
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository librttopo.
commit 8fa183dcaf657096563effdd883833a89950caf2
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Sat Apr 30 01:12:10 2016 +0200
Use git.osgeo.org for upstream releases. Rename packages to match library name.
---
debian/changelog | 2 +-
debian/control | 18 +++++++++---------
debian/copyright | 4 ++--
debian/get-orig-source | 19 -------------------
debian/{librtgeom-dev.docs => librttopo-dev.docs} | 0
.../{librtgeom-dev.install => librttopo-dev.install} | 0
debian/{librtgeom0.install => librttopo0.install} | 0
debian/{librtgeom0.symbols => librttopo0.symbols} | 2 +-
debian/rules | 3 ---
debian/upstream/metadata | 8 ++++----
debian/watch | 14 +++++++-------
11 files changed, 24 insertions(+), 46 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index e4c7ee8..0073da4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-rttopo (0.0~20151215-d1aaf2f-1) UNRELEASED; urgency=medium
+librttopo (0.0~20151215-d1aaf2f-1) UNRELEASED; urgency=medium
* Initial release (Closes: #nnnnnn)
diff --git a/debian/control b/debian/control
index 0587598..c9cd5e7 100644
--- a/debian/control
+++ b/debian/control
@@ -1,4 +1,4 @@
-Source: rttopo
+Source: librttopo
Section: science
Priority: optional
Maintainer: Debian GIS Project <pkg-grass-devel at lists.alioth.debian.org>
@@ -10,17 +10,17 @@ Build-Depends: debhelper (>= 9),
libpcre3-dev,
libxml2-dev
Standards-Version: 3.9.6
-Vcs-Browser: https://anonscm.debian.org/cgit/pkg-grass/rttopo.git/
-Vcs-Git: https://anonscm.debian.org/git/pkg-grass/rttopo.git
-Homepage: https://gitlab.com/rttopo/rttopo
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-grass/librttopo.git/
+Vcs-Git: https://anonscm.debian.org/git/pkg-grass/librttopo.git
+Homepage: https://git.osgeo.org/gogs/rttopo/librttopo
-Package: librtgeom0
+Package: librttopo0
Architecture: any
Section: libs
Depends: ${shlibs:Depends},
${misc:Depends}
Description: Tuscany Region topology library
- The topology support in librtgeom exposes an API to create and manage
+ The topology support in librttopo exposes an API to create and manage
"standard" topologies that use provided callbacks to take care of actual
data storage.
.
@@ -30,13 +30,13 @@ Description: Tuscany Region topology library
.
This package contains the shared library.
-Package: librtgeom-dev
+Package: librttopo-dev
Architecture: any
Section: libdevel
-Depends: librtgeom0 (= ${binary:Version}),
+Depends: librttopo0 (= ${binary:Version}),
${misc:Depends},
Description: Tuscany Region topology library - Development files
- The topology support in librtgeom exposes an API to create and manage
+ The topology support in librttopo exposes an API to create and manage
"standard" topologies that use provided callbacks to take care of actual
data storage.
.
diff --git a/debian/copyright b/debian/copyright
index 10e1e5e..388c0bb 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,7 +1,7 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
-Upstream-Name: rttopo
+Upstream-Name: librttopo
Upstream-Contact: Sandro Santilli <strk at keybit.net>
-Source: https://gitlab.com/rttopo/rttopo
+Source: https://git.osgeo.org/gogs/rttopo/librttopo
Files: *
Copyright: 2009-2015, Sandro Santilli <strk at keybit.net>
diff --git a/debian/get-orig-source b/debian/get-orig-source
deleted file mode 100755
index f94362e..0000000
--- a/debian/get-orig-source
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/bash
-
-REMOTE=upstream
-BRANCH=${REMOTE}/master
-
-if [ $(git remote show ${REMOTE} | wc -l) -eq 0 ]; then
- git remote add ${REMOTE} https://gitlab.com/rttopo/rttopo.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/librtgeom-dev.docs b/debian/librttopo-dev.docs
similarity index 100%
rename from debian/librtgeom-dev.docs
rename to debian/librttopo-dev.docs
diff --git a/debian/librtgeom-dev.install b/debian/librttopo-dev.install
similarity index 100%
rename from debian/librtgeom-dev.install
rename to debian/librttopo-dev.install
diff --git a/debian/librtgeom0.install b/debian/librttopo0.install
similarity index 100%
rename from debian/librtgeom0.install
rename to debian/librttopo0.install
diff --git a/debian/librtgeom0.symbols b/debian/librttopo0.symbols
similarity index 99%
rename from debian/librtgeom0.symbols
rename to debian/librttopo0.symbols
index 94fe2e4..5ffdc34 100644
--- a/debian/librtgeom0.symbols
+++ b/debian/librttopo0.symbols
@@ -1,4 +1,4 @@
-librtgeom.so.0 #PACKAGE# #MINVER#
+librttopo.so.0 #PACKAGE# #MINVER#
GBOX2GEOS at Base 0.0~20151215-d1aaf2f
GEOS2RTGEOM at Base 0.0~20151215-d1aaf2f
RTGEOM2GEOS at Base 0.0~20151215-d1aaf2f
diff --git a/debian/rules b/debian/rules
index 3a1838a..f878977 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,6 +27,3 @@ override_dh_install:
override_dh_makeshlibs:
dh_makeshlibs -- -v$(UPSTREAM_VERSION)
-get-orig-source:
- . debian/get-orig-source
-
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
index 18f428c..a2ad75b 100644
--- a/debian/upstream/metadata
+++ b/debian/upstream/metadata
@@ -1,5 +1,5 @@
---
-Bug-Database: https://gitlab.com/rttopo/rttopo/issues
-Name: rttopo
-Repository: https://gitlab.com/rttopo/rttopo.git
-Repository-Browse: https://gitlab.com/rttopo/rttopo
+Bug-Database: https://git.osgeo.org/gogs/rttopo/librttopo/issues
+Name: librttopo
+Repository: https://git.osgeo.org/gogs/rttopo/librttopo.git
+Repository-Browse: https://git.osgeo.org/gogs/rttopo/librttopo
diff --git a/debian/watch b/debian/watch
index 4384217..0240309 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,7 +1,7 @@
-#version=3
-#opts=\
-#dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
-#uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/;s/RC/rc/,\
-#filenamemangle=s/.*\.(tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))\?ref=v?(\d\S*)/rttopo-$1.$2/g \
-#https://gitlab.com/rttopo/rttopo/tags \
-#.*archive\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))\?ref=v?(\d\S*)
+version=3
+opts=\
+dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
+uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/;s/RC/rc/,\
+filenamemangle=s/(?:.*?)?(?:rel|v|librttopo)?[\-\_]?(\d\S+)\.(tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))/librttopo-$1.$2/ \
+https://git.osgeo.org/gogs/rttopo/librttopo/releases \
+(?:.*?/)?(?:rel|v|librttopo)?[\-\_]?(\d\S+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/librttopo.git
More information about the Pkg-grass-devel
mailing list