Name: libhv
Version: 1.3.3
Release: 2
Summary: Like libevent, libev, and libuv, libhv provides event-loop with non-blocking IO and timer, but simpler api and richer protocols
License: BSD-3-Clause
URL: https://gitee.com/libhv/libhv
Source0: https://gitee.com/libhv/libhv/archive/refs/tags/v%{version}.tar.gz
Patch6001: support-lib64-path.patch
Patch0001: backport-CVE-2025-1867.patch
BuildRequires: gcc gcc-c++ openssl-devel glibc-devel procps-ng net-tools cmake
%description
%{summary}
%package devel
Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release}
%description devel
This package contains the header files and libraries for developing
with %{name}.
%prep
%autosetup -n %{name}-%{version} -p1
%build
%cmake
%cmake_build
%install
%cmake_install
%files
%license LICENSE
%{_libdir}/libhv.so
%files devel
%dir %{_includedir}/hv
%{_includedir}/hv/*.h
%{_includedir}/hv/*.hpp
%{_libdir}/cmake/libhv
%{_libdir}/*.a
%changelog
* Mon Sep 29 2025 liweigang <liweigang <liweiganga@gmail.com> - 1.3.3-2
- fix CVE-2025-1867
* Tue Nov 12 2024 Funda Wang <fundawang@yeah.net> - 1.3.3-1
- update to 1.3.3
* Tue Oct 31 2023 huangduirong <huangduirong@huawei.com> - 1.3.2-1
- Update to version 1.3.2
* Tue Oct 31 2023 huangduirong <huangduirong@huawei.com> - 1.3.1-3
- Fix CVE-2023-26148
* Tue Oct 31 2023 huangduirong <huangduirong@huawei.com> - 1.3.1-2
- support event signal
* Mon Jul 17 2023 zhangchenglin <zhangchenglin@kylinos.cn> - 1.3.1-1
- Update to version 1.3.1
* Tue Mar 28 2023 licihua <licihua@huawei.com> - 1.3.0-1
- Package init