Back to Debian package libyaz (from libyaz2 experiment)
authorAdam Dickmeiss <adam@indexdata.dk>
Fri, 21 Apr 2006 13:50:26 +0000 (13:50 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Fri, 21 Apr 2006 13:50:26 +0000 (13:50 +0000)
debian/control
debian/libyaz.install [new file with mode: 0644]
debian/libyaz.postinst [new file with mode: 0755]
debian/libyaz2.install [deleted file]
debian/libyaz2.postinst [deleted file]
debian/rules

index 35257d7..4e4710e 100644 (file)
@@ -5,12 +5,10 @@ Maintainer: Adam Dickmeiss <adam@indexdata.dk>
 Priority: extra
 Build-Depends: debhelper (>= 4), libxml2-dev, libssl-dev, libreadline5-dev, libwrap0-dev
 
-Package: libyaz2
+Package: libyaz
 Section: libs
 Architecture: any
 Depends: ${shlibs:Depends}
-Provides: libyaz
-Replaces: libyaz
 Conflicts: idzebra (<= 1.3.4-2), php4-yaz (<= 4.1.2-5)
 Description: The YAZ Z39.50 toolkit (runtime files)
  YAZ is a toolkit that allows you to develop software using the
@@ -39,7 +37,7 @@ Description: The YAZ Z39.50 toolkit (documentation)
  This packages includes documentation for YAZ in HTML and PDF.
 
 Package: libyaz-dev
-Depends: libyaz2 (= ${Source-Version}), libxml2-dev, libwrap0-dev, libssl-dev
+Depends: libyaz (= ${Source-Version}), libxml2-dev, libwrap0-dev, libssl-dev
 Replaces: yaz-devel
 Conflicts: yaz-devel
 Section: devel
diff --git a/debian/libyaz.install b/debian/libyaz.install
new file mode 100644 (file)
index 0000000..4da001b
--- /dev/null
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/lib*.so.*
+debian/tmp/usr/share/man/man7/yaz.7
diff --git a/debian/libyaz.postinst b/debian/libyaz.postinst
new file mode 100755 (executable)
index 0000000..ee8321c
--- /dev/null
@@ -0,0 +1,45 @@
+#! /bin/sh
+# postinst script for tklite
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+#
+# quoting from the policy:
+#     Any necessary prompting should almost always be confined to the
+#     post-installation script, and should be protected with a conditional
+#     so that unnecessary prompting doesn't happen if a package's
+#     installation fails and the `postinst' is called with `abort-upgrade',
+#     `abort-remove' or `abort-deconfigure'.
+
+case "$1" in
+    configure)
+        ldconfig
+        exit 0
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+        exit 0
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
diff --git a/debian/libyaz2.install b/debian/libyaz2.install
deleted file mode 100644 (file)
index 4da001b..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-debian/tmp/usr/lib/lib*.so.*
-debian/tmp/usr/share/man/man7/yaz.7
diff --git a/debian/libyaz2.postinst b/debian/libyaz2.postinst
deleted file mode 100755 (executable)
index ee8321c..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-#! /bin/sh
-# postinst script for tklite
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-#        * <postinst> `configure' <most-recently-configured-version>
-#        * <old-postinst> `abort-upgrade' <new version>
-#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-#          <new-version>
-#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-#          <failed-install-package> <version> `removing'
-#          <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-#
-# quoting from the policy:
-#     Any necessary prompting should almost always be confined to the
-#     post-installation script, and should be protected with a conditional
-#     so that unnecessary prompting doesn't happen if a package's
-#     installation fails and the `postinst' is called with `abort-upgrade',
-#     `abort-remove' or `abort-deconfigure'.
-
-case "$1" in
-    configure)
-        ldconfig
-        exit 0
-    ;;
-
-    abort-upgrade|abort-remove|abort-deconfigure)
-        exit 0
-    ;;
-
-    *)
-        echo "postinst called with unknown argument \`$1'" >&2
-        exit 1
-    ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
index 3b8c2c6..6f00984 100755 (executable)
@@ -98,7 +98,7 @@ binary-arch: build install
        dh_fixperms
 #      dh_perl
 #      dh_python
-       dh_makeshlibs -V 'libyaz2 (>= 2.1.18)'
+       dh_makeshlibs -V 'libyaz (>= 2.1.18)'
        dh_installdeb
        dh_shlibdeps  -l debian/libyaz/usr/lib
        dh_gencontrol