diff --git a/debian/control b/debian/control index 9fbd7f883ceb165d3d2ec89b05b5806faa95d219..032e7fcc26ca4233586290324b7889b01ce9182b 100644 --- a/debian/control +++ b/debian/control @@ -5,16 +5,17 @@ Maintainer: Christopher L Cheney <ccheney@debian.org> Build-Depends: debhelper Standards-Version: 3.1.1 -Package: libao-dev +Package: libao0-dev Architecture: any -Depends: libao (= ${Source-Version}), libc6-dev +Depends: libao0 (= ${Source-Version}), libc6-dev Description: Cross Platform Audio Output Library Development The libao-devel package contains the header files and documentation needed to develop applications with libao. -Package: libao +Package: libao0 Architecture: any Depends: ${shlibs:Depends} +Suggests: libasound1 Description: Cross Platform Audio Output Library Libao is a cross platform audio output library. It currently supports ESD, OSS, Solaris, and IRIX. diff --git a/debian/libao0-dev.dirs b/debian/libao0-dev.dirs new file mode 100644 index 0000000000000000000000000000000000000000..7504337e6be66a5432f27a584e1a04a9390e304d --- /dev/null +++ b/debian/libao0-dev.dirs @@ -0,0 +1,4 @@ +usr/lib +usr/lib/ao +usr/include +usr/include/ao diff --git a/debian/libao0-dev.docs b/debian/libao0-dev.docs new file mode 100644 index 0000000000000000000000000000000000000000..3f6d8213b775cbcdef231631e059945ab8b8953a --- /dev/null +++ b/debian/libao0-dev.docs @@ -0,0 +1,6 @@ +README +TODO +doc/API +doc/DRIVERS +doc/USAGE +doc/WANTED diff --git a/debian/libao0-dev.files b/debian/libao0-dev.files new file mode 100644 index 0000000000000000000000000000000000000000..8efc8a108095718bcb0ca1741840849a6d9ba3fd --- /dev/null +++ b/debian/libao0-dev.files @@ -0,0 +1,5 @@ +usr/include/ao/*.h +usr/lib/*.so +usr/lib/*.la +usr/lib/ao/*.la +usr/share/aclocal/ao.m4 diff --git a/debian/libao0-dev.postinst b/debian/libao0-dev.postinst new file mode 100644 index 0000000000000000000000000000000000000000..3283283526c38909f38fd2deed3f25e1253c029f --- /dev/null +++ b/debian/libao0-dev.postinst @@ -0,0 +1,47 @@ +#! /bin/sh +# postinst script for libao +# +# 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 /usr/share/doc/packaging-manual/ +# +# 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) + + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/debian/libao0-dev.postrm b/debian/libao0-dev.postrm new file mode 100644 index 0000000000000000000000000000000000000000..dc09d2f951f8c94c3140859b3bd93be213392bf7 --- /dev/null +++ b/debian/libao0-dev.postrm @@ -0,0 +1,36 @@ +#! /bin/sh +# postrm script for libao +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <postrm> `remove' +# * <postrm> `purge' +# * <old-postrm> `upgrade' <new-version> +# * <new-postrm> `failed-upgrade' <old-version> +# * <new-postrm> `abort-install' +# * <new-postrm> `abort-install' <old-version> +# * <new-postrm> `abort-upgrade' <old-version> +# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version> +# for details, see /usr/share/doc/packaging-manual/ + +case "$1" in + purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 0 + +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + + diff --git a/debian/libao0-dev.preinst b/debian/libao0-dev.preinst new file mode 100644 index 0000000000000000000000000000000000000000..1e76e2640016e50f4cc21ee995029be009e2a3f3 --- /dev/null +++ b/debian/libao0-dev.preinst @@ -0,0 +1,42 @@ +#! /bin/sh +# preinst script for libao +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <new-preinst> `install' +# * <new-preinst> `install' <old-version> +# * <new-preinst> `upgrade' <old-version> +# * <old-preinst> `abort-upgrade' <new-version> +# +# For details see /usr/share/doc/packaging-manual/ + +case "$1" in + install|upgrade) +# if [ "$1" = "upgrade" ] +# then +# start-stop-daemon --stop --quiet --oknodo \ +# --pidfile /var/run/libao.pid \ +# --exec /usr/sbin/libao 2>/dev/null || true +# fi + ;; + + abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/debian/libao0-dev.prerm b/debian/libao0-dev.prerm new file mode 100644 index 0000000000000000000000000000000000000000..1f6bc691ff5ef8436e53a0fb24b3afcd2d5ce178 --- /dev/null +++ b/debian/libao0-dev.prerm @@ -0,0 +1,37 @@ +#! /bin/sh +# prerm script for libao +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <prerm> `remove' +# * <old-prerm> `upgrade' <new-version> +# * <new-prerm> `failed-upgrade' <old-version> +# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version> +# * <deconfigured's-prerm> `deconfigure' `in-favour' +# <package-being-installed> <version> `removing' +# <conflicting-package> <version> +# for details, see /usr/share/doc/packaging-manual/ + +case "$1" in + remove|upgrade|deconfigure) +# install-info --quiet --remove /usr/info/libao.info.gz + ;; + failed-upgrade) + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/debian/libao0-dev.undocumented b/debian/libao0-dev.undocumented new file mode 100644 index 0000000000000000000000000000000000000000..3fd7b70384063279ada11d0ad08ea5d9b082c2a0 --- /dev/null +++ b/debian/libao0-dev.undocumented @@ -0,0 +1 @@ +ao-config.1 diff --git a/debian/libao0.dirs b/debian/libao0.dirs new file mode 100644 index 0000000000000000000000000000000000000000..ca32fe894e713af784f72cff0e80562daad20c2e --- /dev/null +++ b/debian/libao0.dirs @@ -0,0 +1,2 @@ +usr/lib +usr/lib/ao diff --git a/debian/libao0.files b/debian/libao0.files new file mode 100644 index 0000000000000000000000000000000000000000..54ebcd2220bcbf54bbddd228b449a69e4baa5ec5 --- /dev/null +++ b/debian/libao0.files @@ -0,0 +1,2 @@ +usr/lib/*.so.* +usr/lib/ao/*.so diff --git a/debian/libao0.postinst b/debian/libao0.postinst new file mode 100644 index 0000000000000000000000000000000000000000..bc97dbee9d439c87aeed0c3c8a852706a5815ec4 --- /dev/null +++ b/debian/libao0.postinst @@ -0,0 +1,47 @@ +#! /bin/sh +# postinst script for libao +# +# 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 /usr/share/doc/packaging-manual/ +# +# 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 + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/debian/libao0.postrm b/debian/libao0.postrm new file mode 100644 index 0000000000000000000000000000000000000000..dc09d2f951f8c94c3140859b3bd93be213392bf7 --- /dev/null +++ b/debian/libao0.postrm @@ -0,0 +1,36 @@ +#! /bin/sh +# postrm script for libao +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <postrm> `remove' +# * <postrm> `purge' +# * <old-postrm> `upgrade' <new-version> +# * <new-postrm> `failed-upgrade' <old-version> +# * <new-postrm> `abort-install' +# * <new-postrm> `abort-install' <old-version> +# * <new-postrm> `abort-upgrade' <old-version> +# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version> +# for details, see /usr/share/doc/packaging-manual/ + +case "$1" in + purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 0 + +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + + diff --git a/debian/libao0.preinst b/debian/libao0.preinst new file mode 100644 index 0000000000000000000000000000000000000000..1e76e2640016e50f4cc21ee995029be009e2a3f3 --- /dev/null +++ b/debian/libao0.preinst @@ -0,0 +1,42 @@ +#! /bin/sh +# preinst script for libao +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <new-preinst> `install' +# * <new-preinst> `install' <old-version> +# * <new-preinst> `upgrade' <old-version> +# * <old-preinst> `abort-upgrade' <new-version> +# +# For details see /usr/share/doc/packaging-manual/ + +case "$1" in + install|upgrade) +# if [ "$1" = "upgrade" ] +# then +# start-stop-daemon --stop --quiet --oknodo \ +# --pidfile /var/run/libao.pid \ +# --exec /usr/sbin/libao 2>/dev/null || true +# fi + ;; + + abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/debian/libao0.prerm b/debian/libao0.prerm new file mode 100644 index 0000000000000000000000000000000000000000..1f6bc691ff5ef8436e53a0fb24b3afcd2d5ce178 --- /dev/null +++ b/debian/libao0.prerm @@ -0,0 +1,37 @@ +#! /bin/sh +# prerm script for libao +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <prerm> `remove' +# * <old-prerm> `upgrade' <new-version> +# * <new-prerm> `failed-upgrade' <old-version> +# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version> +# * <deconfigured's-prerm> `deconfigure' `in-favour' +# <package-being-installed> <version> `removing' +# <conflicting-package> <version> +# for details, see /usr/share/doc/packaging-manual/ + +case "$1" in + remove|upgrade|deconfigure) +# install-info --quiet --remove /usr/info/libao.info.gz + ;; + failed-upgrade) + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + diff --git a/debian/rules b/debian/rules index a3816950f5ea1b92fced71ac6e6500cfe6cc0980..67821c2860d1e640bb80f7f34aa21217f6512209 100755 --- a/debian/rules +++ b/debian/rules @@ -95,7 +95,7 @@ binary-arch: build install dh_makeshlibs dh_installdeb # dh_perl - dh_shlibdeps + dh_shlibdeps --exclude=/usr/lib/ao dh_gencontrol dh_md5sums dh_builddeb