[Pkg-cli-apps-commits] r4936 - in /packages/themonospot/trunk/debian: changelog control rules
sebner-guest at users.alioth.debian.org
sebner-guest at users.alioth.debian.org
Sun May 10 15:29:51 UTC 2009
Author: sebner-guest
Date: Sun May 10 15:29:51 2009
New Revision: 4936
URL: http://svn.debian.org/wsvn/pkg-cli-apps/?sc=1&rev=4936
Log:
quilt dh7 \o/
Modified:
packages/themonospot/trunk/debian/changelog
packages/themonospot/trunk/debian/control
packages/themonospot/trunk/debian/rules
Modified: packages/themonospot/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/themonospot/trunk/debian/changelog?rev=4936&op=diff
==============================================================================
--- packages/themonospot/trunk/debian/changelog (original)
+++ packages/themonospot/trunk/debian/changelog Sun May 10 15:29:51 2009
@@ -1,6 +1,8 @@
themonospot (0.7.1.1-3) UNRELEASED; urgency=low
* Bump Standards version to 3.8.1
+ * debian/rules: Clean up and use quilt dh7 style
+ * debian/control: Add versioning on quilt
-- Stefan Ebner <sebner at ubuntu.com> Sun, 22 Mar 2009 15:02:34 +0100
Modified: packages/themonospot/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/themonospot/trunk/debian/control?rev=4936&op=diff
==============================================================================
--- packages/themonospot/trunk/debian/control (original)
+++ packages/themonospot/trunk/debian/control Sun May 10 15:29:51 2009
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Debian CLI Applications Team <pkg-cli-apps-team at lists.alioth.debian.org>
Uploaders: Stefan Ebner <sebner at ubuntu.com>
-Build-Depends: debhelper (>= 7.0.50), quilt, cli-common-dev (>= 0.5.7)
+Build-Depends: debhelper (>= 7.0.50), quilt (>= 0.46-7), cli-common-dev (>= 0.5.7)
Build-Depends-Indep: mono-devel (>= 2.0), pkg-config, libgtk2.0-cil (>= 2.8),
libglade2.0-cil (>= 2.8)
Standards-Version: 3.8.1
Modified: packages/themonospot/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/themonospot/trunk/debian/rules?rev=4936&op=diff
==============================================================================
--- packages/themonospot/trunk/debian/rules (original)
+++ packages/themonospot/trunk/debian/rules Sun May 10 15:29:51 2009
@@ -1,27 +1,42 @@
#!/usr/bin/make -f
-# export DH_VERBOSE=1
+
+#export DH_VERBOSE=1
+
+MAKEFILE = $(firstword $(MAKEFILE_LIST))
+DEBIAN_DIR = $(dir $(MAKEFILE))
+SOURCE_DIR = $(DEBIAN_DIR)/..
+
+DEB_VERSION = $(shell dpkg-parsechangelog | grep ^Vers | cut -d\ -f2)
+DEB_SOURCE_NAME = $(shell dpkg-parsechangelog -l$(DEBIAN_DIR)/changelog | grep ^Source | cut -d" " -f2)
+VERSION = $(shell uscan --dehs | sed -n 's/.*<upstream-version>\(.*\)<\/upstream-version>.*/\1/p')
include /usr/share/cli-common/cli.make
include /usr/share/quilt/quilt.make
+
+get-orig-source:
+ uscan \
+ --package $(DEB_SOURCE_NAME) \
+ --watchfile $(DEBIAN_DIR)/watch \
+ --upstream-version $(VERSION) \
+ --download-version $(VERSION) \
+ --destdir . \
+ --force-download \
+ --rename \
+ --repack
+
+ if [ -d $(DEB_SOURCE_NAME)-$(VERSION) ]; then \
+ echo "$(DEB_SOURCE_NAME)-$(VERSION) is in the way, bailing out!"; \
+ exit 1; \
+ fi
+ tar -xzf $(DEB_SOURCE_NAME)_$(VERSION).orig.tar.gz
+ rm $(DEB_SOURCE_NAME)_$(VERSION).orig.tar.gz
+ tar -czf $(DEB_SOURCE_NAME)_$(VERSION).orig.tar.gz $(DEB_SOURCE_NAME)-$(VERSION)
+ rm -r $(DEB_SOURCE_NAME)-$(VERSION)
+
override_dh_auto_configure:
dh_auto_configure -- GMCS=/usr/bin/csc
-build: build-stamp
-build-stamp: $(QUILT_STAMPFN)
- dh build
- touch $@
+%:
+ dh --with quilt $@
-install: install-stamp
-install-stamp: build
- dh install
- touch $@
-
-binary: binary-indep
-binary-indep: build install
- dh $@
-
-clean: unpatch
- dh $@
-
-.PHONY: build install binary clean
More information about the Pkg-cli-apps-commits
mailing list