automatic version update by autodist [release 5.2.111-1mamba;Thu Nov 23 2023]
This commit is contained in:
parent
78f04d2b91
commit
8e588ac64f
@ -1,5 +1,5 @@
|
||||
Name: bctoolbox
|
||||
Version: 5.0.63
|
||||
Version: 5.2.111
|
||||
Release: 1mamba
|
||||
Summary: Utilities library used by Belledonne Communications softwares like belle-sip, mediastreamer2 and linphone
|
||||
Group: System/Libraries
|
||||
@ -11,13 +11,15 @@ Source: https://github.com/BelledonneCommunications/bctoolbox.git/%{versi
|
||||
Patch0: bctoolbox-0.6.0-ftbfs-arm.patch
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
#libmbedcrypto.so.7: .so link not found
|
||||
#libmbedtls.so.14: .so link not found
|
||||
#libmbedx509.so.1: .so link not found
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libbcunit-devel
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libmbedtls-devel
|
||||
BuildRequires: libstdc++6-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: cmake
|
||||
BuildRequires: libmbedtls2-devel
|
||||
BuildRequires: libbcunit-devel >= 3.0.2.20200229git-2mamba
|
||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
@ -40,7 +42,6 @@ Requires: pkg-config
|
||||
%description -n lib%{name}-devel
|
||||
This package contains libraries and header files for developing applications that use %{name}.
|
||||
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
@ -48,13 +49,19 @@ This package contains libraries and header files for developing applications tha
|
||||
#%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
|
||||
|
||||
%build
|
||||
export CC=/usr/bin/clang
|
||||
export CXX=/usr/bin/clang++
|
||||
|
||||
%cmake -d build \
|
||||
-DENABLE_STRICT=OFF
|
||||
-DDISABLE_MBEDTLS_SEARCH=ON \
|
||||
-DENABLE_STRICT=OFF \
|
||||
-DENABLE_STATIC=OFF \
|
||||
-DCMAKE_C_FLAGS="${CFLAGS} -Wno-error=unused-parameter" \
|
||||
-DENABLE_TESTS_COMPONENT=OFF
|
||||
|
||||
%make
|
||||
|
||||
@ -70,7 +77,6 @@ export CXX=/usr/bin/clang++
|
||||
|
||||
%files -n lib%{name}
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libbctoolbox-tester.so.*
|
||||
%{_libdir}/libbctoolbox.so.*
|
||||
%doc LICENSE.txt
|
||||
|
||||
@ -78,18 +84,17 @@ export CXX=/usr/bin/clang++
|
||||
%defattr(-,root,root)
|
||||
%dir %{_includedir}/bctoolbox
|
||||
%{_includedir}/bctoolbox/*
|
||||
%{_libdir}/libbctoolbox-tester.a
|
||||
%{_libdir}/libbctoolbox-tester.so
|
||||
%{_libdir}/libbctoolbox.a
|
||||
%{_libdir}/libbctoolbox.so
|
||||
%dir %{_datadir}/bctoolbox
|
||||
%dir %{_datadir}/bctoolbox/cmake
|
||||
%{_datadir}/bctoolbox/cmake/*.cmake
|
||||
%{_datadir}/bctoolbox/cmake/gitversion.h.in
|
||||
%{_libdir}/pkgconfig/bctoolbox-tester.pc
|
||||
%{_libdir}/pkgconfig/bctoolbox.pc
|
||||
|
||||
%changelog
|
||||
* Thu Nov 23 2023 Automatic Build System <autodist@mambasoft.it> 5.2.111-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Jan 04 2022 Automatic Build System <autodist@mambasoft.it> 5.0.63-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user