Author: vlegout
Date: 2012-04-15 08:42:15 +0000 (Sun, 15 Apr 2012)
New Revision: 13481

Added:
   packages/trunk/brutalchess/debian/brutalchess.install
   packages/trunk/brutalchess/debian/source/
   packages/trunk/brutalchess/debian/source/format
Removed:
   packages/trunk/brutalchess/debian/dirs
Modified:
   packages/trunk/brutalchess/debian/changelog
   packages/trunk/brutalchess/debian/compat
   packages/trunk/brutalchess/debian/control
   packages/trunk/brutalchess/debian/rules
Log:
Use dh, source format 3.0 (quilt)

Added: packages/trunk/brutalchess/debian/brutalchess.install
===================================================================
--- packages/trunk/brutalchess/debian/brutalchess.install                       
        (rev 0)
+++ packages/trunk/brutalchess/debian/brutalchess.install       2012-04-15 
08:42:15 UTC (rev 13481)
@@ -0,0 +1,2 @@
+debian/brutalchess.xpm /usr/share/pixmaps
+debian/brutalchess.desktop /usr/share/applications

Modified: packages/trunk/brutalchess/debian/changelog
===================================================================
--- packages/trunk/brutalchess/debian/changelog 2012-04-13 20:34:22 UTC (rev 
13480)
+++ packages/trunk/brutalchess/debian/changelog 2012-04-15 08:42:15 UTC (rev 
13481)
@@ -1,14 +1,20 @@
 brutalchess (0.5.2+dfsg-4) UNRELEASED; urgency=low
 
-  * Team upload.
-
-  [Ian Lane]
+  [ Iain Lane ]
   * debian/watch: Mangle version correctly
 
