summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Moffitt <jack@xiph.org>2000-09-07 01:25:44 +0000
committerJack Moffitt <jack@xiph.org>2000-09-07 01:25:44 +0000
commit0f82e05368dddbcb9605358b6483ad5314fde6f6 (patch)
treea74e15f2c5b6b1745f8732367915f687214a9f3a
parent29532e3c89b0d25a62ec9de613e647ccab2eaaa4 (diff)
downloadlibvorbis-git-0f82e05368dddbcb9605358b6483ad5314fde6f6.tar.gz
start of release engineering update
svn path=/branches/branch_jackoggsvorbis/vorbis/; revision=659
-rw-r--r--Makefile.am13
-rwxr-xr-xautogen.sh47
-rw-r--r--configure.in5
-rw-r--r--libvorbis.spec73
4 files changed, 134 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 00000000..55efd1de
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,13 @@
+## Process this file with automake to produce Makefile.in
+
+AUTOMAKE_OPTIONS = foreign dist-zip
+
+SUBDIRS = lib include doc
+
+EXTRA_DIST = README COPYING todo.txt libvorbis.spec
+
+debug:
+ $(MAKE) all CFLAGS="@DEBUG@"
+
+profile:
+ $(MAKE) all CFLAGS="@PROFILE@"
diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 00000000..1e6fa11a
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,47 @@
+#!/bin/sh
+# Run this to generate all the initial makefiles, etc.
+# (basically ripped directly from enlightenment's autogen.sh)
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+cd "$srcdir"
+DIE=0
+
+(autoconf --version) < /dev/null > /dev/null 2>&1 || {
+ echo
+ echo "You must have autoconf installed to compile libvorbis."
+ echo "Download the appropriate package for your distribution,"
+ echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
+ DIE=1
+}
+
+(automake --version) < /dev/null > /dev/null 2>&1 || {
+ echo
+ echo "You must have automake installed to compile libvorbis."
+ echo "Get ftp://ftp.gnu.org/pub/gnu/automake-1.3.tar.gz"
+ echo "(or a newer version if it is available)"
+ DIE=1
+}
+
+if test "$DIE" -eq 1; then
+ exit 1
+fi
+
+if test -z "$*"; then
+ echo "I am going to run ./configure with no arguments - if you wish "
+ echo "to pass any to it, please specify them on the $0 command line."
+fi
+
+echo "Generating configuration files for libvorbis, please wait...."
+
+echo " aclocal $ACLOCAL_FLAGS"
+aclocal $ACLOCAL_FLAGS
+echo " autoheader"
+autoheader
+echo " automake --add-missing"
+automake --add-missing
+echo " autoconf"
+autoconf
+
+$srcdir/configure "$@" && echo
diff --git a/configure.in b/configure.in
index 47964bcc..49fec81b 100644
--- a/configure.in
+++ b/configure.in
@@ -1,13 +1,10 @@
-# $Id: configure.in,v 1.20.2.3.2.1 2000/09/03 08:34:51 jack Exp $
+# $Id: configure.in,v 1.20.2.3.2.2 2000/09/07 01:25:44 jack Exp $
AC_INIT(lib/mdct.c)
dnl Do some additional argument setup
AC_ARG_WITH(ogg, [ --with-ogg=DIR Set where the Ogg library is located])
-cp configure.guess config.guess
-cp configure.sub config.sub
-
AC_CANONICAL_HOST
dnl If we're on IRIX, we wanna use cc even if gcc is there (unless the user
diff --git a/libvorbis.spec b/libvorbis.spec
new file mode 100644
index 00000000..9c528e35
--- /dev/null
+++ b/libvorbis.spec
@@ -0,0 +1,73 @@
+Summary: The OGG Vorbis lossy audio compression codec.
+Name: vorbis
+Version: 0.0
+Release: 1
+Copyright: GPL
+Group: Development/Libraries
+Source: http://www.xiph.org/vorbis/download/%{name}-%{version}.src.tgz
+Url: http://www.xiph.org/vorbis/index.html
+BuildRoot: /var/tmp/vorbis-root
+
+%description
+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+ bit, polyphonic) audio and music at fixed and variable bitrates
+from 16 to 128 kbps/channel. This places Vorbis in the same class as
+audio representations including MPEG-1 audio layer 3, MPEG-4
+audio (AAC and TwinVQ), and PAC.
+
+%package devel
+Copyright: LGPL
+Summary: Development library for OGG Vorbis
+Group: Development/Libraries
+
+%description devel
+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+ bit, polyphonic) audio and music at fixed and variable bitrates
+from 16 to 128 kbps/channel. This places Vorbis in the same class as
+audio representations including MPEG-1 audio layer 3, MPEG-4
+audio (AAC and TwinVQ), and PAC.
+
+%prep
+%setup -q
+
+%build
+rm -rf $RPM_BUILD_ROOT
+CFLAGS="${RPM_OPT_FLAGS}" ./configure --prefix=/usr
+make
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT/usr/include/vorbis
+install -d $RPM_BUILD_ROOT/usr/include/vorbis/book
+install -d $RPM_BUILD_ROOT/usr/lib
+install -d $RPM_BUILD_ROOT/usr/bin
+install -m 0755 lib/libvorbis.a $RPM_BUILD_ROOT/usr/lib/
+install -m 0755 lib/vorbisfile.a $RPM_BUILD_ROOT/usr/lib/
+install -m 0644 include/vorbis/*.h $RPM_BUILD_ROOT/usr/include/vorbis/
+install -m 0644 include/vorbis/book/*.vqh $RPM_BUILD_ROOT/usr/include/vorbis/book/
+install -m 0755 -s huff/{residuesplit,huffbuild} $RPM_BUILD_ROOT/usr/bin
+install -m 0755 -s vq/{genericvqtrain,lspvqtrain,residuevqtrain,\
+vqbuild,vqcascade,vqmetrics,vqpartition} \
+ $RPM_BUILD_ROOT/usr/bin/
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root)
+
+%doc README
+/usr/bin/*
+
+%files devel
+%defattr(-,root,root)
+%doc README docs/*.{png,html}
+/usr/include/vorbis/*
+/usr/lib/*
+
+%changelog
+* Sat Apr 29 2000 Peter Jones <pjones@redhat.com>
+- first pass.