r7343 - packages/trunk/gmult/debian

Ansgar Burchardt ansgar-guest at alioth.debian.org
Thu Jun 12 11:15:45 UTC 2008


Author: ansgar-guest
Date: 2008-06-12 11:15:45 +0000 (Thu, 12 Jun 2008)
New Revision: 7343

Added:
   packages/trunk/gmult/debian/gmult.docs
   packages/trunk/gmult/debian/gmult.manpages
Modified:
   packages/trunk/gmult/debian/changelog
   packages/trunk/gmult/debian/compat
   packages/trunk/gmult/debian/control
   packages/trunk/gmult/debian/rules
Log:
Use debhelper instead of cdbs

Modified: packages/trunk/gmult/debian/changelog
===================================================================
--- packages/trunk/gmult/debian/changelog	2008-06-11 21:40:25 UTC (rev 7342)
+++ packages/trunk/gmult/debian/changelog	2008-06-12 11:15:45 UTC (rev 7343)
@@ -1,8 +1,9 @@
 gmult (5.4-1) unstable; urgency=low
 
   * New Upstream release
+  * Use debhelper instead of cdbs
 
- -- Ansgar Burchardt <ansgar at 43-1.org>  Sat, 07 Jun 2008 23:31:31 +0200
+ -- Ansgar Burchardt <ansgar at 43-1.org>  Thu, 12 Jun 2008 12:27:29 +0200
 
 gmult (5.3-2) unstable; urgency=high
 

Modified: packages/trunk/gmult/debian/compat
===================================================================
--- packages/trunk/gmult/debian/compat	2008-06-11 21:40:25 UTC (rev 7342)
+++ packages/trunk/gmult/debian/compat	2008-06-12 11:15:45 UTC (rev 7343)
@@ -1 +1 @@
-5
+7

Modified: packages/trunk/gmult/debian/control
===================================================================
--- packages/trunk/gmult/debian/control	2008-06-11 21:40:25 UTC (rev 7342)
+++ packages/trunk/gmult/debian/control	2008-06-12 11:15:45 UTC (rev 7343)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
 Uploaders: Barry deFreese <bddebian at comcast.net>, Ansgar Burchardt <ansgar at 43-1.org>
-Build-Depends: debhelper (>> 5), cdbs, quilt, intltool (>= 0.28), libgtkmm-2.4-dev (>= 2.6.0), gettext (>= 0.12.1), docbook-xsl, xsltproc
+Build-Depends: debhelper (>> 7), quilt, intltool (>= 0.28), libgtkmm-2.4-dev (>= 2.6.0), gettext (>= 0.12.1), docbook-xsl, xsltproc
 Standards-Version: 3.7.3
 Homepage: http://mterry.name/gmult/
 Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/gmult/

Added: packages/trunk/gmult/debian/gmult.docs
===================================================================
--- packages/trunk/gmult/debian/gmult.docs	                        (rev 0)
+++ packages/trunk/gmult/debian/gmult.docs	2008-06-12 11:15:45 UTC (rev 7343)
@@ -0,0 +1,5 @@
+AUTHORS
+NEWS
+README
+THANKS
+

Added: packages/trunk/gmult/debian/gmult.manpages
===================================================================
--- packages/trunk/gmult/debian/gmult.manpages	                        (rev 0)
+++ packages/trunk/gmult/debian/gmult.manpages	2008-06-12 11:15:45 UTC (rev 7343)
@@ -0,0 +1 @@
+debian/gmult.1

Modified: packages/trunk/gmult/debian/rules
===================================================================
--- packages/trunk/gmult/debian/rules	2008-06-11 21:40:25 UTC (rev 7342)
+++ packages/trunk/gmult/debian/rules	2008-06-12 11:15:45 UTC (rev 7343)
@@ -1,39 +1,35 @@
 #!/usr/bin/make -f
-# -*- mode: makefile; coding: utf-8 -*-
-# Portions of code based on cdbs, which is
-# Copyright © 2002 Colin Walters <walters at debian.org>
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2, or (at
-# your option) any later version.
-#
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307 USA.
+# -*- mode: makefile -*-
 
-include /usr/share/cdbs/1/rules/patchsys-quilt.mk
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/autotools.mk
-include /usr/share/cdbs/1/class/gnome.mk
+include /usr/share/quilt/quilt.make
 
-DEB_CONFIGURE_EXTRA_FLAGS := --bindir=$(DEB_CONFIGURE_PREFIX)/games
+build: patch build-gmult debian/gmult.1
 
-DEB_INSTALL_DOCS_gmult := AUTHORS NEWS README THANKS
-DEB_INSTALL_MANPAGES_gmult := debian/gmult.1
+build-gmult:
+	dh build --before configure
+	dh_auto_configure -- --bindir='$${prefix}/games'
+	dh_auto_build
 
-build/gmult:: debian/gmult.1
+	# We don't run dh_auto_test because `make check` fails
+	# due to intltool-update looking in .pc/*...
+	
+	dh build --after test
 
-clean::
-	rm -f $(CURDIR)/debian/gmult.1
-	rm -f $(CURDIR)/po/stamp-po po/*.gmo
-
 debian/gmult.1: debian/gmult.dbk
 	xsltproc --nonet -o $@ \
 	  /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl $<
+
+clean: clean-patched unpatch
+clean-patched:
+	dh clean
+	rm -f debian/gmult.1
+	rm -f po/stamp-po po/*.gmo
+
+install: build
+	dh install
+
+binary-arch:
+	dh binary-arch
+
+binary: binary-arch
+




More information about the Pkg-games-commits mailing list