[xiph-cvs] cvs commit: ogg/debian README.Debian changelog control copyright libogg-dev.dirs libogg-dev.docs libogg-dev.files libogg-dev.postinst libogg-dev.postrm libogg-dev.preinst libogg-dev.prerm libogg.dirs libogg.docs libogg.files libogg.postinst libogg.postrm libogg.preinst libogg.prerm rules

Chris Cheney calc at xiph.org
Mon Nov 6 20:45:08 PST 2000



calc        00/11/06 20:45:08

  Added:       debian   README.Debian changelog control copyright
                        libogg-dev.dirs libogg-dev.docs libogg-dev.files
                        libogg-dev.postinst libogg-dev.postrm
                        libogg-dev.preinst libogg-dev.prerm libogg.dirs
                        libogg.docs libogg.files libogg.postinst
                        libogg.postrm libogg.preinst libogg.prerm rules
  Log:
  Added Debian packaging files

Revision  Changes    Path
1.1                  ogg/debian/README.Debian

Index: README.Debian
===================================================================
ogg for Debian
--------------

<possible notes regarding this package - if none, delete this file>

 -- Chris Cheney <ccheney at debian.org>, Sun, 29 Oct 2000 01:11:57 -0500

1.1                  ogg/debian/changelog

Index: changelog
===================================================================
ogg (1.0beta3-1) unstable; urgency=low

  * Initial Release.

 -- Chris Cheney <ccheney at debian.org>  Sun, 29 Oct 2000 01:11:57 -0500

Local variables:
mode: debian-changelog
add-log-mailing-address "ccheney at debian.org"
End:

1.1                  ogg/debian/control

Index: control
===================================================================
Source: ogg
Section: devel
Priority: optional
Maintainer: Chris Cheney <ccheney at debian.org>
Build-Depends: debhelper
Standards-Version: 3.1.1

Package: libogg-dev
Architecture: any
Depends: libogg (= ${Source-Version}), libc6-dev
Description: Ogg Bitstream Library Development
 Libogg is a library for manipulating ogg bitstreams.  It handles
 both making ogg bitstreams and getting packets from ogg bitstreams.

Package: libogg
Architecture: any
Depends: ${shlibs:Depends}
Description: Ogg Bitstream Library
 The libogg-dev package contains the header files and documentation
 needed to develop applications with libogg.

1.1                  ogg/debian/copyright

Index: copyright
===================================================================
This package was debianized by Chris Cheney <ccheney at debian.org> on
Sun, 29 Oct 2000 01:11:57 -0500.

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

Upstream Author(s): Monty <monty at xiph.org>

Copyright:

THE Ogg SOURCE CODE IS (C) COPYRIGHT 1994-2000 by
Monty <monty at xiph.org> and The XIPHOPHORUS Company.

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

1.1                  ogg/debian/libogg-dev.dirs

Index: libogg-dev.dirs
===================================================================
usr/lib
usr/include

1.1                  ogg/debian/libogg-dev.docs

Index: libogg-dev.docs
===================================================================
README
doc/index.html
doc/framing.html
doc/oggstream.html
doc/stream.png
doc/white-ogg.png
doc/white-xifish.png

1.1                  ogg/debian/libogg-dev.files

Index: libogg-dev.files
===================================================================
usr/bin/ogg-config
usr/include/ogg/*.h
usr/lib/*.a
usr/lib/*.la
usr/lib/*.so
usr/share/aclocal/ogg.m4

1.1                  ogg/debian/libogg-dev.postinst

Index: libogg-dev.postinst
===================================================================
#! /bin/sh
# postinst script for libogg
#
# 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                  ogg/debian/libogg-dev.postrm

Index: libogg-dev.postrm
===================================================================
#! /bin/sh
# postrm script for libogg
#
# 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                  ogg/debian/libogg-dev.preinst

Index: libogg-dev.preinst
===================================================================
#! /bin/sh
# preinst script for libogg
#
# 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/libogg.pid  \
#                --exec /usr/sbin/libogg 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                  ogg/debian/libogg-dev.prerm

Index: libogg-dev.prerm
===================================================================
#! /bin/sh
# prerm script for libogg
#
# 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/libogg.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

1.1                  ogg/debian/libogg.dirs

Index: libogg.dirs
===================================================================
usr/lib
usr/include

1.1                  ogg/debian/libogg.docs

Index: libogg.docs
===================================================================
README

1.1                  ogg/debian/libogg.files

Index: libogg.files
===================================================================
usr/lib/*.so.*

1.1                  ogg/debian/libogg.postinst

Index: libogg.postinst
===================================================================
#! /bin/sh
# postinst script for libogg
#
# 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)
        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

1.1                  ogg/debian/libogg.postrm

Index: libogg.postrm
===================================================================
#! /bin/sh
# postrm script for libogg
#
# 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                  ogg/debian/libogg.preinst

Index: libogg.preinst
===================================================================
#! /bin/sh
# preinst script for libogg
#
# 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/libogg.pid  \
#                --exec /usr/sbin/libogg 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                  ogg/debian/libogg.prerm

Index: libogg.prerm
===================================================================
#! /bin/sh
# prerm script for libogg
#
# 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/libogg.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

1.1                  ogg/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
        # Add here commands to configure the package.

        ./autogen.sh --prefix=/usr	

        touch configure-stamp

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

        # Add here commands to compile the package.
        $(MAKE)

        touch build-stamp

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

        # Add here commands to clean up after the build process.
        -$(MAKE) clean

        dh_clean

install: build
        dh_testdir
        dh_testroot
        dh_clean -k
        dh_installdirs

        # Add here commands to install the package into debian/tmp.
        $(MAKE) install DESTDIR=`pwd`/debian/tmp

# 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
        dh_testdir
        dh_testroot
        #
        # build liblibogg${major} package by moving files from libogg-dev
        #
#	dh_movefiles -pliblibogg$(major)             \
#	usr/lib/liblibogg.so.$(major)        \
#	usr/lib/liblibogg.so.$(version)

        dh_movefiles

#	dh_installdebconf	
        dh_installdocs
        dh_installexamples
#	dh_installmenu
#	dh_installemacsen
#	dh_installpam
#	dh_installinit
#	dh_installcron
        dh_installmanpages
#	dh_installinfo
#	dh_undocumented
        dh_installchangelogs CHANGES
        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

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