2024-01-05 20:46:20 +01:00
|
|
|
Name: bctoolbox
|
2024-01-05 20:46:21 +01:00
|
|
|
Version: 5.2.111
|
2024-01-05 20:46:20 +01:00
|
|
|
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>
|
2024-01-05 20:46:21 +01:00
|
|
|
URL: https://linphone.org
|
2024-01-05 20:46:20 +01:00
|
|
|
Source: https://github.com/BelledonneCommunications/bctoolbox.git/%{version}/bctoolbox-%{version}.tar.bz2
|
2024-01-05 20:46:20 +01:00
|
|
|
Patch0: bctoolbox-0.6.0-ftbfs-arm.patch
|
2024-01-05 20:46:20 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-05 20:46:21 +01:00
|
|
|
#libmbedcrypto.so.7: .so link not found
|
|
|
|
#libmbedtls.so.14: .so link not found
|
|
|
|
#libmbedx509.so.1: .so link not found
|
2024-01-05 20:46:20 +01:00
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
2024-01-05 20:46:21 +01:00
|
|
|
BuildRequires: libmbedtls2-devel
|
2024-01-05 20:46:21 +01:00
|
|
|
BuildRequires: libbcunit-devel >= 3.0.2.20200229git-2mamba
|
2024-01-05 20:46:20 +01:00
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description
|
|
|
|
Utilities library used by Belledonne Communications softwares like belle-sip, mediastreamer2 and linphone.
|
|
|
|
|
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Utilities library used by Belledonne Communications softwares like belle-sip, mediastreamer2 and linphone
|
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
Utilities library used by Belledonne Communications softwares like belle-sip, mediastreamer2 and linphone.
|
|
|
|
|
|
|
|
%package -n lib%{name}-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
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
|
2024-01-05 20:46:20 +01:00
|
|
|
#%ifarch arm
|
|
|
|
#% patch0 -p1
|
|
|
|
#%endif
|
2024-01-05 20:46:21 +01:00
|
|
|
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
|
2024-01-05 20:46:20 +01:00
|
|
|
|
2024-01-05 20:46:20 +01:00
|
|
|
%build
|
2024-01-05 20:46:21 +01:00
|
|
|
export CC=/usr/bin/clang
|
|
|
|
export CXX=/usr/bin/clang++
|
|
|
|
|
|
|
|
%cmake -d build \
|
2024-01-05 20:46:21 +01:00
|
|
|
-DDISABLE_MBEDTLS_SEARCH=ON \
|
|
|
|
-DENABLE_STRICT=OFF \
|
|
|
|
-DENABLE_STATIC=OFF \
|
|
|
|
-DCMAKE_C_FLAGS="${CFLAGS} -Wno-error=unused-parameter" \
|
|
|
|
-DENABLE_TESTS_COMPONENT=OFF
|
2024-01-05 20:46:20 +01:00
|
|
|
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-05 20:46:21 +01:00
|
|
|
%makeinstall -C build
|
2024-01-05 20:46:20 +01:00
|
|
|
|
|
|
|
%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)
|
|
|
|
%{_libdir}/libbctoolbox.so.*
|
2024-01-05 20:46:21 +01:00
|
|
|
%doc LICENSE.txt
|
2024-01-05 20:46:20 +01:00
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/bctoolbox
|
|
|
|
%{_includedir}/bctoolbox/*
|
|
|
|
%{_libdir}/libbctoolbox.so
|
2024-01-05 20:46:21 +01:00
|
|
|
%dir %{_datadir}/bctoolbox
|
|
|
|
%dir %{_datadir}/bctoolbox/cmake
|
|
|
|
%{_datadir}/bctoolbox/cmake/*.cmake
|
|
|
|
%{_datadir}/bctoolbox/cmake/gitversion.h.in
|
2024-01-05 20:46:20 +01:00
|
|
|
%{_libdir}/pkgconfig/bctoolbox.pc
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 20:46:21 +01:00
|
|
|
* Thu Nov 23 2023 Automatic Build System <autodist@mambasoft.it> 5.2.111-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:46:21 +01:00
|
|
|
* Tue Jan 04 2022 Automatic Build System <autodist@mambasoft.it> 5.0.63-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:46:21 +01:00
|
|
|
* Wed Dec 29 2021 Automatic Build System <autodist@mambasoft.it> 5.0.61-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:46:21 +01:00
|
|
|
* Thu Dec 16 2021 Automatic Build System <autodist@mambasoft.it> 5.0.58-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:46:21 +01:00
|
|
|
* Tue Nov 30 2021 Automatic Build System <autodist@mambasoft.it> 5.0.55-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:46:21 +01:00
|
|
|
* Sun Nov 28 2021 Automatic Build System <autodist@mambasoft.it> 5.0.53-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:46:21 +01:00
|
|
|
* Thu Oct 21 2021 Automatic Build System <autodist@mambasoft.it> 5.0.37-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Oct 15 2021 Automatic Build System <autodist@mambasoft.it> 5.0.35-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Oct 08 2021 Automatic Build System <autodist@mambasoft.it> 5.0.32-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Sep 30 2021 Automatic Build System <autodist@mambasoft.it> 5.0.28-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Sep 25 2021 Automatic Build System <autodist@mambasoft.it> 5.0.26-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Sep 23 2021 Automatic Build System <autodist@mambasoft.it> 5.0.24-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Sep 17 2021 Automatic Build System <autodist@mambasoft.it> 5.0.23-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Sep 16 2021 Automatic Build System <autodist@mambasoft.it> 5.0.22-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Sep 06 2021 Automatic Build System <autodist@mambasoft.it> 5.0.18-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Sep 02 2021 Automatic Build System <autodist@mambasoft.it> 5.0.15-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Aug 31 2021 Automatic Build System <autodist@mambasoft.it> 5.0.13-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Aug 10 2021 Automatic Build System <autodist@mambasoft.it> 5.0.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Jul 30 2021 Automatic Build System <autodist@mambasoft.it> 5.0.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Jul 09 2021 Automatic Build System <autodist@mambasoft.it> 5.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Jun 25 2021 Automatic Build System <autodist@mambasoft.it> 4.5.22-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Jun 15 2021 Automatic Build System <autodist@mambasoft.it> 4.5.20-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri May 14 2021 Automatic Build System <autodist@mambasoft.it> 4.5.15-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri May 07 2021 Automatic Build System <autodist@mambasoft.it> 4.5.13-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:46:20 +01:00
|
|
|
* Sat Feb 29 2020 Automatic Build System <autodist@mambasoft.it> 4.3.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:46:20 +01:00
|
|
|
* Mon Oct 02 2017 Automatic Build System <autodist@mambasoft.it> 0.6.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Mar 18 2017 Automatic Build System <autodist@mambasoft.it> 0.5.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:46:20 +01:00
|
|
|
* Sat Dec 17 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.0-1mamba
|
|
|
|
- package created using the webbuild interface
|