6857225
Name:		openal-soft
6857225
Version:	1.8.466
f38fa18
Release:	7%{?dist}
6857225
Summary:	Open Audio Library
6857225
6857225
Group:		System Environment/Libraries
6857225
License:	LGPLv2+
6857225
URL:		http://kcat.strangesoft.net/openal.html
6857225
Source0:	http://kcat.strangesoft.net/openal-releases/openal-soft-%{version}.tar.bz2
6857225
Patch1:		openal-soft.patch
a351d5a
Patch2:		upstream.patch
6857225
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
6857225
6857225
BuildRequires:	alsa-lib-devel
6857225
BuildRequires:	pulseaudio-libs-devel
6857225
BuildRequires:	portaudio-devel
6857225
BuildRequires:	cmake
6857225
Obsoletes: 	openal <= 0.0.10
6857225
Provides: 	openal = %{version}
6857225
6857225
%description
6857225
OpenAL Soft is a cross-platform software implementation of the OpenAL 3D
6857225
audio API. It's built off of the open-sourced Windows version available
6857225
originally from the SVN repository at openal.org. OpenAL provides
6857225
capabilities for playing audio in a virtual 3d environment. Distance
6857225
attenuation, doppler shift, and directional sound emitters are among
6857225
the features handled by the API. More advanced effects, including air
6857225
absorption, low-pass filters, and reverb, are available through the
6857225
EFX extension. It also facilitates streaming audio, multi-channel buffers,
6857225
and audio capture.
6857225
6857225
%package	devel
6857225
Summary:	Development files for %{name}
6857225
Group:		Development/Libraries
6857225
Requires:	%{name} = %{version}-%{release}
6857225
Obsoletes: 	openal-devel <= 0.0.10
6857225
Provides: 	openal-devel = %{version}
6857225
6857225
%description	devel
6857225
The %{name}-devel package contains libraries and header files for
6857225
developing applications that use %{name}.
6857225
6857225
%prep
6857225
%setup -q
6857225
%patch1 -p0 -b .orig
a351d5a
%patch2 -p0 -b .orig
6857225
6857225
%build
6857225
%cmake .
6857225
make %{?_smp_mflags}
6857225
6857225
%install
6857225
rm -rf $RPM_BUILD_ROOT
6857225
make install DESTDIR=$RPM_BUILD_ROOT
6857225
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
6857225
6857225
%clean
6857225
rm -rf $RPM_BUILD_ROOT
6857225
6857225
%post -p /sbin/ldconfig
6857225
6857225
%postun -p /sbin/ldconfig
6857225
6857225
%files
6857225
%defattr(-,root,root,-)
6857225
%doc COPYING
6857225
%{_bindir}/openal-info
6857225
%{_libdir}/libopenal.so.*
6857225
6857225
%files devel
6857225
%defattr(-,root,root,-)
6857225
%{_includedir}/*
6857225
%{_libdir}/libopenal.so
6857225
%{_libdir}/pkgconfig/openal.pc
6857225
6857225
%changelog
f38fa18
* Sun Aug 16 2009 Thomas Kowaliczek <linuxdonald@linuxdonald.de> - 1.8.466-7
f38fa18
- Fixed bug 517721. Added upstream.patch
f38fa18
6857225
* Sat Aug 08 2009 Thomas Kowaliczek <linuxdonald@linuxdonald.de> - 1.8.466-6
6857225
- Fixed license and pkgconfig problem thx goes to Christoph Wickert
6857225
6857225
* Wed Aug 05 2009 Thomas Kowaliczek <linuxdonald@linuxdonald.de> - 1.8.466-5
6857225
- Fixed Obsoletes: and Provides: sections
6857225
6857225
* Tue Aug 04 2009 Thomas Kowaliczek <linuxdonald@linuxdonald.de> - 1.8.466-4
6857225
- Added Obsoletes: openal <= 0.0.9 and remove Conflicts: openal-devel
6857225
6857225
* Fri Jun 26 2009 Thomas Kowaliczek <linuxdonald@linuxdonald.de> - 1.8.466-3
6857225
- Fixed all warnings of rpmlint
6857225
6857225
* Fri Jun 20 2009 Thomas Kowaliczek <linuxdonald@linuxdonald.de> - 1.8.466-2
6857225
- Updatet the SPEC and SRPM file because openal-soft-devel conflicts with
6857225
openal-devel
6857225
6857225
* Fri Jun 20 2009 Thomas Kowaliczek <linuxdonald@linuxdonald.de> - 1.8.466-1
6857225
- Initial release for Fedora