2024-01-06 05:17:03 +01:00
|
|
|
Name: libopenal
|
2024-01-06 05:17:05 +01:00
|
|
|
Version: 1.20.1
|
2024-01-06 05:17:03 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Open Audio Library
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://www.openal.org/
|
|
|
|
Source0: http://kcat.strangesoft.net/openal-releases/openal-soft-%{version}.tar.bz2
|
|
|
|
#Source0: http://www.openal.org/openal_webstf/downloads/openal-%{version}.tar.gz
|
|
|
|
Source1: openalrc
|
|
|
|
Patch0: openal-conf.patch
|
|
|
|
Patch1: openal-etc_openalrc.patch
|
|
|
|
Patch2: openal-incl.patch
|
|
|
|
Patch3: %{name}-0.0.8-gcc42.patch
|
2024-01-06 05:17:05 +01:00
|
|
|
Patch4: libopenal-1.20.1-libSDL2-2.0.12.patch
|
2024-01-06 05:17:03 +01:00
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 05:17:05 +01:00
|
|
|
BuildRequires: ldconfig
|
|
|
|
BuildRequires: libSDL2-devel
|
|
|
|
BuildRequires: libSDL_sound-devel
|
|
|
|
BuildRequires: libatomic-devel
|
|
|
|
BuildRequires: libavcodec-ffmpeg-devel
|
|
|
|
BuildRequires: libavformat-ffmpeg-devel
|
|
|
|
BuildRequires: libavutil-ffmpeg-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libqt5-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libswresample-ffmpeg-devel
|
|
|
|
BuildRequires: libswscale-ffmpeg-devel
|
|
|
|
BuildRequires: libz-devel
|
2024-01-06 05:17:03 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: libalsa-devel
|
2024-01-06 05:17:05 +01:00
|
|
|
BuildRequires: libpulseaudio-devel
|
|
|
|
BuildRequires: libjack-devel
|
2024-01-06 05:17:03 +01:00
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: libesound-devel
|
|
|
|
BuildRequires: libogg-devel
|
|
|
|
BuildRequires: libvorbis-devel
|
|
|
|
BuildRequires: texinfo
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
Obsoletes: libopenal-test
|
|
|
|
|
|
|
|
%description
|
|
|
|
OpenAL is an audio library designed in the spirit of OpenGL - machine independent, cross platform, and data format neutral, with a clean, simple C-based API.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Static libraries and header files for openal library
|
2024-01-06 05:17:05 +01:00
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-06 05:17:03 +01:00
|
|
|
Group: Development/Libraries
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains static libraries and header files for the openal library.
|
|
|
|
|
|
|
|
OpenAL is an audio library designed in the spirit of OpenGL - machine independent, cross platform, and data format neutral, with a clean, simple C-based API.
|
|
|
|
|
2024-01-06 05:17:05 +01:00
|
|
|
%package -n openal
|
|
|
|
Summary: Tools provided with the openal library
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Group: Applications/Multimedia
|
|
|
|
|
|
|
|
%description -n openal
|
|
|
|
OpenAL is an audio library designed in the spirit of OpenGL - machine independent, cross platform, and data format neutral, with a clean, simple C-based API.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 05:17:03 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n openal-soft-%{version}
|
2024-01-06 05:17:05 +01:00
|
|
|
%patch4 -p1
|
2024-01-06 05:17:03 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-06 05:17:05 +01:00
|
|
|
%cmake -d build
|
|
|
|
|
2024-01-06 05:17:03 +01:00
|
|
|
# --enable-arts \
|
|
|
|
# --enable-alsa \
|
|
|
|
# --enable-esd \
|
|
|
|
# --enable-vorbis \
|
|
|
|
# --enable-sdl \
|
|
|
|
# --enable-mp3 \
|
|
|
|
# --enable-capture
|
|
|
|
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-06 05:17:05 +01:00
|
|
|
%makeinstall -C build
|
2024-01-06 05:17:03 +01:00
|
|
|
|
|
|
|
#
|
|
|
|
# configuration
|
|
|
|
install -m0755 -d %{buildroot}/etc
|
|
|
|
install -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/openalrc
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post
|
|
|
|
/sbin/ldconfig
|
|
|
|
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir 2>/dev/null || :
|
|
|
|
|
|
|
|
%preun
|
|
|
|
if [ "$1" -eq 0 ]; then
|
|
|
|
/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir 2>/dev/null || :
|
|
|
|
fi
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2024-01-06 05:17:05 +01:00
|
|
|
%{_libdir}/libopenal.so.*
|
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%files -n openal
|
|
|
|
%defattr(-,root,root,-)
|
2024-01-06 05:17:03 +01:00
|
|
|
%config %{_sysconfdir}/openalrc
|
|
|
|
%{_bindir}/allatency
|
2024-01-06 05:17:04 +01:00
|
|
|
%{_bindir}/alffplay
|
2024-01-06 05:17:04 +01:00
|
|
|
%{_bindir}/alhrtf
|
2024-01-06 05:17:04 +01:00
|
|
|
%{_bindir}/alloopback
|
2024-01-06 05:17:04 +01:00
|
|
|
%{_bindir}/almultireverb
|
|
|
|
%{_bindir}/alplay
|
2024-01-06 05:17:04 +01:00
|
|
|
%{_bindir}/alrecord
|
2024-01-06 05:17:03 +01:00
|
|
|
%{_bindir}/alreverb
|
|
|
|
%{_bindir}/alstream
|
2024-01-06 05:17:04 +01:00
|
|
|
%{_bindir}/altonegen
|
2024-01-06 05:17:04 +01:00
|
|
|
#%{_bindir}/bsincgen
|
2024-01-06 05:17:05 +01:00
|
|
|
#%{_bindir}/makehrtf
|
2024-01-06 05:17:03 +01:00
|
|
|
%dir %{_datadir}/openal
|
|
|
|
%{_datadir}/openal/alsoftrc.sample
|
2024-01-06 05:17:04 +01:00
|
|
|
%dir %{_datadir}/openal/hrtf
|
2024-01-06 05:17:04 +01:00
|
|
|
%{_datadir}/openal/hrtf/*.mhr
|
2024-01-06 05:17:04 +01:00
|
|
|
%dir %{_datadir}/openal/presets
|
|
|
|
%{_datadir}/openal/presets/*
|
2024-01-06 05:17:03 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
2024-01-06 05:17:04 +01:00
|
|
|
%{_bindir}/alsoft-config
|
2024-01-06 05:17:03 +01:00
|
|
|
%{_bindir}/openal-info
|
|
|
|
%{_includedir}/AL
|
|
|
|
#%{_libdir}/libopenal.a
|
|
|
|
#%{_libdir}/libopenal.la
|
|
|
|
%{_libdir}/libopenal.so
|
2024-01-06 05:17:04 +01:00
|
|
|
%dir %{_libdir}/cmake/OpenAL
|
|
|
|
%{_libdir}/cmake/OpenAL/OpenAL*.cmake
|
2024-01-06 05:17:03 +01:00
|
|
|
%{_libdir}/pkgconfig/openal.pc
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 05:17:05 +01:00
|
|
|
* Sat May 02 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.20.1-1mamba
|
|
|
|
- update to 1.20.1
|
|
|
|
|
2024-01-06 05:17:05 +01:00
|
|
|
* Sat Nov 24 2018 Automatic Build System <autodist@mambasoft.it> 1.19.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:17:04 +01:00
|
|
|
* Wed Sep 12 2018 Automatic Build System <autodist@mambasoft.it> 1.19.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:17:04 +01:00
|
|
|
* Mon Sep 25 2017 Automatic Build System <autodist@mambasoft.it> 1.18.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:17:04 +01:00
|
|
|
* Tue Aug 08 2017 Automatic Build System <autodist@mambasoft.it> 1.18.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:17:04 +01:00
|
|
|
* Tue Jan 26 2016 Automatic Build System <autodist@mambasoft.it> 1.17.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:17:04 +01:00
|
|
|
* Fri Dec 18 2015 Automatic Build System <autodist@mambasoft.it> 1.17.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:17:04 +01:00
|
|
|
* Tue Nov 24 2015 Automatic Build System <autodist@mambasoft.it> 1.17.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:17:04 +01:00
|
|
|
* Fri Sep 05 2014 Automatic Build System <autodist@mambasoft.it> 1.16.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:17:03 +01:00
|
|
|
* Wed Dec 12 2012 Automatic Build System <autodist@mambasoft.it> 1.15.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Dec 08 2012 Automatic Build System <autodist@mambasoft.it> 1.15-1mamba
|
|
|
|
- update to 1.15
|
|
|
|
|
|
|
|
* Fri Jan 07 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.12.854-1mamba
|
|
|
|
- update to 1.12.854
|
|
|
|
- removed build requirement for arts
|
|
|
|
|
|
|
|
* Thu Jun 03 2010 Automatic Build System <autodist@mambasoft.it> 1.11.753-1mamba
|
|
|
|
- update to 1.11.753
|
|
|
|
|
|
|
|
* Sat Jul 11 2009 Automatic Build System <autodist@mambasoft.it> 1.8.466-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Apr 16 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7.411-1mamba
|
|
|
|
- update to 1.7.411
|
|
|
|
|
|
|
|
* Sat May 19 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.8-2mamba
|
|
|
|
- added patch for gcc 4.2
|
|
|
|
|
|
|
|
* Tue Jan 30 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.8-1qilnx
|
|
|
|
- update to version 0.0.8 by autospec
|
|
|
|
|
|
|
|
* Tue Apr 05 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 0.0-3qilnx
|
|
|
|
- Added changelog
|
|
|
|
|
|
|
|
* Tue Apr 05 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 0.0-2qilnx
|
|
|
|
- Rebuild and moved from devel-contrib repository to devel repository
|
|
|
|
|
|
|
|
* Wed Mar 16 2005 Matteo Bernasconi <voyagernm@virgilio.it> 0.0-1qilnx
|
|
|
|
- First Build
|