|
|
|
|
@@ -1,14 +1,14 @@
|
|
|
|
|
Name: bctoolbox
|
|
|
|
|
Version: 5.3.24
|
|
|
|
|
Version: 5.4.50
|
|
|
|
|
Release: 1mamba
|
|
|
|
|
Summary: Utilities library used by Belledonne Communications softwares like belle-sip, mediastreamer2 and linphone
|
|
|
|
|
Group: System/Libraries
|
|
|
|
|
Vendor: openmamba
|
|
|
|
|
Distribution: openmamba
|
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
|
URL: https://linphone.org
|
|
|
|
|
URL: https://www.linphone.org/home/
|
|
|
|
|
Source: https://github.com/BelledonneCommunications/bctoolbox.git/%{version}/bctoolbox-%{version}.tar.bz2
|
|
|
|
|
Patch0: bctoolbox-0.6.0-ftbfs-arm.patch
|
|
|
|
|
Patch0: bctoolbox-5.4.49-libmbedtls-3.6.4.patch
|
|
|
|
|
License: GPL
|
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
|
@@ -16,6 +16,7 @@ BuildRequires: libgcc
|
|
|
|
|
BuildRequires: libmbedtls-devel
|
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
BuildRequires: libmbedtls-devel >= 3.6.0-1mamba
|
|
|
|
|
BuildRequires: cmake
|
|
|
|
|
BuildRequires: libmbedtls2-devel
|
|
|
|
|
BuildRequires: libbcunit-devel >= 3.0.2.20200229git-2mamba
|
|
|
|
|
@@ -40,16 +41,12 @@ Requires: pkg-config
|
|
|
|
|
%description -n lib%{name}-devel
|
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
#%ifarch arm
|
|
|
|
|
#% patch0 -p1
|
|
|
|
|
#%endif
|
|
|
|
|
sed -i '89i include_directories(%{_includedir}/mbedtls2)' CMakeLists.txt
|
|
|
|
|
sed -i -e "s|PRIVATE \${MBEDTLS_TARGETS}|PRIVATE \${MBEDTLS_TARGETS} -L%{_libdir}/mbedtls2|" src/CMakeLists.txt
|
|
|
|
|
|
|
|
|
|
%patch 0 -p1
|
|
|
|
|
echo "typedef void* mbedtls_threading_mutex_t;" > include/threading_alt.h
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
export CC=/usr/bin/clang
|
|
|
|
|
export CXX=/usr/bin/clang++
|
|
|
|
|
@@ -58,7 +55,6 @@ export CXX=/usr/bin/clang++
|
|
|
|
|
-DDISABLE_MBEDTLS_SEARCH=ON \
|
|
|
|
|
-DENABLE_STRICT=OFF \
|
|
|
|
|
-DENABLE_STATIC=OFF \
|
|
|
|
|
-DCMAKE_C_FLAGS="${CFLAGS} -Wno-error=unused-parameter" \
|
|
|
|
|
-DENABLE_TESTS_COMPONENT=OFF
|
|
|
|
|
|
|
|
|
|
%make
|
|
|
|
|
@@ -70,8 +66,6 @@ export CXX=/usr/bin/clang++
|
|
|
|
|
%clean
|
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
|
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%files -n lib%{name}
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
@@ -89,6 +83,42 @@ export CXX=/usr/bin/clang++
|
|
|
|
|
%{_libdir}/pkgconfig/bctoolbox.pc
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Oct 21 2025 Automatic Build System <autodist@openmamba.org> 5.4.50-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Tue Oct 14 2025 Silvan Calarco <silvan.calarco@mambasoft.it> 5.4.49-1mamba
|
|
|
|
|
- update to 5.4.49
|
|
|
|
|
|
|
|
|
|
* Sun Sep 08 2024 Automatic Build System <autodist@openmamba.org> 5.3.81-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Sun Sep 08 2024 Automatic Build System <autodist@openmamba.org> 5.3.79-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Thu Aug 29 2024 Automatic Build System <autodist@openmamba.org> 5.3.77-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Tue Aug 06 2024 Automatic Build System <autodist@openmamba.org> 5.3.74-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Tue Jul 23 2024 Automatic Build System <autodist@openmamba.org> 5.3.72-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Tue Jun 04 2024 Automatic Build System <autodist@openmamba.org> 5.3.56-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Sun Apr 14 2024 Automatic Build System <autodist@openmamba.org> 5.3.41-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Thu Apr 11 2024 Automatic Build System <autodist@mambasoft.it> 5.3.38-2mamba
|
|
|
|
|
- rebuilt by autoport with build requirements: libmbedtls-devel>=3.6.0-1mamba
|
|
|
|
|
|
|
|
|
|
* Mon Apr 01 2024 Automatic Build System <autodist@openmamba.org> 5.3.38-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Wed Mar 13 2024 Automatic Build System <autodist@openmamba.org> 5.3.34-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Tue Feb 27 2024 Automatic Build System <autodist@openmamba.org> 5.3.24-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
|