SPECS (DEVEL): OpenAL.spec - yesterdays snapshot from HEAD - ault ...
sparky
sparky at pld-linux.org
Sun Oct 16 00:53:44 CEST 2005
Author: sparky Date: Sat Oct 15 22:53:44 2005 GMT
Module: SPECS Tag: DEVEL
---- Log message:
- yesterdays snapshot from HEAD
- ault is now prepared in separate stage and it is separated library
- builds and works, bud packages using it neads patching
- mmx works too
---- Files affected:
SPECS:
OpenAL.spec (1.39 -> 1.39.2.1)
---- Diffs:
================================================================
Index: SPECS/OpenAL.spec
diff -u SPECS/OpenAL.spec:1.39 SPECS/OpenAL.spec:1.39.2.1
--- SPECS/OpenAL.spec:1.39 Sun Oct 16 00:18:37 2005
+++ SPECS/OpenAL.spec Sun Oct 16 00:53:39 2005
@@ -12,20 +12,24 @@
# - remove zip BR?
#
-%define _branch Linux_Spec1-0
+%ifarch athlon pentium3 pentium4 %{x8664}
+%define with_mmx 1
+%endif
+
+%define _branch HEAD
Summary: Open Audio Library
Summary(pl): Otwarta Biblioteka Dźwięku
Name: OpenAL
Version: 0.0.8
%define snap 20051015
-Release: 0.%{snap}.1
+Release: 1.%{snap}.0.1
License: LGPL
Group: Libraries
# from CVS :pserver:guest at opensource.creative.com:/usr/local/cvs-repository /openal
# (without all Win and Mac stuff and demos)
Source0: %{name}-%{_branch}-%{snap}.tar.bz2
-# Source0-md5: 013a571cf588bec1d3a5628b5ed527ea
+# Source0-md5: 5de4bd2aac9afb54079de0b6b0f54c71
Patch0: %{name}-prefix.patch
Patch1: %{name}-info.patch
URL: http://www.openal.org/
@@ -39,6 +43,7 @@
%{?with_doc:BuildRequires: gnome-doc-tools}
BuildRequires: libvorbis-devel
%{?with_mmx:BuildRequires: nasm}
+BuildRequires: sed >= 4.0
BuildRequires: smpeg-devel
BuildRequires: texinfo
BuildRequires: zip
@@ -92,14 +97,18 @@
%patch1 -p1
cp CREDITS docs
+sed -i 's/$have_mmx/%{?with_mmx:yes}%{!?with_mmx:no}/' linux/configure.ac
+sed -i 's/ examples test_suite//' alut/Makefile.am
%build
+BDIR=`pwd`
cd linux
cp -f /usr/share/automake/config.sub .
%{__aclocal}
%{__autoconf}
%{__autoheader}
%configure \
+ %{?with_mmx:--enable-arch-asm} \
%{?with_alsa:--enable-alsa --enable-alsa-dlopen} \
%{?with_arts:--enable-arts --enable-arts-dlopen} \
%{?with_esd:--enable-esd --enable-esd-dlopen} \
@@ -111,6 +120,18 @@
%{__make}
+cd ../alut
+%{__libtoolize}
+%{__aclocal} -I admin/m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+CPPFLAGS="-I${BDIR}/include"
+LDFLAGS="-L${BDIR}/linux/src"
+export CPPFLAGS LDFLAGS
+%configure
+%{__make}
+
cd ../docs/spec1-0
%{?with_doc:%{__make} full-html}
@@ -121,6 +142,9 @@
%{__make} -C linux install \
DESTDIR=$RPM_BUILD_ROOT
+%{__make} -C alut install \
+ DESTDIR=$RPM_BUILD_ROOT
+
install linux/doc/openal.info $RPM_BUILD_ROOT%{_infodir}
%clean
@@ -137,8 +161,8 @@
%files
%defattr(644,root,root,755)
-%doc linux/{CREDITS,ChangeLog,NOTES,TODO}
-%attr(755,root,root) %{_libdir}/lib*.so.*.*
+%doc linux/{ChangeLog,NOTES,TODO}
+%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
%files devel
%defattr(644,root,root,755)
@@ -148,6 +172,7 @@
%{_pkgconfigdir}/*
%{_includedir}/AL
%{_infodir}/openal.info*
+%{_libdir}/lib*.la
%files static
%defattr(644,root,root,755)
@@ -159,6 +184,12 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.39.2.1 2005/10/15 22:53:39 sparky
+- yesterdays snapshot from HEAD
+- ault is now prepared in separate stage and it is separated library
+- builds and works, bud packages using it neads patching
+- mmx works too
+
Revision 1.39 2005/10/15 22:18:37 sparky
- updated to todays snapshot from Linux_Spec1-0 branch, nothing but
documentation files is changing on this branch
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/OpenAL.spec?r1=1.39&r2=1.39.2.1&f=u
More information about the pld-cvs-commit
mailing list