From 91dc5170396860518ac517c03a80c12ecb4ad82c Mon Sep 17 00:00:00 2001 From: Richard Kreckel Date: Mon, 12 Nov 2001 14:38:49 +0000 Subject: [PATCH] * Debian packaging reorganized to meet policy. --- debian/changelog | 6 ++---- debian/control | 10 +++++----- debian/ginac-dev.files | 7 ------- debian/ginac-dev.postinst | 5 ----- debian/ginac-dev.postrm | 5 ----- debian/postinst | 5 +++-- debian/rules | 4 ++-- debian/shlibs | 1 + 8 files changed, 13 insertions(+), 30 deletions(-) delete mode 100644 debian/ginac-dev.files delete mode 100644 debian/ginac-dev.postinst delete mode 100644 debian/ginac-dev.postrm create mode 100644 debian/shlibs diff --git a/debian/changelog b/debian/changelog index 38b425bf..21c846e4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,8 @@ ginac (1.0.0-1) unstable; urgency=low * New upstream release. + * Renamed the library packages to libginac0 and libginac-dev to match + Debian policy. -- Richard Kreckel Tue, 6 Nov 2001 20:13:33 +0100 @@ -36,7 +38,3 @@ ginac (0.8.2-1) unstable; urgency=low * Initial Debian release. -- Richard Kreckel Tue, 24 Apr 2001 17:40:15 +0200 - -Local variables: -mode: debian-changelog -End: diff --git a/debian/control b/debian/control index eecc641f..75df14fa 100644 --- a/debian/control +++ b/debian/control @@ -3,9 +3,9 @@ Section: math Priority: optional Maintainer: Richard Kreckel Standards-Version: 3.1.1 -Build-Depends: debhelper, cln-dev (>=1.1.0), libgmp3-dev, libreadline4-dev, flex, bison +Build-Depends: debhelper, libcln-dev, libgmp3-dev, libreadline4-dev, flex, bison -Package: libginac +Package: libginac0 Architecture: any Section: libs Depends: libc6 @@ -21,7 +21,7 @@ Description: The GiNaC framework (runtime library) Package: libginac-dev Architecture: any Section: devel -Depends: libginac, libc6-dev, g++ (>=2.95.2), cln-dev (>=1.1.0) +Depends: libginac0 (= ${Source-Version}), libc6-dev, g++, libcln-dev Recommends: info | info-browser Suggests: ginac-tools Description: The GiNaC framework (development files) @@ -42,6 +42,6 @@ Description: Some tools for the GiNaC framework library for doing symbolic (i.e. non-numeric) computation directly in the C++ programming language. . - This package provides some additional tools, like the ginsh (GiNaC interactive - shell) and viewgar (for inspecting GiNaC archive files). See + This package provides some additional tools, like the popular ginsh (GiNaC + interactive shell) and viewgar (for inspecting GiNaC archive files). See for detailed information about the GiNaC framework. diff --git a/debian/ginac-dev.files b/debian/ginac-dev.files deleted file mode 100644 index 066df4b0..00000000 --- a/debian/ginac-dev.files +++ /dev/null @@ -1,7 +0,0 @@ -usr/lib/libginac.la -usr/lib/libginac.a -usr/lib/libginac.so -usr/include/ginac -usr/bin/ginac-config -usr/share/man/man1/ginac-config* -usr/share/info diff --git a/debian/ginac-dev.postinst b/debian/ginac-dev.postinst deleted file mode 100644 index 7f199096..00000000 --- a/debian/ginac-dev.postinst +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh -set -e -install-info --quiet --section Math Math -- /usr/share/info/ginac.info - -#DEBHELPER# diff --git a/debian/ginac-dev.postrm b/debian/ginac-dev.postrm deleted file mode 100644 index 665ea197..00000000 --- a/debian/ginac-dev.postrm +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh -set -e -install-info --quiet --remove /usr/share/info/ginac.info - -#DEBHELPER# diff --git a/debian/postinst b/debian/postinst index 2b08c9fa..1ded2f88 100644 --- a/debian/postinst +++ b/debian/postinst @@ -1,5 +1,6 @@ #!/bin/sh set -e - -ldconfig +if [ "$1" = "configure" ]; then + ldconfig +fi #DEBHELPER# diff --git a/debian/rules b/debian/rules index 90f269bd..ca694bd7 100755 --- a/debian/rules +++ b/debian/rules @@ -39,10 +39,10 @@ binary-arch: build dh_strip dh_compress dh_fixperms - dh_shlibdeps - dh_gencontrol dh_makeshlibs dh_installdeb + dh_shlibdeps + dh_gencontrol dh_md5sums dh_builddeb diff --git a/debian/shlibs b/debian/shlibs new file mode 100644 index 00000000..6a0cdd01 --- /dev/null +++ b/debian/shlibs @@ -0,0 +1 @@ +libginac-1.0 0 libginac0 (>= 1.0.0) -- 2.44.0