[Pkg-cli-libs-commits] [gnome-keyring-sharp] 02/04: * Update to "release" tarball rather than SVN * debian/control: + Bump to standards version 3.8.1 (no changes needed) * debian/rules: + Remove rules specific to packaging from SVN + Implement proper get-orig-source rule
Jo Shields
directhex at moszumanska.debian.org
Mon Nov 16 08:48:22 UTC 2015
This is an automated email from the git hooks/post-receive script.
directhex pushed a commit to annotated tag debian/1.0.0-1
in repository gnome-keyring-sharp.
commit ee68277c2596144683d9fc42867a10768d6081c6
Author: Jo Shields <directhex at apebox.org>
Date: Wed May 6 13:36:02 2009 +0000
* Update to "release" tarball rather than SVN
* debian/control:
+ Bump to standards version 3.8.1 (no changes needed)
* debian/rules:
+ Remove rules specific to packaging from SVN
+ Implement proper get-orig-source rule
---
debian/changelog | 16 +++++++++++++---
debian/control | 2 +-
debian/rules | 39 +++++++++++++++++++++------------------
3 files changed, 35 insertions(+), 22 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 0e4874e..7945038 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,18 @@
-gnome-keyring-sharp (1.0.0~svn.r87622-3) UNRELEASED; urgency=low
+gnome-keyring-sharp (1.0.0-1) jaunty; urgency=low
- * debian/control: remove my name from Uploaders (Closes: #514724)
+ [ Jo Shields ]
+ * Update to "release" tarball rather than SVN
+ * debian/control:
+ + Bump to standards version 3.8.1 (no changes needed)
+ * debian/rules:
+ + Remove rules specific to packaging from SVN
+ + Implement proper get-orig-source rule
+
+ [ Laurent Bigonville ]
+ * debian/control:
+ + remove my name from Uploaders (Closes: #514724)
- -- Laurent Bigonville <bigon at debian.org> Sun, 08 Mar 2009 20:55:37 +0100
+ -- Jo Shields <directhex at apebox.org> Wed, 06 May 2009 14:21:33 +0100
gnome-keyring-sharp (1.0.0~svn.r87622-2) unstable; urgency=low
diff --git a/debian/control b/debian/control
index fc6994d..9f6198c 100644
--- a/debian/control
+++ b/debian/control
@@ -9,7 +9,7 @@ Build-Depends: debhelper (>= 7), dpatch,
mono-devel (>= 2.0),
libndesk-dbus1.0-cil (>= 0.4),
monodoc-base
-Standards-Version: 3.7.3
+Standards-Version: 3.8.1
Vcs-Browser: http://svn.debian.org/wsvn/pkg-cli-libs/packages/gnome-keyring-sharp/trunk/
Vcs-Svn: svn+ssh://svn.debian.org/svn/pkg-cli-libs/packages/gnome-keyring-sharp/trunk
diff --git a/debian/rules b/debian/rules
index 5627516..1dd2e8a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,15 @@
#!/usr/bin/make -f
#export DH_VERBOSE=1
-DEB_CLI_API_VERSION = 1.0.0~svn.r87622
+DEB_CLI_API_VERSION = 1.0.0
+
+MAKEFILE = $(firstword $(MAKEFILE_LIST))
+DEBIAN_DIR = $(dir $(MAKEFILE))
+SOURCE_DIR = $(DEBIAN_DIR)/..
+
+DEB_VERSION = $(shell dpkg-parsechangelog -l$(DEBIAN_DIR)/changelog | grep ^Version | cut -d" " -f2)
+DEB_SOURCE_NAME = $(shell dpkg-parsechangelog -l$(DEBIAN_DIR)/changelog | grep ^Source | cut -d" " -f2)
+VERSION = $(shell echo $(DEB_VERSION) | cut -d"-" -f1 | sed 's/+dfsg.*//')
include /usr/share/cli-common/cli.make
include /usr/share/dpatch/dpatch.make
@@ -25,21 +33,16 @@ clean-patched:
%:
dh $@
-GKS_VER = $(shell ls gnome-keyring-sharp/gnome-keyring-sharp-*.tar.gz | egrep -o "([[:digit:]]+\.)+[[:digit:]]")
-gnome-keyring-sharp.tar.gz:
- wget -O gnome-keyring-sharp.tar.gz http://anonsvn.mono-project.com/viewcvs/trunk/gnome-keyring-sharp.tar.gz?view=tar
-
-unpack-upstream-source: gnome-keyring-sharp.tar.gz
- tar xzvf gnome-keyring-sharp.tar.gz
- rm gnome-keyring-sharp.tar.gz
-
-gnome-keyring-sharp/configure: unpack-upstream-source
- cd gnome-keyring-sharp && autoreconf -i -v
-
-build-tarball: gnome-keyring-sharp/configure
- cd gnome-keyring-sharp && ./configure && make dist
+get-orig-source:
+ uscan \
+ --package $(DEB_SOURCE_NAME) \
+ --watchfile $(DEBIAN_DIR)/watch \
+ --upstream-version $(VERSION) \
+ --download-version $(VERSION) \
+ --destdir . \
+ --force-download \
+ --rename
+ bzcat $(DEB_SOURCE_NAME)_$(VERSION).orig.tar.bz2 | \
+ gzip -9fn -c - > $(DEB_SOURCE_NAME)_$(VERSION).orig.tar.gz
+ rm $(DEB_SOURCE_NAME)_$(VERSION).orig.tar.bz2
-get-orig-source: build-tarball
- mv gnome-keyring-sharp/gnome-keyring-sharp-$(GKS_VER).tar.gz \
- gnome-keyring-sharp_$(GKS_VER)~svn$(shell date +%Y%m%d).orig.tar.gz
- rm -rf gnome-keyring-sharp
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-cli-libs/packages/gnome-keyring-sharp.git
More information about the Pkg-cli-libs-commits
mailing list