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/*.postinst $(distdir)/debian
cp $(srcdir)/debian/*.install $(distdir)/debian
+ cp $(srcdir)/debian/*.manpages $(distdir)/debian
+yazproxy (1.0.1.4-1) unstable; urgency=low
+
+ * Depends on libyazpp1, Build-Depends: libyazpp-dev.
+ * Generate package libyazproxy1, libyazproxy-dev, yazproxy.
+ * Move usr/share files from libyazproxy1 to yazproxy.
+ * Move compat spec to rules.
+ * postinst for libyazproxy1 only.
+ * Move man pages to .manpages-files.
+
+ -- Adam Dickmeiss <adam@indexdata.dk> Tue, 25 Apr 2006 22:10:49 +0200
+
yazproxy (1.0.1-1) unstable; urgency=low
* Upstream.
Priority: optional
Maintainer: Adam Dickmeiss <adam@indexdata.dk>
Standards-Version: 3.6.0
-Build-Depends: debhelper (>= 4.0.0), docbook-utils, docbook, docbook-xml, docbook-dsssl, jade, jadetex,libxml2-dev, libxslt1-dev, libyaz-dev (>= 2.0.9), libyazpp1-dev(>= 1.0)
+Build-Depends: debhelper (>= 4.0.0), docbook-utils, docbook, docbook-xml, docbook-dsssl, jade, jadetex,libxml2-dev, libxslt1-dev, libyaz-dev (>= 2.1.18), libyazpp-dev(>= 1.0)
Package: yazproxy
Section: utils
Architecture: any
-Depends: libyazproxy (= ${Source-Version})
+Depends: libyazproxy1 (= ${Source-Version})
Description: YAZ Proxy.
YAZ proxy is a daemon that accepts Z39.50/SRW/SRU incoming requests and
converts them to Z39.50 client requests. The proxy has several facilities
to optimize performance and tries to reduce the commnication with the
backend server.
-Package: libyazproxy
+Package: libyazproxy1
Section: libs
Architecture: any
Depends: ${shlibs:Depends}, libyazpp1 (>= 1.0)
Package: libyazproxy-dev
Section: devel
Architecture: any
-Depends: libyazproxy (= ${Source-Version}), libxml2-dev, libxslt1-dev, libyazpp1-dev, libyaz-dev
+Depends: libyazproxy1 (= ${Source-Version}), libxml2-dev, libxslt1-dev, libyazpp-dev, libyaz-dev
Description: YAZ Proxy development libraries.
YAZ proxy is a daemon that accepts Z39.50/SRW/SRU incoming requests and
converts them to Z39.50 client requests. The proxy has several facilities
debian/tmp/usr/include/yazproxy/*.h
debian/tmp/usr/lib/libyazproxy*.a
-debian/tmp/usr/lib/libyazproyx*.so
+debian/tmp/usr/lib/libyazproxy*.so
debian/tmp/usr/lib/libyazproxy*.la
+++ /dev/null
-debian/tmp/usr/lib/libyazproxy*.so.*
-debian/tmp/usr/share/yazproxy/*
--- /dev/null
+debian/tmp/usr/lib/libyazproxy*.so.*
--- /dev/null
+#! /bin/sh
+# postinst script
+#
+# 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 yazproxy
-ldconfig
dh_fixperms
# dh_perl
# dh_python
- dh_makeshlibs -V 'libyazproxy (>= 0.9)'
+ dh_makeshlibs -V 'libyazproxy1 (>= 1.0)'
dh_installdeb
- dh_shlibdeps -l debian/libyazproxy/usr/lib
+ dh_shlibdeps -l debian/libyazproxy1/usr/lib
dh_gencontrol
dh_md5sums
dh_builddeb
debian/tmp/usr/bin/yazproxy
-debian/tmp/usr/share/man/man8/yazproxy.8
+debian/tmp/usr/share/yazproxy/*
--- /dev/null
+debian/tmp/usr/share/man/man8/yazproxy.8