]> git.pld-linux.org Git - packages/OpenAL.git/blobdiff - OpenAL.spec
- lib64 fix
[packages/OpenAL.git] / OpenAL.spec
index 0e25e9ce7625c33abbc7f4abef5f7679c2c9c41c..01ab627a290edb07afafb371170584eb1458ef27 100644 (file)
@@ -5,26 +5,26 @@
 %bcond_without doc     # don't build HTML documentation (from SGML source)
 %bcond_without esd     # without esd support
 %bcond_with    mmx     # use MMX (makes sense on i[56]86 with MMX; won't run on non-MMX CPU)
+                       # Currently broken.
 #
 # TODO:
 # - remove zip BR?
 #
-%ifarch athlon pentium3 pentium4 amd64
-%define                with_mmx        1
-%endif
+
+%define        _branch Linux_Spec1-0
 
 Summary:       Open Audio Library
 Summary(pl):   Otwarta Biblioteka D¼wiêku
 Name:          OpenAL
-Version:       0.0.7
-%define        snap    20040416
+Version:       0.0.8
+%define        snap    20051015
 Release:       0.%{snap}.1
 License:       LGPL
 Group:         Libraries
 # from CVS :pserver:guest@opensource.creative.com:/usr/local/cvs-repository /openal
 # (without all Win and Mac stuff and demos)
-Source0:       %{name}-linuxonly-%{snap}.tar.bz2
-# Source0-md5: 4f42f20484858452bfc30caa8976415d
+Source0:       %{name}-%{_branch}-%{snap}.tar.bz2
+# Source0-md5: 013a571cf588bec1d3a5628b5ed527ea
 Patch0:                %{name}-prefix.patch
 Patch1:                %{name}-info.patch
 URL:           http://www.openal.org/
@@ -86,11 +86,11 @@ OpenAL static library.
 Biblioteka OpenAL do konsolidacji statycznej.
 
 %prep
-%setup -q -n openal
+%setup -q -n %{name}-%{_branch}-%{snap}
 %patch0 -p1
 %patch1 -p1
 
-echo 'AC_DEFUN([AC_HAS_MMX],[$%{?with_mmx:1}%{!?with_mmx:2}])' >> linux/acinclude.m4
+cp CREDITS docs
 
 %build
 cd linux
@@ -99,11 +99,9 @@ cp -f /usr/share/automake/config.sub .
 %{__autoconf}
 %{__autoheader}
 %configure \
-       %{!?debug:--enable-optimization} \
-       %{?with_mmx:--enable-arch-asm} \
        %{?with_alsa:--enable-alsa --enable-alsa-dlopen} \
-       %{?with_arts:--enable-arts} \
-       %{?with_esd:--enable-esd} \
+       %{?with_arts:--enable-arts --enable-arts-dlopen} \
+       %{?with_esd:--enable-esd --enable-esd-dlopen} \
        --enable-sdl \
        --enable-vorbis \
        --enable-smpeg \
@@ -112,7 +110,7 @@ cp -f /usr/share/automake/config.sub .
 
 %{__make}
 
-cd ../docs
+cd ../docs/spec1-0
 %{?with_doc:%{__make} full-html}
 
 %install
@@ -120,6 +118,7 @@ rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_infodir}
 
 %{__make} -C linux install \
+       DESTLIB='$(DESTDIR)%{_libdir}' \
        DESTDIR=$RPM_BUILD_ROOT
 
 install linux/doc/openal.info $RPM_BUILD_ROOT%{_infodir}
@@ -143,8 +142,10 @@ rm -rf $RPM_BUILD_ROOT
 
 %files devel
 %defattr(644,root,root,755)
-%doc linux/doc/LOKI* %{?with_doc:docs/oalspecs-full}
+%doc linux/doc/LOKI* %{?with_doc:docs/spec1-0/oalspecs-full docs/spec1-1/OpenAL1-1Spec.pdf}
 %attr(755,root,root) %{_libdir}/lib*.so
+%attr(755,root,root) %{_bindir}/*-config
+%{_pkgconfigdir}/*
 %{_includedir}/AL
 %{_infodir}/openal.info*
 
This page took 0.035996 seconds and 4 git commands to generate.