5 # arch/i386/x86_floatmul.c:86:74: warning: use of C99 long long integer constant
6 # arch/i386/x86_floatmul.c:89:74: warning: use of C99 long long integer constant
7 # arch/i386/x86_floatmul.c: In function `_alFloatMul':
8 #arch/i386/x86_floatmul.c:86: internal compiler error: in ix86_expand_binop_builtin, at config/i386/i386.c:13246
9 # Please submit a full bug report,
11 # - autoconf provides undefined macro....
13 %bcond_without alsa # without ALSA support
14 %bcond_with arts # with aRts support
15 %bcond_without doc # don't build HTML documentation (from SGML source)
16 %bcond_without esd # without esd support
17 %bcond_with mmx # use MMX (makes sense on i[56]86 with MMX; won't run on non-MMX CPU)
19 %define _branch Linux_Spec1-0
21 Summary: Open Audio Library
22 Summary(pl): Otwarta Biblioteka D¼wiêku
28 Source0: http://www.openal.org/openal_webstf/downloads/openal-%{version}.tar.gz
29 # Source0-md5: 641cf53761f35ee979f3e888614797a0
30 #Patch0: %{name}-prefix.patch
31 #Patch1: %{name}-info.patch
32 URL: http://www.openal.org/
33 BuildRequires: SDL-devel
34 %{?with_alsa:BuildRequires: alsa-lib-devel}
35 %{?with_arts:BuildRequires: artsc-devel}
36 BuildRequires: autoconf
37 BuildRequires: automake
38 %{?with_doc:BuildRequires: docbook-utils}
39 %{?with_esd:BuildRequires: esound-devel}
40 %{?with_doc:BuildRequires: gnome-doc-tools}
41 BuildRequires: libvorbis-devel
42 %{?with_mmx:BuildRequires: nasm}
43 BuildRequires: smpeg-devel
44 BuildRequires: texinfo
45 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
48 OpenAL, the Open Audio Library, is a joint effort to create an open,
49 vendor-neutral, cross-platform API for interactive, primarily
50 spatialized audio. OpenAL's primary audience are application
51 developers and desktop users that rely on portable standards like
52 OpenGL, for games and other multimedia applications. OpenAL is already
53 supported by a number of hardware vendors and developers.
56 OpenAL, otwarta biblioteka d¼wiêku, to po³±czony wysi³ek w celu
57 stworzenia otwartego, niezale¿nego od producentów, miêdzyplatformowego
58 interfejsu projektowania aplikacji w czê¶ci obs³ugi d¼wiêku.
59 Biblioteka adresowana jest do twórców aplikacji i u¿ytkowników,
60 którzy wybieraj± przeno¶ne standardy, jak OpenGL, w grach i
61 aplikacjach multimedialnych. OpenAL posiada ju¿ wsparcie wielu
62 dostarczycieli sprzêtu i programistów.
65 Summary: Headers for OpenAL
66 Summary(pl): Pliki nag³ówkowe do OpenAL
67 Group: Development/Libraries
68 Requires: %{name} = %{version}-%{release}
71 Header files for OpenAL-based programs.
73 %description devel -l pl
74 Pliki nag³ówkowe potrzebne przy budowaniu programów opartych na
78 Summary: OpenAL static library
79 Summary(pl): Statyczna biblioteka OpenAL
80 Group: Development/Libraries
81 Requires: %{name}-devel = %{version}-%{release}
84 OpenAL static library.
86 %description static -l pl
87 Biblioteka OpenAL do konsolidacji statycznej.
90 %setup -q -n openal-%{version}
95 cp -f /usr/share/automake/config.sub .
100 %{?with_alsa:--enable-alsa --enable-alsa-dlopen} \
101 %{?with_arts:--enable-arts --enable-arts-dlopen} \
102 %{?with_esd:--enable-esd --enable-esd-dlopen} \
112 %{?with_doc:%{__make} full-html}
115 rm -rf $RPM_BUILD_ROOT
116 install -d $RPM_BUILD_ROOT%{_infodir}
118 %{__make} -C linux install \
119 DESTLIB='$(DESTDIR)%{_libdir}' \
120 DESTDIR=$RPM_BUILD_ROOT
122 install linux/doc/openal.info $RPM_BUILD_ROOT%{_infodir}
125 rm -rf $RPM_BUILD_ROOT
127 %post -p /sbin/ldconfig
128 %postun -p /sbin/ldconfig
131 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
134 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
137 %defattr(644,root,root,755)
138 %doc linux/{CREDITS,ChangeLog,NOTES,TODO}
139 %attr(755,root,root) %{_libdir}/lib*.so.*.*
142 %defattr(644,root,root,755)
143 %doc linux/doc/LOKI* %{?with_doc:docs/spec1-0/oalspecs-full docs/spec1-1/OpenAL1-1Spec.pdf}
144 %attr(755,root,root) %{_libdir}/lib*.so
145 %attr(755,root,root) %{_bindir}/*-config
148 %{_infodir}/openal.info*
151 %defattr(644,root,root,755)