* Debian packaging reorganized to meet policy.
authorRichard Kreckel <Richard.Kreckel@uni-mainz.de>
Mon, 12 Nov 2001 14:38:49 +0000 (14:38 +0000)
committerRichard Kreckel <Richard.Kreckel@uni-mainz.de>
Mon, 12 Nov 2001 14:38:49 +0000 (14:38 +0000)
debian/changelog
debian/control
debian/ginac-dev.files [deleted file]
debian/ginac-dev.postinst [deleted file]
debian/ginac-dev.postrm [deleted file]
debian/postinst
debian/rules
debian/shlibs [new file with mode: 0644]

index 38b425b..21c846e 100644 (file)
@@ -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 <kreckel@ginac.de>  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 <kreckel@ginac.de>  Tue, 24 Apr 2001 17:40:15 +0200
-
-Local variables:
-mode: debian-changelog
-End:
index eecc641..75df14f 100644 (file)
@@ -3,9 +3,9 @@ Section: math
 Priority: optional
 Maintainer: Richard Kreckel <kreckel@ginac.de>
 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
  <http://www.ginac.de/> for detailed information about the GiNaC framework.
diff --git a/debian/ginac-dev.files b/debian/ginac-dev.files
deleted file mode 100644 (file)
index 066df4b..0000000
+++ /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 (file)
index 7f19909..0000000
+++ /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 (file)
index 665ea19..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-set -e
-install-info --quiet --remove /usr/share/info/ginac.info
-
-#DEBHELPER#
index 2b08c9f..1ded2f8 100644 (file)
@@ -1,5 +1,6 @@
 #!/bin/sh
 set -e
-
-ldconfig
+if [ "$1" = "configure" ]; then
+  ldconfig
+fi
 #DEBHELPER#
index 90f269b..ca694bd 100755 (executable)
@@ -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 (file)
index 0000000..6a0cdd0
--- /dev/null
@@ -0,0 +1 @@
+libginac-1.0   0       libginac0 (>= 1.0.0)