[Pkg-cli-apps-commits] r4866 - in /packages/gbrainy/trunk/debian: changelog rules

rainct-guest at users.alioth.debian.org rainct-guest at users.alioth.debian.org
Mon Apr 20 22:03:56 UTC 2009


Author: rainct-guest
Date: Mon Apr 20 22:03:56 2009
New Revision: 4866

URL: http://svn.debian.org/wsvn/pkg-cli-apps/?sc=1&rev=4866
Log:
   - Update libgnome-cil build-dependency for gnome-sharp transition.
* debian/rules:
   - Add get-orig-source rule to please Mirco.

Modified:
    packages/gbrainy/trunk/debian/changelog
    packages/gbrainy/trunk/debian/rules

Modified: packages/gbrainy/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/gbrainy/trunk/debian/changelog?rev=4866&op=diff
==============================================================================
--- packages/gbrainy/trunk/debian/changelog (original)
+++ packages/gbrainy/trunk/debian/changelog Mon Apr 20 22:03:56 2009
@@ -8,7 +8,9 @@
   * debian/watch
      - Fix it (well, not really, upstream uses a broken versioning scheme).
   * debian/control:
-     - Update libgnome-cil build-dependency for gnome-sharp transition 
+     - Update libgnome-cil build-dependency for gnome-sharp transition.
+  * debian/rules:
+     - Add get-orig-source rule to please Mirco.
 
   [ Stefan Ebner ]
   * Bump Standards version to 3.8.1 

Modified: packages/gbrainy/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/gbrainy/trunk/debian/rules?rev=4866&op=diff
==============================================================================
--- packages/gbrainy/trunk/debian/rules (original)
+++ packages/gbrainy/trunk/debian/rules Mon Apr 20 22:03:56 2009
@@ -9,6 +9,14 @@
 DEB_INSTALL_DOCS_ALL = ./NEWS ./README
 DEB_CONFIGURE_EXTRA_FLAGS += MCS=/usr/bin/csc
 DEB_CONFIGURE_EXTRA_FLAGS += CSC=/usr/bin/csc
+
+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.*//')
 
 install/gbrainy::
 	# Create missing directories
@@ -34,3 +42,14 @@
 
 clean::
 	rm -rf	$(MONO_SHARED_DIR)/.wapi
+
+get-orig-source:
+	uscan \
+		--package $(DEB_SOURCE_NAME) \
+		--watchfile $(DEBIAN_DIR)/watch \
+		--upstream-version $(VERSION) \
+		--download-version $(VERSION) \
+		--destdir . \
+		--force-download \
+		--rename \
+		--repack




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