571c375
%global revision 3793919892e6d61e5fec3abeaaeebc3f2332be13
571c375
6857225
Name:		openal-soft
3dcc510
Version:	1.10.622
571c375
Release:	4%{?dist}
6857225
Summary:	Open Audio Library
6857225
6857225
Group:		System Environment/Libraries
6857225
License:	LGPLv2+
6857225
URL:		http://kcat.strangesoft.net/openal.html
571c375
#http://repo.or.cz/w/openal-soft.git?a=snapshot;h=%{revision};sf=tgz 
571c375
Source0:	openal-soft-%{revision}.tar.gz
6857225
Patch1:		openal-soft.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
82eeccb
%setup -q -n openal-soft
6857225
%patch1 -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
140065c
install -Dpm644 alsoftrc.sample %{buildroot}%{_sysconfdir}/openal/alsoft.conf
140065c
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.*
140065c
%dir %{_sysconfdir}/openal
140065c
%config(noreplace) %{_sysconfdir}/openal/alsoft.conf
6857225
6857225
%files devel
6857225
%defattr(-,root,root,-)
6857225
%{_includedir}/*
6857225
%{_libdir}/libopenal.so
6857225
%{_libdir}/pkgconfig/openal.pc
6857225
6857225
%changelog
571c375
* Mon Dec 28 2009 Thomas Kowaliczek <linuxdonald@linuxdonald.de> - 1.10.622-4.3793919892e6d61e5fec3abeaaeebc3f2332be13
571c375
- Fixed broken upgrade paths.
571c375
571c375
* Wed Nov 11 2009 Thomas Kowaliczek <linuxdonald@linuxdonald.de> - 1.10.622-3
571c375
- F12 and devel only release.
571c375
140065c
* Tue Nov 10 2009 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> - 1.10.622-2
140065c
- add default config
140065c
3dcc510
* Mon Nov 09 2009 Thomas Kowaliczek <linuxdonald@linuxdonald.de> - 1.10.622-1
3dcc510
- New upstream release
3dcc510
3785ba4
* Sat Nov 07 2009 Thomas Kowaliczek <linuxdonald@linuxdonald.de> - 1.9.563-2.c1b161b44bbf60420de2e1ba886e957d9fcd495e
0690d43
- Updatet to an newer git version because of some pulseaudio fixes.
0690d43
- I hope it fix bug 533501
0690d43
0690d43
* Fri Oct  09 2009 Hans de Goede <hdegoede@redhat.com> - 1.9.563-1.d6e439244ae00a1750f0dc8b249f47efb4967a23git
df28d1e
- Update to 1.9.563 + some fixes from git
df28d1e
- This fixes:
df28d1e
  - Not having any sound in chromium-bsu 
df28d1e
  - Various openal using programs hanging on exit
df28d1e
18096bd
* Fri Aug 21 2009 Thomas Kowaliczek <linuxdonald@linuxdonald.de> - 1.8.466-9.487f0dde7593144ceabd817306500465caf7602agit
18096bd
- Fixed version info
18096bd
70668d6
* Fri Aug 21 2009 Thomas Kowaliczek <linuxdonald@linuxdonald.de> - 1.8.466-8.487f0dde7593144ceabd817306500465caf7602agit
70668d6
- Fixed bug 517973
70668d6
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
0690d43
- Initial release for Fedora