## This file is part of the YAZ toolkit.
## Copyright (C) 1994-2005, Index Data, All rights reserved.
-## $Id: Makefile.am,v 1.32 2006-03-30 16:30:25 adam Exp $
+## $Id: Makefile.am,v 1.33 2006-04-21 12:54:36 marc Exp $
AUTOMAKE_OPTIONS = foreign
cp $(srcdir)/debian/control $(distdir)/debian
cp $(srcdir)/debian/changelog $(distdir)/debian
cp $(srcdir)/debian/rules $(distdir)/debian
- cp $(srcdir)/debian/postinst $(distdir)/debian
- cp $(srcdir)/debian/compat $(distdir)/debian
+ cp $(srcdir)/debian/*.postinst $(distdir)/debian
cp $(srcdir)/debian/*.install $(distdir)/debian
Source: yaz
-Standards-Version: 3.6.1
+Section: devel
+Standards-Version: 3.6.2
Maintainer: Adam Dickmeiss <adam@indexdata.dk>
Priority: extra
-Build-Depends: debhelper, libxml2-dev, libssl-dev, libreadline5-dev, libwrap0-dev
+Build-Depends: debhelper (>= 4), libxml2-dev, libssl-dev, libreadline5-dev, libwrap0-dev
-Package: libyaz
+Package: libyaz2
Section: libs
Architecture: any
-Depends: ${shlibs:Depends}
-Replaces: yaz-runtime, yaz-ssl
-Conflicts: yaz-runtime, yaz-ssl, idzebra (<= 1.3.4-2), php4-yaz (<= 4.1.2-5)
+Depends: ${shlibs:Depends}, ${misc: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
ANSI Z39.50/ISO23950 standard for information retrieval.
Package: yaz
Section: utils
Architecture: any
-Depends: ${shlibs:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}
Conflicts: yaz-runtime, yaz-ssl
Description: The YAZ Z39.50 toolkit (utilities)
YAZ is a toolkit that allows you to develop software using the
This packages includes documentation for YAZ in HTML and PDF.
Package: libyaz-dev
-Depends: libyaz (= ${Source-Version}), libxml2-dev, libwrap0-dev, libssl-dev
+Depends: libyaz2 (= ${Source-Version}), libxml2-dev, libwrap0-dev, libssl-dev
Replaces: yaz-devel
Conflicts: yaz-devel
Section: devel
+++ /dev/null
-debian/tmp/usr/lib/lib*.so.*
-debian/tmp/usr/share/man/man7/yaz.7
--- /dev/null
+debian/tmp/usr/lib/lib*.so.*
+debian/tmp/usr/share/man/man7/yaz.7
--- /dev/null
+#! /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#
+++ /dev/null
-#!/bin/bash
-# Postinst script for YAZ
-ldconfig
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+# Force compat level four
+export DH_COMPAT=4
# These are used for cross-compiling and for saving the configure script
# from having to guess our platform (since we know it already)
INSTALL_PROGRAM += -s
endif
-# shared library versions, option 1
-version=2.0.5
-major=2
-# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so
-#version=`ls src/.libs/lib*.so.* | \
-# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
-#major=`ls src/.libs/lib*.so.* | \
-# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
config.status: configure
dh_testdir
dh_fixperms
# dh_perl
# dh_python
- dh_makeshlibs -V 'libyaz (>= 2.1.17)'
+ dh_makeshlibs -V 'libyaz2 (>= 2.1.18)'
dh_installdeb
dh_shlibdeps -l debian/libyaz/usr/lib
dh_gencontrol
## This file is part of the YAZ toolkit.
## Copyright (C) 1994-2006, Index Data, All rights reserved.
-## $Id: Makefile.am,v 1.31 2006-04-20 08:24:31 adam Exp $
+## $Id: Makefile.am,v 1.32 2006-04-21 12:54:36 marc Exp $
-YAZ_VERSION_INFO=2:0:0
+YAZ_VERSION_INFO=2:1:0
lib_LTLIBRARIES = libyaz.la libyazthread.la
# noinst_PROGRAMS = cqlparse