libao/libao.spec

134 lines
3.9 KiB
RPMSpec
Raw Permalink Normal View History

Name: libao
Version: 1.2.2
Release: 2mamba
Summary: A cross platform audio library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Aleph0 <aleph0@openmamba.org>
URL: https://xiph.org/ao/
Source: https://git.xiph.org/libao.git/%{version}/libao-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libalsa-devel
BuildRequires: libpulseaudio-devel
## AUTOBUILDREQ-END
BuildRequires: pkgconfig
BuildRoot: %{_tmppath}/%{name}-%{version}-root
# FIXME:
# configure: WARNING: Broken OSS API workaround enabled. See README for details.
# checking audio/audiolib.h presence... no -- see nas
#
# checking for polyplib-simple >= 0.6 -- see http://pulseaudio.org/
%description
Libao is a cross-platform audio library that allows programs to output audio using a simple API on a wide variety of platforms. It currently supports:
* Null output
* WAV files
* OSS (Open Sound System)
* ESD (ESounD or Enlightened Sound Daemon)
* ALSA (Advanced Linux Sound Architecture)
* PulseAudio (next generation GNOME sound server)
* AIX
* Solaris (untested)
* IRIX (untested)
%package devel
Summary: Devel package for libao
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
This package contains static libraries and header files needed for development.
%debug_package
%prep
%setup -q
autoreconf -f -i
%build
## libao does not support alsa library 1.0
#CPPFLAGS="-DALSA_PCM_OLD_HW_PARAMS_API" \
%configure \
--enable-broken-oss \
--disable-arts \
--disable-esd
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libao.so.*
%dir %{_libdir}/ao
%dir %{_libdir}/ao/plugins-4
%{_libdir}/ao/plugins-4/*
%dir %{_libdir}/ckport
%dir %{_libdir}/ckport/db
%{_libdir}/ckport/db/libao.ckport
%{_mandir}/man5/libao.conf.*
%files devel
%defattr(-,root,root)
%{_includedir}/ao
%{_libdir}/libao.la
%{_libdir}/libao.so
%{_libdir}/pkgconfig/ao.pc
%{_datadir}/aclocal/ao.m4
%{_datadir}/doc/libao-%{version}/*
%changelog
* Sat Dec 12 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.2-2mamba
- rebuilt with debug package and update build requirements
* Sat Mar 24 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.2-1mamba
- update to 1.2.2
* Sat Jun 25 2016 Automatic Build System <autodist@mambasoft.it> 1.2.0-5mamba
- rebuilt by autoport with build requirements: libpulseaudio-devel>=9.0-1mamba
* Sat Apr 02 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-4mamba
- rebuilt by autoport with build requirements: libpulseaudio-devel>=8.0-1mamba
* Sun Mar 15 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-3mamba
- rebuilt by autoport with build requirements: libpulseaudio-devel>=6.0-1mamba
* Fri Mar 07 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-2mamba
- rebuilt with pulseaudio 4.0
* Sun Feb 02 2014 Automatic Build System <autodist@mambasoft.it> 1.2.0-1mamba
- automatic version update by autodist
* Sun Feb 27 2011 Automatic Build System <autodist@mambasoft.it> 1.1.0-1mamba
- automatic update by autodist
* Sat May 29 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.0-2mamba
- rebuilt without arts support
* Thu Apr 01 2010 Automatic Build System <autodist@mambasoft.it> 1.0.0-1mamba
- automatic update by autodist
* Thu Jul 26 2007 Aleph0 <aleph0@openmamba.org> 0.8.8-1mamba
- update to 0.8.8
* Tue Jan 23 2007 Aleph0 <aleph0@openmamba.org> 0.8.6-1qilnx
- update to version 0.8.6 by autospec
- this version support alsa 1.0 API: disabled compilation hack
- added build requirements for esd and xorg7
* Thu Mar 04 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.4-1qilnx
- first build