[med-svn] r3755 - trunk/packages/gnumed-client/trunk/debian

Andreas Tille tille at alioth.debian.org
Mon Aug 10 16:39:44 UTC 2009


Author: tille
Date: 2009-08-10 16:39:43 +0000 (Mon, 10 Aug 2009)
New Revision: 3755

Modified:
   trunk/packages/gnumed-client/trunk/debian/changelog
   trunk/packages/gnumed-client/trunk/debian/compat
   trunk/packages/gnumed-client/trunk/debian/control
   trunk/packages/gnumed-client/trunk/debian/rules
Log:
New upstream version, switched to compact debian/rules file using debhelper 7 dh


Modified: trunk/packages/gnumed-client/trunk/debian/changelog
===================================================================
--- trunk/packages/gnumed-client/trunk/debian/changelog	2009-08-10 14:49:08 UTC (rev 3754)
+++ trunk/packages/gnumed-client/trunk/debian/changelog	2009-08-10 16:39:43 UTC (rev 3755)
@@ -1,8 +1,12 @@
-gnumed-client (0.4.6-2) UNRELEASED; urgency=low
+gnumed-client (0.4.7-1) unstable; urgency=low
 
+  * new upstream version
   * debian/control:
     - Standards-Version: 3.8.2 (no changes needed)
     - Fixed typo in description
+    - debhelper >= 7
+  * debian/rules: dh
+  * debian/compat: 7
 
  -- Andreas Tille <tille at debian.org>  Thu, 18 Jun 2009 09:05:16 +0200
 

Modified: trunk/packages/gnumed-client/trunk/debian/compat
===================================================================
--- trunk/packages/gnumed-client/trunk/debian/compat	2009-08-10 14:49:08 UTC (rev 3754)
+++ trunk/packages/gnumed-client/trunk/debian/compat	2009-08-10 16:39:43 UTC (rev 3755)
@@ -1 +1 @@
-5
+7

Modified: trunk/packages/gnumed-client/trunk/debian/control
===================================================================
--- trunk/packages/gnumed-client/trunk/debian/control	2009-08-10 14:49:08 UTC (rev 3754)
+++ trunk/packages/gnumed-client/trunk/debian/control	2009-08-10 16:39:43 UTC (rev 3755)
@@ -4,7 +4,7 @@
 Maintainer: Debian-Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
 DM-Upload-Allowed: yes
 Uploaders: Andreas Tille <tille at debian.org>
-Build-Depends: debhelper
+Build-Depends: debhelper (>= 7)
 Build-Depends-Indep: po-debconf, python-support (>= 0.5.3), python-all-dev (>= 2.3.5-11)
 Standards-Version: 3.8.2
 Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/gnumed-client/trunk/?rev=0&sc=0

Modified: trunk/packages/gnumed-client/trunk/debian/rules
===================================================================
--- trunk/packages/gnumed-client/trunk/debian/rules	2009-08-10 14:49:08 UTC (rev 3754)
+++ trunk/packages/gnumed-client/trunk/debian/rules	2009-08-10 16:39:43 UTC (rev 3755)
@@ -2,41 +2,15 @@
 # debian/rules for GNUmed client.
 # Andreas Tille, GPL
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+%:
+	dh $@
 
-# This has to be exported to make some magic below work.
-export DH_OPTIONS
-
 pkg=gnumed
 client=$(pkg)-client
 
-# Make use of quilt
-# include /usr/share/quilt/quilt.make
-    
+override_dh_install:
+	dh_install
 
-PYDEF=$(shell pyversions -d)
-PYVERS=$(shell pyversions -r)
-
-#Architecture 
-build: build-arch build-indep
-build-arch:
-build-indep:
-
-clean: # unpatch
-	dh_testdir
-	dh_testroot
-	dh_clean
-
-install: install-indep install-arch
-install-indep:
-	dh_testdir
-	dh_testroot
-	dh_clean -k -i 
-	dh_installdirs -i
-
-	dh_install -i
-
 	# Remove "#!/usr/bin/.*python" from Python scripts because they are
 	# called from wrappers and
 	# fix permission of scripts who are not handled above
@@ -64,47 +38,5 @@
 	# Remove appendix .py from gm_ctl_client
 	cp -a client/connectors/gm_ctl_client.py debian/$(client)/usr/bin/gm_ctl_client
 
-# To update po files as recommended in po-debconf(7)
-debian/po/templates.pot: $(templates)
-	@debconf-updatepo
-
-version := $(shell dpkg-parsechangelog | grep "^Version:" | sed -e "s/^Version:[[:space:]]\+\([\.0-9]*\)-[0-9]\+[[:space:]]*/\1/" )
-
-install-arch:
-
-# Must not depend on anything. This is to be called by
-# binary-arch/binary-indep
-# in another 'make' thread.
-binary-common:
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs 
-	dh_installdocs
-	dh_installexamples
-	dh_installmenu
-	dh_installdebconf	
-#	dh_installlogrotate	
-#	dh_installcron
-	dh_installman
-	dh_desktop
-	dh_link
-	dh_strip
-	dh_compress 
-	dh_fixperms
+override_dh_pysupport:
 	dh_pysupport /usr/share/gnumed/Gnumed
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-# Build architecture independant packages using the common target.
-binary-indep: DH_OPTIONS=-i
-binary-indep: build-indep install-indep binary-common
-
-# Build architecture dependant packages using the common target.
-binary-arch: DH_OPTIONS=-a
-binary-arch: build-arch install-arch binary-common
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch




More information about the debian-med-commit mailing list