[vorbis-dev] libvorbis make and spec fixes

Daniel Resare noa at metamatrix.se
Sat Jul 13 09:39:09 PDT 2002


I had to change the following to get the 'make distcheck' to work and to be
able to build the rpms with 'rpm-build -tb *.tar.gz'

I also added a test in libvorbis configure.in to detect older ogg versions
(check for oggpack_writealign) and print a meaningful error.

I also updated the .spec-file with dependencies on libogg-1.0

Thanks for great work everyone!
/noa


-- 
begin:vcard fn:Daniel Resare tel;cell:+46739442044 tel;work:+468332040
adr;work:Scheelegatan 36; 112 28; Stockholm; Sweden end:vcard
pgp fingerprint: 8D97 F297 CA0D 8751 D8EB  12B6 6EA6 727F 9B8D EC2A


-------------- next part --------------
Index: configure.in
===================================================================
RCS file: /usr/local/cvsroot/vorbis/configure.in,v
retrieving revision 1.61
diff -u -r1.61 configure.in
--- configure.in	2002/07/11 22:15:07	1.61
+++ configure.in	2002/07/13 16:33:25
@@ -164,6 +164,7 @@
 AC_CHECK_LIB(pthread, pthread_create, pthread_lib="-lpthread", :)
 
 XIPH_PATH_OGG(, AC_MSG_ERROR(must have Ogg installed!))
+AC_CHECK_LIB(ogg, oggpack_writealign,,AC_MSG_ERROR(You need at least Ogg 1.0))
 
 dnl --------------------------------------------------
 dnl Check for library functions
Index: libvorbis.spec
===================================================================
RCS file: /usr/local/cvsroot/vorbis/libvorbis.spec,v
retrieving revision 1.18
diff -u -r1.18 libvorbis.spec
--- libvorbis.spec	2002/07/11 14:16:05	1.18
+++ libvorbis.spec	2002/07/13 16:33:25
@@ -6,14 +6,15 @@
 Name:		%{name}
 Version:	%{version}
 Release:	%{release}
-Group:		Libraries/Multimedia
-Copyright:	BSD
+Group:		System Environment/Libraries
+License:	BSD
 URL:		http://www.xiph.org/
 Vendor:		Xiph.org Foundation <team at xiph.org>
 Source:		ftp://ftp.xiph.org/pub/ogg/vorbis/%{name}-%{version}.tar.gz
 BuildRoot:	%{_tmppath}/%{name}-root
-Requires:	libogg >= 1.0rc3
+Requires:	libogg >= 1.0
 Prefix:		%{_prefix}
+BuildRequires:  libogg-devel
 
 %description
 Ogg Vorbis is a fully open, non-proprietary, patent-and-royalty-free,
@@ -23,7 +24,7 @@
 %package devel
 Summary: 	Vorbis Library Development
 Group: 		Development/Libraries
-Requires:	libogg-devel >= 1.0rc3
+Requires:	libogg-devel >= 1.0
 Requires:	libvorbis = %{version}
 
 %description devel
@@ -81,8 +82,14 @@
 /sbin/ldconfig
 
 %changelog
+* Sat Jul 13 2002 Daniel Resare <noa at resare.com>
+- Updated to release 1.0
+- Changed copyright -> license
+- Switched to standard Group
+
 * Sat May 25 2002 Michael Smith <msmith at icecast.org>
 - Fixed requires, copyright string.
+
 * Sun Dec 31 2001 Jack Moffitt <jack at xiph.org>
 - Updated for rc3 release.
 
Index: lib/books/coupled/Makefile.am
===================================================================
RCS file: /usr/local/cvsroot/vorbis/lib/books/coupled/Makefile.am,v
retrieving revision 1.2
diff -u -r1.2 Makefile.am
--- lib/books/coupled/Makefile.am	2002/06/28 22:19:44	1.2
+++ lib/books/coupled/Makefile.am	2002/07/13 16:33:25
@@ -2,4 +2,4 @@
 
 AUTOMAKE_OPTIONS = foreign
 
-EXTRA_DIST = res_books_44c.h
\ No newline at end of file
+EXTRA_DIST = res_books_stereo.h
Index: lib/books/uncoupled/Makefile.am
===================================================================
RCS file: /usr/local/cvsroot/vorbis/lib/books/uncoupled/Makefile.am,v
retrieving revision 1.3
diff -u -r1.3 Makefile.am
--- lib/books/uncoupled/Makefile.am	2002/07/03 21:30:05	1.3
+++ lib/books/uncoupled/Makefile.am	2002/07/13 16:33:25
@@ -2,4 +2,4 @@
 
 AUTOMAKE_OPTIONS = foreign
 
-EXTRA_DIST = res_books_44u.h
+EXTRA_DIST = res_books_uncoupled.h



More information about the Vorbis-dev mailing list