Name: libmsquic Version: 2.6.2 Release: 1%{?dist} Summary: Cross-platform, C implementation of the IETF QUIC protocol SourceLicense: MIT License: MIT %global forgeurl https://github.com/microsoft/msquic %global tag v%{version} %forgemeta -a URL: %{forgeurl} Source: %{forgesource} Patch0: 000-install-tools.patch BuildRequires: cmake BuildRequires: g++ BuildRequires: gcc BuildRequires: libatomic BuildRequires: lttng-tools BuildRequires: openssl-devel %description MsQuic is a Microsoft implementation of the IETF QUIC protocol. It is cross-platform, written in C and designed to be a general purpose QUIC library. %package devel Summary: Development files for MsQuic %description devel MsQuic is a Microsoft implementation of the IETF QUIC protocol. The %{name}-devel package contains include files, documentation, and static libraries needed to develop applications which communicate using the QUIC protocol. %package -n msquic-tools Summary: Extra tools for MsQuic %description -n msquic-tools MsQuic is a Microsoft implementation of the IETF QUIC protocol. The msquic-tools package provides userspace programs that are distributed as a part of the MsQuic library. %prep %forgesetup -a %patch 0 %conf %cmake \ -DQUIC_CI=ON \ -DQUIC_BUILD_SHARED=ON \ -DQUIC_BUILD_TOOLS=ON \ -DQUIC_ENABLE_LOGGING=ON \ -DQUIC_TLS_LIB=openssl \ -DQUIC_LOGGING_TYPE=lttng \ -DQUIC_EXTERNAL_TOOLCHAIN=ON \ -DQUIC_USE_EXTERNAL_OPENSSL=ON %build %cmake_build %install %cmake_install %check %ctest %files %license LICENSE %doc docs/Deployment.md %doc docs/Diagnostics.md %doc docs/FIPS.md %doc docs/Release.md %doc docs/TroubleshootingGuide.md %{_libdir}/libmsquic.so.* %files devel %license LICENSE %doc docs %{_datadir}/msquic %{_includedir}/msquic* %{_includedir}/quic* %{_libdir}/libmsquic.so %{_libdir}/libmsquic_platform.a %files -n msquic-tools %license LICENSE %doc docs/InteropServerSetup.md %doc docs/Sample.md %{_bindir}/quic* %{_bindir}/spinquic %changelog %autochangelog