## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## 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 %global abi_ver 9 Name: nghttp3 Version: 1.12.0 Release: %autorelease Summary: HTTP/3 library written in C License: MIT URL: https://nghttp2.org/nghttp3/ %global forgeurl https://github.com/ngtcp2/nghttp3 Source: %{forgeurl}/releases/download/v%{version}/%{name}-%{version}.tar.xz Source: %{forgeurl}/releases/download/v%{version}/%{name}-%{version}.tar.xz.asc Source: https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xf4f3b91474d1eb29889bd0ef7e8403d5d673c366#/tatsuhiro-t.asc BuildRequires: autoconf BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: libtool BuildRequires: make %global _description %{expand: nghttp3 is an implementation of RFC 9114 HTTP/3 mapping over QUIC and RFC 9204 QPACK in C. It does not depend on any particular QUIC transport implementation.} %description %{_description} %package -n lib%{name} Summary: HTTP/3 library written in C %description -n lib%{name} %{_description} %package -n lib%{name}-devel Summary: Development files for %{name} Requires: lib%{name}%{?_isa} = %{version}-%{release} %description -n lib%{name}-devel %{_description} The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %autosetup %build autoreconf -fiv %configure --disable-static %make_build %install %make_install find %{buildroot} -name '*.la' -exec rm -f {} ';' # will be installed via %%doc rm -f %{buildroot}%{_docdir}/nghttp3/README.rst %check %make_build check %files -n lib%{name} %license COPYING %doc README.rst %{_libdir}/libnghttp3.so.%{abi_ver}{,.*} %files -n lib%{name}-devel %{_includedir}/%{name} %{_libdir}/libnghttp3.so %{_libdir}/pkgconfig/libnghttp3.pc %changelog ## START: Generated by rpmautospec * Thu Oct 09 2025 Aleksei Bavshin - 1.12.0-1 - Initial package ## END: Generated by rpmautospec