]> git.pld-linux.org Git - packages/OpenAL.git/blobdiff - OpenAL.spec
- updated to todays snapshot, NFY
[packages/OpenAL.git] / OpenAL.spec
index 29a78ec67fac7a7d2fe175ea97172797aade88b3..361f04d7ee717501f6dbe932356002e81e5a0d04 100644 (file)
@@ -4,6 +4,11 @@
 # _without_doc         - don't build HTML documentation (from SGML source)
 # _with_mmx            - use MMX (won't run on non-MMX CPU)
 #
+# TODO:
+# - remove zip bcond?
+# - check %{name}-acfix.patch if it's still nedded, sorry
+#   for the inconvenience, I'll do it if I can...
+#
 %ifarch athlon
 %define                _with_mmx       1
 %endif
@@ -14,18 +19,18 @@ Summary:    Open Audio Library
 Summary(pl):   Otwarta Biblioteka D¼wiêku
 Name:          OpenAL
 Version:       0.0.6
-Release:       1
+%define        snap    20030806
+Release:       1.%{snap}.0.9
 License:       LGPL
 Group:         Libraries
-Vendor:                Loki Entertainment Software - http://www.lokigames.com/
-# This is tarball taken directly form Mandrake Cooker .src.rpm
-Source0:       %{name}-linuxonly-20010805.tar.bz2
-# Those patches came from Mandrake Cooker (only changed names)
+# 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: 4a5202f6cba291ae0a9af59410bdda88
 Patch0:                %{name}-prefix.patch
-Patch1:                %{name}-build.patch
-Patch2:                %{name}-acfix.patch
-Patch3:                %{name}-info.patch
-URL:           http://www.openal.com/
+Patch1:                %{name}-acfix.patch
+Patch2:                %{name}-info.patch
+URL:           http://opensource.creative.com/
 BuildRequires: SDL-devel
 %{!?_without_alsa:BuildRequires:       alsa-lib-devel}
 BuildRequires: autoconf
@@ -36,6 +41,7 @@ BuildRequires:        libvorbis-devel
 %{?_with_mmx:BuildRequires:    nasm}
 BuildRequires: smpeg-devel
 BuildRequires: texinfo
+BuildRequires: zip
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -48,7 +54,7 @@ supported by a number of hardware vendors and developers.
 
 %description -l pl
 OpenAL, otwarta biblioteka d¼wiêku, to po³±czony wysi³ek w celu
-stworzenia otwartego, niezale¿nego od producentów, miedzyplatformowego
+stworzenia otwartego, niezale¿nego od producentów, miêdzyplatformowego
 interfejsu projektowania aplikacji w czê¶ci obs³ugi d¼wiêku.
 Biblioteka adresowana jest do twórców aplikacji i u¿ytkowników,
 którzy wybieraj± przeno¶ne standardy, jak OpenGL, w grach i
@@ -81,17 +87,15 @@ OpenAL static library.
 Biblioteka OpenAL do statycznego linkowania.
 
 %prep
-%setup -q -n tmp
+%setup -q -n openal
 %patch0 -p1
+#%%patch1 -p1
 %patch2 -p1
-%patch3 -p1
-cd openal
-%patch1 -p0
 
 echo 'AC_DEFUN([AC_HAS_MMX],[$%{?_with_mmx:1}%{!?_with_mmx:2}])' >> linux/acinclude.m4
 
 %build
-cd openal/linux
+cd linux
 %{__aclocal}
 %{__autoconf}
 %{__autoheader}
@@ -114,7 +118,7 @@ cd ../docs
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_infodir}
 
-cd openal/linux
+cd linux
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
@@ -134,12 +138,12 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc openal/linux/{CREDITS,ChangeLog,NOTES,TODO}
+%doc linux/{CREDITS,ChangeLog,NOTES,TODO}
 %attr(755,root,root) %{_libdir}/lib*.so.*.*
 
 %files devel
 %defattr(644,root,root,755)
-%doc openal/linux/doc/LOKI* %{!?_without_doc:openal/docs/oalspecs-full}
+%doc linux/doc/LOKI* %{!?_without_doc:docs/oalspecs-full}
 %attr(755,root,root) %{_libdir}/lib*.so
 %{_includedir}/AL
 %{_infodir}/openal.info*
This page took 0.036967 seconds and 4 git commands to generate.