Name: brpc
Version: 1.14.1
Release: 1
Summary: Industrial-grade RPC framework using C++ Language.
License: Apache-2.0
URL: https://github.com/apache/brpc
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: gflags-devel >= 2.1 protobuf-devel >= 2.4 leveldb-devel openssl-devel cmake
%description
Apache bRPC is an Industrial-grade RPC framework using C++ Language,
which is often used in high performance systems such as Search, Storage,
Machine learning, Advertisement, Recommendation etc.
%package devel
Summary: The %{name} headers and shared development libraries
Requires: %{name} = %{version}-%{release}
%description devel
Headers and shared object symbolic links for the %{name} library.
%package static
Summary: The %{name} static development libraries
Requires: brpc-devel = %{version}-%{release}
%description static
Static %{name} libraries.
%package tools
Summary: The %{name} tools.
Requires: %{name} = %{version}-%{release}
%description tools
The %{name} tools.
%prep
%autosetup -n %{name}-%{version} -p1
%build
%cmake
%cmake_build
%install
%cmake_install
%files
%{_libdir}/libbrpc.so
%files devel
%{_includedir}/*
%{_libdir}/pkgconfig/*
%files static
%{_libdir}/libbrpc.a
%files tools
%{_bindir}/*
%changelog
* Tue Aug 12 2025 Saisai Zhao <zhaosaisai@kylinos.cn> - 1.14.1-1
- Update to 1.14.1:
* Fix CVE-2025-54472
* Add inline redis protocol support
* Fix error checking against IB verbs API
* Fix memory access problem for SignalTrace mode
* Add flags for set worker thread name
* Replace google::protobuf::int64 by int64_t
* Wed Feb 12 2025 yaoxin <1024769339@qq.com> - 1.12.1-1
- Update to 1.12.1:
* Fix Content-Length and Transfer-Encoding problem (#2518)
* Escape span method name (#2411)
* Remove wordexp (#2218)
* Wed Aug 4 2021 huanghaitao <huanghaitao8@huawei.com> - 0.9.7-1
- package init