* 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 38b425bf05e19254d5db3cadfcd2f527941a44c5..21c846e42a2a476e92c332795a2c95be50bfba3e 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 eecc641fbdf25e50b214d1eeef6077ac03283c8f..75df14fa0cf46096dd2cfd99cc31e4beb427ae88 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 2b08c9fa990fdada52a1f011e307fe6c0bbac57b..1ded2f88cc5e28769ebb459db1086eb735d24da3 100644 (file)
@@ -1,5 +1,6 @@
 #!/bin/sh
 set -e
-
-ldconfig
+if [ "$1" = "configure" ]; then
+  ldconfig
+fi
 #DEBHELPER#
index 90f269bd0623a22b1eb25f023615f02ec6576f80..ca694bd7079ca634e0a407c6cd8efe4226b3f4a4 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)