[Pkg-cli-libs-commits] r4167 - in /packages/gnome-keyring-sharp/trunk/debian: changelog control rules

directhex-guest at users.alioth.debian.org directhex-guest at users.alioth.debian.org
Wed May 6 13:36:03 UTC 2009


Author: directhex-guest
Date: Wed May  6 13:36:02 2009
New Revision: 4167

URL: http://svn.debian.org/wsvn/pkg-cli-libs/?sc=1&rev=4167
Log:
  * 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

Modified:
    packages/gnome-keyring-sharp/trunk/debian/changelog
    packages/gnome-keyring-sharp/trunk/debian/control
    packages/gnome-keyring-sharp/trunk/debian/rules

Modified: packages/gnome-keyring-sharp/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/gnome-keyring-sharp/trunk/debian/changelog?rev=4167&op=diff
==============================================================================
--- packages/gnome-keyring-sharp/trunk/debian/changelog (original)
+++ packages/gnome-keyring-sharp/trunk/debian/changelog Wed May  6 13:36:02 2009
@@ -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 <bigon at debian.org>  Sun, 08 Mar 2009 20:55:37 +0100
+  [ Laurent Bigonville ]
+  * debian/control:
+    + remove my name from Uploaders (Closes: #514724)
+
+ -- 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
 

Modified: packages/gnome-keyring-sharp/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/gnome-keyring-sharp/trunk/debian/control?rev=4167&op=diff
==============================================================================
--- packages/gnome-keyring-sharp/trunk/debian/control (original)
+++ packages/gnome-keyring-sharp/trunk/debian/control Wed May  6 13:36:02 2009
@@ -9,7 +9,7 @@
  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
 

Modified: packages/gnome-keyring-sharp/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/gnome-keyring-sharp/trunk/debian/rules?rev=4167&op=diff
==============================================================================
--- packages/gnome-keyring-sharp/trunk/debian/rules (original)
+++ packages/gnome-keyring-sharp/trunk/debian/rules Wed May  6 13:36:02 2009
@@ -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 @@
 %:
 	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
+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
 
-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: 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




More information about the Pkg-cli-libs-commits mailing list