[xiph-cvs] cvs commit: vorbis-python/debian README.Debian changelog control copyright rules vorbis-python.dirs vorbis-python.docs vorbis-python.postinst vorbis-python.postrm vorbis-python.preinst vorbis-python.prerm

Chris Cheney calc at xiph.org
Sun Feb 18 22:34:58 PST 2001



calc        01/02/18 22:34:58

  Added:       debian   README.Debian changelog control copyright rules
                        vorbis-python.dirs vorbis-python.docs
                        vorbis-python.postinst vorbis-python.postrm
                        vorbis-python.preinst vorbis-python.prerm
  Log:
  Debian packaging for vorbis-python added

Revision  Changes    Path
1.1                  vorbis-python/debian/README.Debian

Index: README.Debian
===================================================================
vorbis-python for Debian
------------------------

Nothing important to mention at this time.

 -- Christopher L Cheney <ccheney at debian.org>, Sun, 18 Feb 2001 23:52:09 -0600

1.1                  vorbis-python/debian/changelog

Index: changelog
===================================================================
vorbis-python (0.2-1) unstable; urgency=low

  * Initial Release.

 -- Christopher L Cheney <ccheney at debian.org>  Sun, 18 Feb 2001 23:52:09 -0600

Local variables:
mode: debian-changelog
End:

1.1                  vorbis-python/debian/control

Index: control
===================================================================
Source: vorbis-python
Section: interpreters
Priority: optional
Maintainer: Christopher L Cheney <ccheney at debian.org>
Build-Depends: debhelper (>> 2.0.0), libvorbis-dev (>> 1.0beta4), ogg-python (>> 0.2), python-base, python-distutils
Standards-Version: 3.5.1.0

Package: vorbis-python
Architecture: any
Depends: ${shlibs:Depends}
Description: A Python interface to the Ogg Vorbis library
 This module makes the libvorbis (Ogg Vorbis) functions available
 in Python. With this module you can write Python applications
 that use the ogg vorbis library.

1.1                  vorbis-python/debian/copyright

Index: copyright
===================================================================
This package was debianized by Christopher L Cheney <ccheney at debian.org> on
Sun, 18 Feb 2001 23:52:09 -0600.

It was downloaded from http://www.xiph.org/ogg/vorbis/download/

Upstream Author(s): Andrew Chatham <andrew.chatham at duke.edu>

Copyright:

You are free to distribute this software under the terms of the GNU
General Public License.  On Debian systems, the complete text of the
GNU General Public License can be found in
/usr/share/common-licenses/GPL file.

1.1                  vorbis-python/debian/rules

Index: rules
===================================================================
#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

# This is the debhelper compatability version to use.
export DH_COMPAT=2

configure: configure-stamp
configure-stamp:
        dh_testdir

        python config_unix.py --prefix /usr
        python setup.py config

        touch configure-stamp

build: configure-stamp build-stamp
build-stamp:
        dh_testdir

        python setup.py build

        touch build-stamp

clean:
        dh_testdir
        dh_testroot
        rm -f build-stamp configure-stamp

        -python setup.py clean --all

        dh_clean

install: build
        dh_testdir
        dh_testroot
        dh_clean -k
        dh_installdirs

        python setup.py install --prefix $(CURDIR)/debian/vorbis-python/usr

# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.

# Build architecture-dependent files here.
binary-arch: build install
        dh_testversion 2
        dh_testdir
        dh_testroot
#	dh_installdebconf	
        dh_installdocs
        dh_installexamples
#	dh_installmenu
#	dh_installemacsen
#	dh_installpam
#	dh_installinit
#	dh_installcron
#	dh_installmanpages
#	dh_installinfo
#	dh_undocumented
        dh_installchangelogs ChangeLog
        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
        dh_builddeb

binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure

1.1                  vorbis-python/debian/vorbis-python.dirs

Index: vorbis-python.dirs
===================================================================
usr/lib

1.1                  vorbis-python/debian/vorbis-python.docs

Index: vorbis-python.docs
===================================================================
NEWS
README

1.1                  vorbis-python/debian/vorbis-python.postinst

Index: vorbis-python.postinst
===================================================================
#! /bin/sh
# postinst script for vorbis-python
#
# see: dh_installdeb(1)

et -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

1.1                  vorbis-python/debian/vorbis-python.postrm

Index: vorbis-python.postrm
===================================================================
#! /bin/sh
# postrm script for vorbis-python
#
# see: dh_installdeb(1)

et -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#

1.1                  vorbis-python/debian/vorbis-python.preinst

Index: vorbis-python.preinst
===================================================================
#! /bin/sh
# preinst script for vorbis-python
#
# see: dh_installdeb(1)

et -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-python.pid  \
#                --exec /usr/sbin/vorbis-python 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

1.1                  vorbis-python/debian/vorbis-python.prerm

Index: vorbis-python.prerm
===================================================================
#! /bin/sh
# prerm script for vorbis-python
#
# see: dh_installdeb(1)

et -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-python.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

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list