## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: mvfst Version: 2023.10.09.00 Release: %autorelease Summary: An implementation of the QUIC transport protocol License: MIT URL: https://github.com/facebook/mvfst Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz # same as the rest of the Folly stack ExclusiveArch: x86_64 aarch64 ppc64le BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: folly-devel = %{version} BuildRequires: fizz-devel = %{version} %global _description %{expand: mvfst (Pronounced move fast) is a client and server implementation of IETF QUIC protocol in C++ by Facebook. QUIC is a UDP based reliable, multiplexed transport protocol that will become an internet standard. The goal of mvfst is to build a performant implementation of the QUIC transport protocol that applications could adapt for use cases on both the internet and the data-center. mvfst has been tested at scale on android, iOS apps, as well as servers and has several features to support large scale deployments.} %description %{_description} %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} Requires: cmake-filesystem Requires: folly-devel = %{version} Requires: fizz-devel = %{version} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %autosetup -p1 %build %cmake \ %if %{with check} -DBUILD_TESTS=ON %endif -DCMAKE_INSTALL_LIBDIR=%{_lib} \ -DCMAKE_INSTALL_MODDIR=%{_libdir}/%{name} \ -DPACKAGE_VERSION=%{version} %cmake_build %install %cmake_install %if %{with check} %check %ctest %endif %files %license LICENSE %doc README.md %{_libdir}/*.so.%{version} %{_libdir}/cmake/%{name} %files devel %doc CODE_OF_CONDUCT.md CONTRIBUTING.md README.md %{_includedir}/* %{_libdir}/*.so %changelog * Tue Oct 17 2023 Michel Lind - 2023.10.09.00-1 - Update to 2023.10.09.00 * Sat Oct 07 2023 Michel Lind - 2023.09.11.00-2 - Rebuild for new libsodium * Tue Sep 12 2023 Michel Lind - 2023.09.11.00-1 - Initial package