>From 4be479abeace5cf3c5543aedcd97178f37cb794c Mon Sep 17 00:00:00 2001
From: Rene Milk <rene.milk@uni-muenster.de>
Date: Thu, 27 May 2010 11:43:14 +0200
Subject: [PATCH 1/4] - rename dune-common1 package to dune-common
 - also build unstripped debug package

---
 dune-common/control             |   19 ++++++++++++++-----
 dune-common/dune-common.install |    2 ++
 dune-common/rules               |    3 +++
 3 files changed, 19 insertions(+), 5 deletions(-)
 create mode 100644 dune-common/dune-common.install

diff --git a/dune-common/control b/dune-common/control
index fee212c..e006320 100644
--- a/dune-common/control
+++ b/dune-common/control
@@ -8,20 +8,29 @@ Homepage: http://www.dune-project.org
 #Vcs-Git: git://git.debian.org/collab-maint/dune-common.git
 #Vcs-Browser: http://git.debian.org/?p=collab-maint/dune-common.git;a=summary
 
+Package: dune-common
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: The infrastructure module of the Distributed and Unified Numerics Environment (DUNE)
+ dune-common is the infrastructure module of the Distributed and Unified
+ Numerics Environment (DUNE) system.  DUNE is a set of libraries for
+ grid-based numerical methods for solving partial differential equations.
+ 
 Package: dune-common-dev
 Section: libdevel
 Architecture: any
-Depends: dune-common1 (= ${binary:Version})
+Depends: dune-common (= ${binary:Version})
 Description: The infrastructure module of the Distributed and Unified Numerics Environment (DUNE)
  dune-common is the infrastructure module of the Distributed and Unified
  Numerics Environment (DUNE) system.  DUNE is a set of libraries for
  grid-based numerical methods for solving partial differential equations.
 
-Package: dune-common1
-Section: libs
+Package: dune-common-dbg
+Section: libdevel
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Depends: ${misc:Depends}, dune-common (= ${binary:Version})
 Description: The infrastructure module of the Distributed and Unified Numerics Environment (DUNE)
  dune-common is the infrastructure module of the Distributed and Unified
  Numerics Environment (DUNE) system.  DUNE is a set of libraries for
- grid-based numerical methods for solving partial differential equations.
+ grid-based numerical methods for solving partial differential equations.
\ No newline at end of file
diff --git a/dune-common/dune-common.install b/dune-common/dune-common.install
new file mode 100644
index 0000000..8236826
--- /dev/null
+++ b/dune-common/dune-common.install
@@ -0,0 +1,2 @@
+usr/lib/libdunecommon.so.0
+usr/lib/libdunecommon.so.0.0.0
diff --git a/dune-common/rules b/dune-common/rules
index ad5233f..8dfb834 100755
--- a/dune-common/rules
+++ b/dune-common/rules
@@ -17,3 +17,6 @@ export DH_VERBOSE=1
 #  - disable documentation for the time being, to simplify the build process
 override_dh_auto_configure:
 	dh_auto_configure -- --enable-shared --disable-documentation
+
+override_dh_strip:
+	+dh_strip --dbg-package=dune-common-dbg
-- 
1.7.0.1


