From ae8fe03ecbed9c7ebb32edcd6adcad80d3b9d1d1 Mon Sep 17 00:00:00 2001 From: Jonathan McCrohan Date: Mon, 2 Apr 2012 02:12:58 +0100 Subject: Create -doc package to allow multiarch -dev package Documentation pdf is not multiarchable. --- debian/changelog | 2 +- debian/control | 18 ++++++++++++++++++ debian/libconfig-dev.doc-base | 9 --------- debian/libconfig-dev.docs | 1 - debian/libconfig-doc.doc-base | 9 +++++++++ debian/libconfig-doc.docs | 1 + 6 files changed, 29 insertions(+), 11 deletions(-) delete mode 100644 debian/libconfig-dev.doc-base delete mode 100644 debian/libconfig-dev.docs create mode 100644 debian/libconfig-doc.doc-base create mode 100644 debian/libconfig-doc.docs diff --git a/debian/changelog b/debian/changelog index 1ad5ad6..08a5e84 100644 --- a/debian/changelog +++ b/debian/changelog @@ -8,7 +8,7 @@ libconfig (1.4.8-4) unstable; urgency=low - Remove package descriptions * Add Multiarch support - -- Jonathan McCrohan Sun, 25 Mar 2012 20:55:45 +0100 + -- Jonathan McCrohan Fri, 06 Apr 2012 14:28:39 +0100 libconfig (1.4.8-3) unstable; urgency=low diff --git a/debian/control b/debian/control index 95b8058..db3cf36 100644 --- a/debian/control +++ b/debian/control @@ -43,6 +43,7 @@ Architecture: any Replaces: libconfig8-dev (<< 1.4.8) Breaks: libconfig8-dev (<< 1.4.8) Depends: libconfig9 (= ${binary:Version}), pkg-config (>= 0.20), ${misc:Depends} +Recommends: libconfig-doc Multi-Arch: same Description: parsing and manipulation of structured config files(development) This library features a fully reentrant parser and includes bindings for @@ -140,3 +141,20 @@ Description: parsing and manipulation of structured config files(C++ debug symbo files. . This package provides debugging information for the libconfig++ library. + +Package: libconfig-doc +Section: doc +Architecture: all +Replaces: libconfig-dev (<= 1.4.8) +Breaks: libconfig-dev (<= 1.4.8) +Depends: ${misc:Depends} +Description: parsing and manipulation of structured config files(Documentation) + This library features a fully reentrant parser and includes bindings for + both the C and C++ programming languages. It runs on modern POSIX-compliant + systems such as Linux, Solaris, and Mac OS X (Darwin), as well as on + Microsoft Windows 2000/XP and later (Visual Studio or MinGW). + . + This library allows parsing, manipulating and writing structured configuration + files. + . + This package provides documentation for the libconfig library. diff --git a/debian/libconfig-dev.doc-base b/debian/libconfig-dev.doc-base deleted file mode 100644 index 214fdfe..0000000 --- a/debian/libconfig-dev.doc-base +++ /dev/null @@ -1,9 +0,0 @@ -Document: libconfig9 -Title: libconfig manual -Author: Mark A Lindner -Abstract: This manual describes what libconfig is - and how it can be used to parse configuration files -Section: Programming/C - -Format: PDF -Files: /usr/share/doc/libconfig-dev/libconfig.pdf.gz diff --git a/debian/libconfig-dev.docs b/debian/libconfig-dev.docs deleted file mode 100644 index 49e707d..0000000 --- a/debian/libconfig-dev.docs +++ /dev/null @@ -1 +0,0 @@ -doc/libconfig.pdf diff --git a/debian/libconfig-doc.doc-base b/debian/libconfig-doc.doc-base new file mode 100644 index 0000000..281715e --- /dev/null +++ b/debian/libconfig-doc.doc-base @@ -0,0 +1,9 @@ +Document: libconfig9 +Title: libconfig manual +Author: Mark A Lindner +Abstract: This manual describes what libconfig is + and how it can be used to parse configuration files +Section: Programming/C + +Format: PDF +Files: /usr/share/doc/libconfig-doc/libconfig.pdf.gz diff --git a/debian/libconfig-doc.docs b/debian/libconfig-doc.docs new file mode 100644 index 0000000..49e707d --- /dev/null +++ b/debian/libconfig-doc.docs @@ -0,0 +1 @@ +doc/libconfig.pdf -- cgit v1.2.3