From 5daac813375371d785b345e5e3a4f7bc81313709 Mon Sep 17 00:00:00 2001 From: calc Date: Thu, 9 Nov 2000 22:23:18 +0000 Subject: [PATCH] Updated Debian package libvorbis0 package name svn path=/trunk/vorbis/; revision=1048 --- debian/control | 6 +++--- debian/libvorbis0-dev.dirs | 2 ++ debian/libvorbis0-dev.docs | 2 ++ debian/libvorbis0-dev.examples | 5 +++++ debian/libvorbis0-dev.files | 6 ++++++ debian/libvorbis0-dev.postinst | 47 ++++++++++++++++++++++++++++++++++++++++++ debian/libvorbis0-dev.postrm | 36 ++++++++++++++++++++++++++++++++ debian/libvorbis0-dev.preinst | 42 +++++++++++++++++++++++++++++++++++++ debian/libvorbis0-dev.prerm | 37 +++++++++++++++++++++++++++++++++ debian/libvorbis0.dirs | 2 ++ debian/libvorbis0.docs | 3 +++ debian/libvorbis0.files | 1 + debian/libvorbis0.postinst | 47 ++++++++++++++++++++++++++++++++++++++++++ debian/libvorbis0.postrm | 36 ++++++++++++++++++++++++++++++++ debian/libvorbis0.preinst | 42 +++++++++++++++++++++++++++++++++++++ debian/libvorbis0.prerm | 37 +++++++++++++++++++++++++++++++++ debian/rules | 22 +++----------------- 17 files changed, 351 insertions(+), 22 deletions(-) create mode 100644 debian/libvorbis0-dev.dirs create mode 100644 debian/libvorbis0-dev.docs create mode 100644 debian/libvorbis0-dev.examples create mode 100644 debian/libvorbis0-dev.files create mode 100644 debian/libvorbis0-dev.postinst create mode 100644 debian/libvorbis0-dev.postrm create mode 100644 debian/libvorbis0-dev.preinst create mode 100644 debian/libvorbis0-dev.prerm create mode 100644 debian/libvorbis0.dirs create mode 100644 debian/libvorbis0.docs create mode 100644 debian/libvorbis0.files create mode 100644 debian/libvorbis0.postinst create mode 100644 debian/libvorbis0.postrm create mode 100644 debian/libvorbis0.preinst create mode 100644 debian/libvorbis0.prerm diff --git a/debian/control b/debian/control index 1c4c1fa..f45d54b 100644 --- a/debian/control +++ b/debian/control @@ -5,9 +5,9 @@ Maintainer: Christopher L Cheney Build-Depends: debhelper Standards-Version: 3.1.1 -Package: libvorbis-dev +Package: libvorbis0-dev Architecture: any -Depends: libvorbis (= ${Source-Version}), libc6-dev +Depends: libvorbis0 (= ${Source-Version}), libc6-dev Description: Development library for OGG Vorbis Ogg Vorbis is a fully Open, non-proprietary, patent-and-royalty-free, general-purpose compressed audio format for high quality (44.1-48.0kHz, @@ -16,7 +16,7 @@ Description: Development library for OGG Vorbis audio representations including MPEG-1 audio layer 3, MPEG-4 audio (AAC and TwinVQ), and PAC. -Package: libvorbis +Package: libvorbis0 Architecture: any Depends: ${shlibs:Depends} Description: The OGG Vorbis lossy audio compression codec. diff --git a/debian/libvorbis0-dev.dirs b/debian/libvorbis0-dev.dirs new file mode 100644 index 0000000..4418816 --- /dev/null +++ b/debian/libvorbis0-dev.dirs @@ -0,0 +1,2 @@ +usr/lib +usr/include diff --git a/debian/libvorbis0-dev.docs b/debian/libvorbis0-dev.docs new file mode 100644 index 0000000..8a59c8f --- /dev/null +++ b/debian/libvorbis0-dev.docs @@ -0,0 +1,2 @@ +README +todo.txt diff --git a/debian/libvorbis0-dev.examples b/debian/libvorbis0-dev.examples new file mode 100644 index 0000000..2ebd4e7 --- /dev/null +++ b/debian/libvorbis0-dev.examples @@ -0,0 +1,5 @@ +examples/chaining_example.c +examples/decoder_example.c +examples/encoder_example.c +examples/seeking_example.c +examples/vorbisfile_example.c diff --git a/debian/libvorbis0-dev.files b/debian/libvorbis0-dev.files new file mode 100644 index 0000000..dbbf15c --- /dev/null +++ b/debian/libvorbis0-dev.files @@ -0,0 +1,6 @@ +usr/include/vorbis/*.h +usr/include/vorbis/book/*.vqh +usr/lib/*.a +usr/lib/*.la +usr/lib/*.so +usr/share/aclocal/vorbis.m4 diff --git a/debian/libvorbis0-dev.postinst b/debian/libvorbis0-dev.postinst new file mode 100644 index 0000000..917a439 --- /dev/null +++ b/debian/libvorbis0-dev.postinst @@ -0,0 +1,47 @@ +#! /bin/sh +# postinst script for vorbis +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# 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/libvorbis0-dev.postrm b/debian/libvorbis0-dev.postrm new file mode 100644 index 0000000..39ffcaf --- /dev/null +++ b/debian/libvorbis0-dev.postrm @@ -0,0 +1,36 @@ +#! /bin/sh +# postrm script for vorbis +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' overwrit>r> +# 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/libvorbis0-dev.preinst b/debian/libvorbis0-dev.preinst new file mode 100644 index 0000000..0f118a0 --- /dev/null +++ b/debian/libvorbis0-dev.preinst @@ -0,0 +1,42 @@ +#! /bin/sh +# preinst script for vorbis +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `install' +# * `install' +# * `upgrade' +# * `abort-upgrade' +# +# 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/vorbis.pid \ +# --exec /usr/sbin/vorbis 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/libvorbis0-dev.prerm b/debian/libvorbis0-dev.prerm new file mode 100644 index 0000000..5983c0b --- /dev/null +++ b/debian/libvorbis0-dev.prerm @@ -0,0 +1,37 @@ +#! /bin/sh +# prerm script for vorbis +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see /usr/share/doc/packaging-manual/ + +case "$1" in + remove|upgrade|deconfigure) +# install-info --quiet --remove /usr/info/vorbis.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/libvorbis0.dirs b/debian/libvorbis0.dirs new file mode 100644 index 0000000..4418816 --- /dev/null +++ b/debian/libvorbis0.dirs @@ -0,0 +1,2 @@ +usr/lib +usr/include diff --git a/debian/libvorbis0.docs b/debian/libvorbis0.docs new file mode 100644 index 0000000..de19688 --- /dev/null +++ b/debian/libvorbis0.docs @@ -0,0 +1,3 @@ +README +todo.txt +todo.txt diff --git a/debian/libvorbis0.files b/debian/libvorbis0.files new file mode 100644 index 0000000..093956b --- /dev/null +++ b/debian/libvorbis0.files @@ -0,0 +1 @@ +usr/lib/*.so.* diff --git a/debian/libvorbis0.postinst b/debian/libvorbis0.postinst new file mode 100644 index 0000000..f4ac576 --- /dev/null +++ b/debian/libvorbis0.postinst @@ -0,0 +1,47 @@ +#! /bin/sh +# postinst script for vorbis +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# 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/libvorbis0.postrm b/debian/libvorbis0.postrm new file mode 100644 index 0000000..39ffcaf --- /dev/null +++ b/debian/libvorbis0.postrm @@ -0,0 +1,36 @@ +#! /bin/sh +# postrm script for vorbis +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' overwrit>r> +# 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/libvorbis0.preinst b/debian/libvorbis0.preinst new file mode 100644 index 0000000..0f118a0 --- /dev/null +++ b/debian/libvorbis0.preinst @@ -0,0 +1,42 @@ +#! /bin/sh +# preinst script for vorbis +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `install' +# * `install' +# * `upgrade' +# * `abort-upgrade' +# +# 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/vorbis.pid \ +# --exec /usr/sbin/vorbis 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/libvorbis0.prerm b/debian/libvorbis0.prerm new file mode 100644 index 0000000..5983c0b --- /dev/null +++ b/debian/libvorbis0.prerm @@ -0,0 +1,37 @@ +#! /bin/sh +# prerm script for vorbis +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see /usr/share/doc/packaging-manual/ + +case "$1" in + remove|upgrade|deconfigure) +# install-info --quiet --remove /usr/info/vorbis.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 a552063..2a95103 100755 --- a/debian/rules +++ b/debian/rules @@ -12,8 +12,9 @@ configure: configure-stamp configure-stamp: dh_testdir # Add here commands to configure the package. - - ./autogen.sh --prefix=/usr + + # If compiling cvs version change to ./autogen.sh --prefix=/usr + ./configure --prefix=/usr touch configure-stamp @@ -52,39 +53,22 @@ binary-indep: build install # Build architecture-dependent files here. binary-arch: build install -# dh_testversion dh_testdir dh_testroot - # - # build libvorbis${major} package by moving files from vorbis-dev - # -# dh_movefiles -plibvorbis$(major) \ -# usr/lib/libvorbis.so.$(major) \ -# usr/lib/libvorbis.so.$(version) dh_movefiles -# dh_installdebconf dh_installdocs doc/*.html doc/*.txt doc/*.png doc/vorbisfile/*.html dh_installexamples -# dh_installmenu -# dh_installemacsen -# dh_installpam -# dh_installinit -# dh_installcron dh_installmanpages -# dh_installinfo # dh_undocumented dh_installchangelogs dh_link dh_strip dh_compress dh_fixperms - # You may want to make some executables suid here. -# dh_suidregister dh_makeshlibs dh_installdeb -# dh_perl dh_shlibdeps dh_gencontrol dh_md5sums -- 2.7.4