libopenal/libopenal.spec

201 lines
6.2 KiB
RPMSpec

Name: libopenal
Version: 1.24.0
Release: 1mamba
Summary: Open Audio Library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://openal-soft.org/
Source0: https://openal-soft.org/openal-releases/openal-soft-%{version}.tar.bz2
Source1: openalrc
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libQt5Core
BuildRequires: libQt5Gui
BuildRequires: libQt5Widgets
BuildRequires: libSDL2-devel
BuildRequires: libatomic-devel
BuildRequires: libavcodec-devel
BuildRequires: libavformat-devel
BuildRequires: libavutil-devel
BuildRequires: libgcc
BuildRequires: libsndfile-devel
BuildRequires: libstdc++6-devel
BuildRequires: libswresample-devel
BuildRequires: libswscale-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: libalsa-devel
BuildRequires: libpulseaudio-devel
BuildRequires: libjack-devel
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libogg-devel
BuildRequires: libvorbis-devel
BuildRequires: texinfo
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
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Group: Development/Libraries
%description devel
This package contains static libraries and header files for the openal library.
%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
%prep
%setup -q -n openal-soft-%{version}
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
#
# configuration
install -m0755 -d %{buildroot}/etc
install -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/openalrc
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
/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
%files
%defattr(-,root,root,-)
%{_libdir}/libopenal.so.*
%doc COPYING
%files -n openal
%defattr(-,root,root,-)
%config %{_sysconfdir}/openalrc
%{_bindir}/al*
%dir %{_datadir}/openal
%{_datadir}/openal/alsoftrc.sample
%dir %{_datadir}/openal/hrtf
%{_datadir}/openal/hrtf/*.mhr
%dir %{_datadir}/openal/presets
%{_datadir}/openal/presets/*
%files devel
%defattr(-,root,root,-)
%{_bindir}/alsoft-config
%{_bindir}/openal-info
%dir %{_includedir}/AL
%{_includedir}/AL/*
%{_libdir}/libopenal.so
%dir %{_libdir}/cmake/OpenAL
%{_libdir}/cmake/OpenAL/OpenAL*.cmake
%{_libdir}/pkgconfig/openal.pc
%changelog
* Mon Nov 18 2024 Automatic Build System <autodist@openmamba.org> 1.24.0-1mamba
- automatic version update by autodist
* Wed Apr 12 2023 Automatic Build System <autodist@mambasoft.it> 1.23.1-1mamba
- automatic version update by autodist
* Mon Feb 06 2023 Automatic Build System <autodist@mambasoft.it> 1.23.0-1mamba
- automatic version update by autodist
* Tue Jun 28 2022 Automatic Build System <autodist@mambasoft.it> 1.22.2-1mamba
- automatic version update by autodist
* Wed Jun 22 2022 Automatic Build System <autodist@mambasoft.it> 1.22.1-1mamba
- automatic version update by autodist
* Mon Apr 25 2022 Automatic Build System <autodist@mambasoft.it> 1.22.0-1mamba
- automatic version update by autodist
* Fri Feb 19 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.21.1-1mamba
- update to 1.21.1
* Tue Nov 10 2020 Automatic Build System <autodist@mambasoft.it> 1.21.0-1mamba
- automatic version update by autodist
* Sat May 02 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.20.1-1mamba
- update to 1.20.1
* Sat Nov 24 2018 Automatic Build System <autodist@mambasoft.it> 1.19.1-1mamba
- automatic version update by autodist
* Wed Sep 12 2018 Automatic Build System <autodist@mambasoft.it> 1.19.0-1mamba
- automatic version update by autodist
* Mon Sep 25 2017 Automatic Build System <autodist@mambasoft.it> 1.18.2-1mamba
- automatic version update by autodist
* Tue Aug 08 2017 Automatic Build System <autodist@mambasoft.it> 1.18.1-1mamba
- automatic version update by autodist
* Tue Jan 26 2016 Automatic Build System <autodist@mambasoft.it> 1.17.2-1mamba
- automatic version update by autodist
* Fri Dec 18 2015 Automatic Build System <autodist@mambasoft.it> 1.17.1-1mamba
- automatic version update by autodist
* Tue Nov 24 2015 Automatic Build System <autodist@mambasoft.it> 1.17.0-1mamba
- automatic version update by autodist
* Fri Sep 05 2014 Automatic Build System <autodist@mambasoft.it> 1.16.0-1mamba
- automatic version update by autodist
* 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