Updated Debian package libvorbis0 package name
authorcalc <calc@xiph.org>
Thu, 9 Nov 2000 22:23:18 +0000 (22:23 +0000)
committercalc <calc@xiph.org>
Thu, 9 Nov 2000 22:23:18 +0000 (22:23 +0000)
svn path=/trunk/vorbis/; revision=1048

17 files changed:
debian/control
debian/libvorbis0-dev.dirs [new file with mode: 0644]
debian/libvorbis0-dev.docs [new file with mode: 0644]
debian/libvorbis0-dev.examples [new file with mode: 0644]
debian/libvorbis0-dev.files [new file with mode: 0644]
debian/libvorbis0-dev.postinst [new file with mode: 0644]
debian/libvorbis0-dev.postrm [new file with mode: 0644]
debian/libvorbis0-dev.preinst [new file with mode: 0644]
debian/libvorbis0-dev.prerm [new file with mode: 0644]
debian/libvorbis0.dirs [new file with mode: 0644]
debian/libvorbis0.docs [new file with mode: 0644]
debian/libvorbis0.files [new file with mode: 0644]
debian/libvorbis0.postinst [new file with mode: 0644]
debian/libvorbis0.postrm [new file with mode: 0644]
debian/libvorbis0.preinst [new file with mode: 0644]
debian/libvorbis0.prerm [new file with mode: 0644]
debian/rules

index 1c4c1fa..f45d54b 100644 (file)
@@ -5,9 +5,9 @@ Maintainer: Christopher L Cheney <ccheney@debian.org>
 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 (file)
index 0000000..4418816
--- /dev/null
@@ -0,0 +1,2 @@
+usr/lib
+usr/include
diff --git a/debian/libvorbis0-dev.docs b/debian/libvorbis0-dev.docs
new file mode 100644 (file)
index 0000000..8a59c8f
--- /dev/null
@@ -0,0 +1,2 @@
+README
+todo.txt
diff --git a/debian/libvorbis0-dev.examples b/debian/libvorbis0-dev.examples
new file mode 100644 (file)
index 0000000..2ebd4e7
--- /dev/null
@@ -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 (file)
index 0000000..dbbf15c
--- /dev/null
@@ -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 (file)
index 0000000..917a439
--- /dev/null
@@ -0,0 +1,47 @@
+#! /bin/sh
+# postinst script for vorbis
+#
+# 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/libvorbis0-dev.postrm b/debian/libvorbis0-dev.postrm
new file mode 100644 (file)
index 0000000..39ffcaf
--- /dev/null
@@ -0,0 +1,36 @@
+#! /bin/sh
+# postrm script for vorbis
+#
+# 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/libvorbis0-dev.preinst b/debian/libvorbis0-dev.preinst
new file mode 100644 (file)
index 0000000..0f118a0
--- /dev/null
@@ -0,0 +1,42 @@
+#! /bin/sh
+# preinst script for vorbis
+#
+# 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/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 (file)
index 0000000..5983c0b
--- /dev/null
@@ -0,0 +1,37 @@
+#! /bin/sh
+# prerm script for vorbis
+#
+# 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/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 (file)
index 0000000..4418816
--- /dev/null
@@ -0,0 +1,2 @@
+usr/lib
+usr/include
diff --git a/debian/libvorbis0.docs b/debian/libvorbis0.docs
new file mode 100644 (file)
index 0000000..de19688
--- /dev/null
@@ -0,0 +1,3 @@
+README
+todo.txt
+todo.txt
diff --git a/debian/libvorbis0.files b/debian/libvorbis0.files
new file mode 100644 (file)
index 0000000..093956b
--- /dev/null
@@ -0,0 +1 @@
+usr/lib/*.so.*
diff --git a/debian/libvorbis0.postinst b/debian/libvorbis0.postinst
new file mode 100644 (file)
index 0000000..f4ac576
--- /dev/null
@@ -0,0 +1,47 @@
+#! /bin/sh
+# postinst script for vorbis
+#
+# 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/libvorbis0.postrm b/debian/libvorbis0.postrm
new file mode 100644 (file)
index 0000000..39ffcaf
--- /dev/null
@@ -0,0 +1,36 @@
+#! /bin/sh
+# postrm script for vorbis
+#
+# 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/libvorbis0.preinst b/debian/libvorbis0.preinst
new file mode 100644 (file)
index 0000000..0f118a0
--- /dev/null
@@ -0,0 +1,42 @@
+#! /bin/sh
+# preinst script for vorbis
+#
+# 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/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 (file)
index 0000000..5983c0b
--- /dev/null
@@ -0,0 +1,37 @@
+#! /bin/sh
+# prerm script for vorbis
+#
+# 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/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
+
+
index a552063..2a95103 100755 (executable)
@@ -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