nghttp2/nghttp2.spec

173 lines
5.4 KiB
RPMSpec

Name: nghttp2
Version: 1.63.0
Release: 1mamba
Summary: An implementation of the Hypertext Transfer Protocol version 2 in C
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://nghttp2.org/
Source: https://github.com/nghttp2/nghttp2.git/v%{version}/nghttp2-%{version}.tar.bz2
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libbrotli-devel
BuildRequires: libcares-devel
BuildRequires: libev-devel
BuildRequires: libgcc
BuildRequires: libjansson-devel
BuildRequires: libjemalloc-devel
BuildRequires: libopenssl-devel
BuildRequires: libstdc++6-devel
BuildRequires: libsystemd-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: Cython
BuildRequires: cmake
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
This is an implementation of the Hypertext Transfer Protocol version 2 in C.
The framing layer of HTTP/2 is implemented as a reusable C library.
On top of that, we have implemented an HTTP/2 client, server and proxy. We have also developed load test and benchmarking tools for HTTP/2.
%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}
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%cmake -d build \
-DPYTHON_EXECUTABLE=%{__python3}
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/deflatehd
%{_bindir}/h2load
%{_bindir}/inflatehd
%{_bindir}/nghttp
%{_bindir}/nghttpd
%{_bindir}/nghttpx
%{_mandir}/man1/h2load.1*
%{_mandir}/man1/nghttp.1*
%{_mandir}/man1/nghttpd.1*
%{_mandir}/man1/nghttpx.1*
%{_datadir}/nghttp2/fetch-ocsp-response
%dir %{_docdir}/nghttp2
%{_docdir}/nghttp2/README.rst
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libnghttp2.so.*
%doc AUTHORS COPYING LICENSE
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/nghttp2
%{_includedir}/nghttp2/*.h
%{_libdir}/libnghttp2.so
%{_libdir}/pkgconfig/libnghttp2.pc
%dir %{_libdir}/cmake/nghttp2
%{_libdir}/cmake/nghttp2/nghttp2-targets*.cmake
%changelog
* Wed Aug 28 2024 Automatic Build System <autodist@openmamba.org> 1.63.0-1mamba
- automatic version update by autodist
* Sun May 19 2024 Automatic Build System <autodist@openmamba.org> 1.62.1-1mamba
- automatic version update by autodist
* Tue May 14 2024 Automatic Build System <autodist@openmamba.org> 1.62.0-1mamba
- automatic version update by autodist
* Wed Apr 10 2024 Automatic Build System <autodist@openmamba.org> 1.61.0-1mamba
- automatic version update by autodist
* Sat Mar 02 2024 Automatic Build System <autodist@openmamba.org> 1.60.0-1mamba
- automatic version update by autodist
* Mon Jan 22 2024 Automatic Build System <autodist@openmamba.org> 1.59.0-1mamba
- automatic version update by autodist
* Fri Oct 27 2023 Automatic Build System <autodist@mambasoft.it> 1.58.0-1mamba
- automatic version update by autodist
* Wed Oct 11 2023 Automatic Build System <autodist@mambasoft.it> 1.57.0-1mamba
- automatic version update by autodist
* Mon Sep 04 2023 Automatic Build System <autodist@mambasoft.it> 1.56.0-1mamba
- automatic version update by autodist
* Sat Jul 15 2023 Automatic Build System <autodist@mambasoft.it> 1.55.1-1mamba
- automatic version update by autodist
* Thu Jul 13 2023 Automatic Build System <autodist@mambasoft.it> 1.55.0-1mamba
- automatic version update by autodist
* Thu May 11 2023 Automatic Build System <autodist@mambasoft.it> 1.53.0-1mamba
- automatic version update by autodist
* Sun Feb 19 2023 Automatic Build System <autodist@mambasoft.it> 1.52.0-1mamba
- automatic version update by autodist
* Sun Nov 13 2022 Automatic Build System <autodist@mambasoft.it> 1.51.0-1mamba
- automatic version update by autodist
* Thu Sep 22 2022 Automatic Build System <autodist@mambasoft.it> 1.50.0-1mamba
- automatic version update by autodist
* Tue Aug 23 2022 Automatic Build System <autodist@mambasoft.it> 1.49.0-1mamba
- automatic version update by autodist
* Fri Jun 24 2022 Automatic Build System <autodist@mambasoft.it> 1.48.0-1mamba
- automatic version update by autodist
* Fri Feb 25 2022 Automatic Build System <autodist@mambasoft.it> 1.47.0-1mamba
- automatic version update by autodist
* Tue Oct 19 2021 Automatic Build System <autodist@mambasoft.it> 1.46.0-1mamba
- automatic version update by autodist
* Tue Sep 21 2021 Automatic Build System <autodist@mambasoft.it> 1.45.1-1mamba
- automatic version update by autodist
* Mon Sep 20 2021 Automatic Build System <autodist@mambasoft.it> 1.45.0-1mamba
- automatic version update by autodist
* Sun Jul 18 2021 Automatic Build System <autodist@mambasoft.it> 1.44.0-1mamba
- automatic version update by autodist
* Sun Feb 14 2021 Automatic Build System <autodist@mambasoft.it> 1.43.0-1mamba
- automatic version update by autodist
* Tue Dec 08 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.42.0-1mamba
- package created using the webbuild interface