diff --git a/libportaudio.spec b/libportaudio.spec index cc599c4..acc5540 100644 --- a/libportaudio.spec +++ b/libportaudio.spec @@ -1,7 +1,7 @@ Name: libportaudio Epoch: 1 Version: 19.7.0 -Release: 1mamba +Release: 2mamba Summary: A free, cross platform, open-source, audio I/O library Group: System/Libraries Vendor: openmamba @@ -13,7 +13,9 @@ License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libalsa-devel +BuildRequires: libgcc BuildRequires: libjack-devel +BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END %description @@ -28,14 +30,18 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} A free, cross platform, open-source, audio I/O library. This package contains static libraries and header files needed for development. -%debug_package - %prep %setup -q -n portaudio-%{version} +cd bindings/cpp +autoreconf -fiv +cd ../.. +autoreconf -fiv %build -%configure -%make +%configure \ + --enable-cxx + +%make -j1 %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -51,18 +57,26 @@ done %files %defattr(-,root,root) %{_libdir}/libportaudio.so.* +%{_libdir}/libportaudiocpp.so.* %doc LICENSE.txt %files devel %defattr(-,root,root) %{_includedir}/pa_*.h %{_includedir}/portaudio.h +%dir %{_includedir}/portaudiocpp +%{_includedir}/portaudiocpp/*.hxx %{_libdir}/libportaudio.a %{_libdir}/libportaudio.so +%{_libdir}/libportaudiocpp.a +%{_libdir}/libportaudiocpp.so %{_libdir}/pkgconfig/*.pc %doc README.md %changelog +* Thu Jan 16 2025 Silvan Calarco 19.7.0-2mamba +- rebuilt with cxx library + * Fri May 17 2024 Silvan Calarco 19.7.0-1mamba - update to 19.7.0