-  [Vincent Legout]
+  [ Vincent Legout ]
   * Fix ftbfs with gcc-4.7, add patches/06_gcc-4.7.patch (Closes: #667121)
+  * debhelper 9 (debian/compat, debhelper Build-Depends)
+  * debian/control: Drop quilt, automake1.9 and libtool in Build-Depends. Add
+    dh-autoreconf.
+  * debian/dirs: Drop, not needed.
+  * Use 3.0 (quilt) source format (Add debian/source/format).
+  * debian/rules: Use dh()
+    - Enable hardening build flags
+    - Add debian/brutalchess.install
 
- -- Iain Lane <la...@ubuntu.com>  Wed, 24 Dec 2008 11:49:16 +0000
+ -- Vincent Legout <vleg...@debian.org>  Sun, 15 Apr 2012 10:29:08 +0200
 
 brutalchess (0.5.2+dfsg-3) unstable; urgency=low
 

Modified: packages/trunk/brutalchess/debian/compat
===================================================================
--- packages/trunk/brutalchess/debian/compat    2012-04-13 20:34:22 UTC (rev 
13480)
+++ packages/trunk/brutalchess/debian/compat    2012-04-15 08:42:15 UTC (rev 
13481)
@@ -1 +1 @@
-5
+9

Modified: packages/trunk/brutalchess/debian/control
===================================================================
--- packages/trunk/brutalchess/debian/control   2012-04-13 20:34:22 UTC (rev 
13480)
+++ packages/trunk/brutalchess/debian/control   2012-04-15 08:42:15 UTC (rev 
13481)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Games Team <pkg-games-de...@lists.alioth.debian.org>
 Uploaders: Barry deFreese <bddeb...@comcast.net>
-Build-Depends: debhelper (>= 5.0.0), quilt, automake1.9, libtool,
+Build-Depends: debhelper (>= 9), dh-autoreconf,
  libsdl-image1.2-dev, libfreetype6-dev, libxmu-dev, libxi-dev, libgl1-mesa-dev,
  sharutils,
 Standards-Version: 3.8.0

Deleted: packages/trunk/brutalchess/debian/dirs
===================================================================
--- packages/trunk/brutalchess/debian/dirs      2012-04-13 20:34:22 UTC (rev 
13480)
+++ packages/trunk/brutalchess/debian/dirs      2012-04-15 08:42:15 UTC (rev 
13481)
@@ -1,6 +0,0 @@
-usr/games
-usr/lib/games/brutalchess
-usr/share/games/brutalchess/art
-usr/share/games/brutalchess/models
-usr/share/pixmaps
-usr/share/applications

Modified: packages/trunk/brutalchess/debian/rules
===================================================================
--- packages/trunk/brutalchess/debian/rules     2012-04-13 20:34:22 UTC (rev 
13480)
+++ packages/trunk/brutalchess/debian/rules     2012-04-15 08:42:15 UTC (rev 
13481)
@@ -1,99 +1,16 @@
 #!/usr/bin/make -f
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
 
-include /usr/share/quilt/quilt.make
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
-CFLAGS = -Wall -g
+%:
+       dh $@ --with autoreconf
 
-package := brutalchess
-prefix := $(CURDIR)/debian/$(package)
+override_dh_auto_configure:
+       dh_auto_configure -- --prefix=/usr --bindir=/usr/games 
--datadir=/usr/share/games
 
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-       CFLAGS += -O0
-else
-       CFLAGS += -O2
-endif
-
-configure: configure-stamp
-configure-stamp: $(QUILT_STAMPFN)
-       dh_testdir
-
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
-       cp -f /usr/share/misc/config.sub config.sub
-endif
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
-       cp -f /usr/share/misc/config.guess config.guess
-endif
-
-       aclocal
-       autoconf
-       autoheader
-       automake --add-missing --copy
-       libtoolize --copy --force
-
-       CFLAGS="$(CFLAGS)" CXXFLAGS="$(CFLAGS)" ./configure 
--host=$(DEB_HOST_GNU_TYPE) \
-        --build=$(DEB_BUILD_GNU_TYPE) \
-        --prefix=/usr \
-        --exec-prefix=/usr \
-        --mandir=\$${prefix}/share/man \
-        --datadir=\$${prefix}/share/games \
-        --bindir=\$${prefix}/games
-       touch configure-stamp
-
-build: build-stamp
-
-build-stamp: configure-stamp
-       dh_testdir
-       $(MAKE)
-       touch build-stamp
-
-clean: unpatch
-       dh_testdir
-       dh_testroot
-       rm -f build-stamp configure-stamp
-       [ ! -f Makefile ] || $(MAKE) clean
-       rm -rf src/.deps
-       rm -f src/stamp-h1 src/config.h
-       rm -rf src/src/config.h
-       rm -f config.status config.log Makefile src/Makefile
-       rm -f config.sub config.guess
-
-       dh_clean
-
-install: build
-       dh_testdir
-       dh_testroot
-       dh_clean -k
-       dh_installdirs
-       dh_install debian/brutalchess.xpm usr/share/pixmaps
-       dh_install debian/brutalchess.desktop usr/share/applications
-       $(MAKE) install DESTDIR=$(CURDIR)/debian/brutalchess
+override_dh_auto_install:
+       dh_auto_install
        uudecode debian/black.png.in > 
$(CURDIR)/debian/brutalchess/usr/share/games/brutalchess/art/marblehugeblack.png
        uudecode debian/white.png.in > 
$(CURDIR)/debian/brutalchess/usr/share/games/brutalchess/art/marblehugewhite.png
-       mv $(CURDIR)/debian/brutalchess/usr/libexec/*view 
$(CURDIR)/debian/brutalchess/usr/lib/games/brutalchess/
-       rm -rf $(CURDIR)/debian/brutalchess/usr/libexec/
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
-       dh_testdir
-       dh_testroot
-       dh_installchangelogs ChangeLog
-       dh_installdocs
-       dh_installmenu
-       dh_installman
-       dh_strip
-       dh_compress
-       dh_fixperms
-       dh_installdeb
-       dh_shlibdeps
-       dh_gencontrol
-       dh_md5sums
-       dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+       find . -name "*view" -exec rm -f {} \;
+       rm -rf $(CURDIR)/debian/brutalchess/usr/lib

Added: packages/trunk/brutalchess/debian/source/format
===================================================================
--- packages/trunk/brutalchess/debian/source/format                             
(rev 0)
+++ packages/trunk/brutalchess/debian/source/format     2012-04-15 08:42:15 UTC 
(rev 13481)
@@ -0,0 +1 @@
+3.0 (quilt)


_______________________________________________
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to