* Add a -dbg package.
authorgregor herrmann <gregoa@debian.org>
Thu, 30 Aug 2007 16:31:32 +0000 (16:31 -0000)
committergregor herrmann <gregoa@debian.org>
Thu, 30 Aug 2007 16:31:32 +0000 (16:31 -0000)
* Remove useless file debian/compress from source package.

debian/changelog
debian/compress [deleted file]
debian/control
debian/libmimetic0-dbg.dirs [new file with mode: 0644]
debian/libmimetic0-dbg.install [new file with mode: 0644]
debian/rules

index 6354249890bdf9a7770e42a4a14676ffd1d5c9a2..aa79ceac198359273b2315dd65f4b58ed61e6880 100644 (file)
@@ -1,9 +1,12 @@
 mimetic (0.9.3-2) UNRELEASED; urgency=low
 
-  * Switch from ${Source-Version} to ${binary:Version} in debian/control.
+  * Switch from ${Source-Version} to ${binary:Version} in debian/control to
+    make the package binNMU safe.
   * Don't ignore result of make distclean.
+  * Add a -dbg package.
+  * Remove useless file debian/compress from source package.
 
- -- gregor herrmann <gregor+debian@comodo.priv.at>  Wed, 11 Jul 2007 00:31:04 +0200
+ -- gregor herrmann <gregor+debian@comodo.priv.at>  Thu, 30 Aug 2007 17:40:25 +0200
 
 mimetic (0.9.3-1) unstable; urgency=low
 
diff --git a/debian/compress b/debian/compress
deleted file mode 100644 (file)
index 3db166a..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-#/bin/sh
-
-find  usr/share/doc -type f  -iname "changelog*"
index c13f4d8f4cf62ea2f53d531389f462b3d4c42024..ac9c5c1feea00ee46a1a37618d29db7763c8c3e9 100644 (file)
@@ -67,3 +67,22 @@ Description: C++ MIME library (runtime)
  This package contains the libraries.
  .
   Homepage: http://codesink.org/mimetic_mime_library.html
+
+Package: libmimetic0-dbg
+Section: libdevel
+Architecture: any
+Depends: libmimetic0 (= ${binary:Version})
+Description: C++ MIME library (debug)
+ mimetic is a GPL MIME library written in C++ designed to be easy to use and
+ integrate but yet fast and efficient.
+ .
+ mimetic has been built around the standard lib. This means that you'll not
+ find yet another string class or list implementation and that you'll feel
+ comfortable in using this library from the very first time.
+ .
+ mimetic doesn't use exceptions but it heavily uses templates so a mostly
+ standard compliant C++ compiler is required. 
+ .
+ This package contains the debug symbols for libmimetic0.
+ .
+  Homepage: http://codesink.org/mimetic_mime_library.html
diff --git a/debian/libmimetic0-dbg.dirs b/debian/libmimetic0-dbg.dirs
new file mode 100644 (file)
index 0000000..8bfd090
--- /dev/null
@@ -0,0 +1 @@
+usr/lib/debug/usr/lib
diff --git a/debian/libmimetic0-dbg.install b/debian/libmimetic0-dbg.install
new file mode 100644 (file)
index 0000000..668c02b
--- /dev/null
@@ -0,0 +1 @@
+usr/lib/libmimetic.so.0.0.0 usr/lib/debug/usr/lib
index 3511f2c8452f521589a5d06de62b260435d03604..e6537c639bfe4671a24ef7b6d3adb3eef3818c22 100755 (executable)
@@ -101,12 +101,12 @@ binary-arch: build install
 #      dh_installinfo
 #      dh_installman
        dh_link
-       dh_strip
+       dh_strip --dbg-package=libmimetic0-dbg
        dh_compress -Xexamples
        dh_fixperms
 #      dh_perl
 #      dh_python
-       dh_makeshlibs
+       dh_makeshlibs -Xdebug
        dh_installdeb
        dh_shlibdeps
        dh_gencontrol