## START: Set by rpmautospec ## (rpmautospec version 0.7.2) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 4; 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: ngtcp2 Version: 1.8.0 Release: %autorelease Summary: ngtcp2 project is an effort to implement RFC9000 QUIC protocol License: MIT URL: https://github.com/ngtcp2/ngtcp2 Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: autoconf BuildRequires: gcc BuildRequires: make BuildRequires: libtool BuildRequires: gnutls-devel >= 3.7.5 BuildRequires: libev-devel %description "Call it TCP/2. One More Time." ngtcp2 project is an effort to implement RFC9000 QUIC protocol. %package devel Summary: ngtcp2 development files Requires: %{name}%{?_isa} = %{version}-%{release} %description devel "Call it TCP/2. One More Time." ngtcp2 project is an effort to implement RFC9000 QUIC protocol. Development headers and libraries. %prep %autosetup %build autoreconf -fsi %configure --with-gnutls --with-libev --disable-static --enable-werror %make_build %install %make_install # TODO: import also munit and run unit tests in %check section. %files %license COPYING %doc README.rst %doc SECURITY.md %doc AUTHORS %{_libdir}/libngtcp2.so.16* %{_libdir}/libngtcp2_crypto_gnutls.so.8* %files devel %{_libdir}/libngtcp2.so %{_libdir}/libngtcp2_crypto_gnutls.so %{_libdir}/pkgconfig/libngtcp2.pc %{_libdir}/pkgconfig/libngtcp2_crypto_gnutls.pc %{_includedir}/%{name}/ %changelog ## START: Generated by rpmautospec * Thu Oct 10 2024 Petr Menšík - 1.8.0-4 - Mention unit tests and missing munit * Thu Oct 10 2024 Petr Menšík - 1.8.0-3 - Specify minimum gnutls version * Thu Oct 10 2024 Petr Menšík - 1.8.0-2 - Use also libev * Thu Oct 10 2024 Petr Menšík - 1.8.0-1 - Initial build using autoconf * Thu Oct 03 2024 Tatsuhiro Tsujikawa <404610+tatsuhiro-t@users.noreply.github.com> - RPMAUTOSPEC: unresolvable merge ## END: Generated by rpmautospec