Name: mbedtls Version: 3.6.2 Release: 2mamba Summary: A C library that implements cryptographic primitives, X.509 certificate manipulation and the SSL/TLS and DTLS protocols Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://www.trustedfirmware.org/projects/mbed-tls/ Source: https://github.com/ARMmbed/mbedtls.git/v%{version}/mbedtls-%{version}.tar.bz2 License: Apache License 2.0 ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel ## AUTOBUILDREQ-END BuildRequires: cmake Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description Mbed TLS is a C library that implements cryptographic primitives, X.509 certificate manipulation and the SSL/TLS and DTLS protocols. Its small code footprint makes it suitable for embedded systems. %package -n lib%{name} Group: System/Libraries Summary: Shared libraries for %{name} %description -n lib%{name} This package contains shared libraries for %{name}. %package -n lib%{name}-devel Group: Development/Libraries Summary: Development files for %{name} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description -n lib%{name}-devel This package contains libraries and header files for developing applications that use %{name}. %define toolchain clang %prep %setup -q %build export CC=/usr/bin/clang export CXX=/usr/bin/clang++ %cmake -d build \ -DUSE_SHARED_MBEDTLS_LIBRARY=ON \ -DUSE_STATIC_MBEDTLS_LIBRARY=ON \ %ifarch %{ix86} -DCMAKE_C_FLAGS="%{optflags} -mpclmul -msse2 -maes" \ %endif %ifnarch x86_64 aarch64 -DENABLE_TESTING=OFF %endif %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build chmod +x %{buildroot}%{_libdir}/lib*.so* #mv %{buildroot}%{_prefix}/cmake %{buildroot}%{_libdir} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_bindir}/* %files -n lib%{name} %defattr(-,root,root) %{_libdir}/libmbedcrypto.so.* %{_libdir}/libmbedtls.so.* %{_libdir}/libmbedx509.so.* %doc LICENSE %files -n lib%{name}-devel %defattr(-,root,root) %dir %{_includedir}/everest %{_includedir}/everest/* %dir %{_includedir}/mbedtls %{_includedir}/mbedtls/*.h %dir %{_includedir}/psa %{_includedir}/psa/*.h %{_libdir}/libeverest.so %{_libdir}/libp256m.so %{_libdir}/libmbedcrypto.a %{_libdir}/libmbedcrypto.so %{_libdir}/libmbedtls.a %{_libdir}/libmbedtls.so %{_libdir}/libmbedx509.a %{_libdir}/libmbedx509.so %dir %{_libdir}/cmake/MbedTLS %{_libdir}/cmake/MbedTLS/MbedTLS*.cmake %{_libdir}/pkgconfig/mbed*.pc %doc ChangeLog README.md %changelog * Mon Jan 20 2025 Silvan Calarco 3.6.2-2mamba - rebuilt with USE_STATIC_MBEDTLS_LIBRARY=ON (possibly required for obs-studio) * Wed Oct 16 2024 Automatic Build System 3.6.2-1mamba - automatic version update by autodist * Sat Aug 31 2024 Automatic Build System 3.6.1-1mamba - automatic version update by autodist * Mon Apr 01 2024 Automatic Build System 3.6.0-1mamba - automatic version update by autodist * Fri Jan 26 2024 Automatic Build System 3.5.2-1mamba - automatic version update by autodist * Fri Jan 12 2024 Silvan Calarco 3.5.1-2mamba - added build flags for i586 arch * Thu Nov 09 2023 Automatic Build System 3.5.1-1mamba - automatic version update by autodist * Mon Oct 09 2023 Automatic Build System 3.5.0-1mamba - automatic version update by autodist * Wed Jul 13 2022 Automatic Build System 3.2.1-1mamba - automatic version update by autodist * Wed Jan 05 2022 Automatic Build System 3.1.0-1mamba - automatic version update by autodist * Sat May 08 2021 Automatic Build System 2.26.0-1mamba - automatic version update by autodist * Fri May 07 2021 Silvan Calarco 2.25.0-1mamba - package created using the webbuild interface