3 Star 0 Fork 2

OpenCloudOS Stream/librdkafka

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
librdkafka.spec 2.75 KB
一键复制 编辑 原始数据 按行查看 历史
Summary: The Apache Kafka C library
Name: librdkafka
Version: 2.3.0
Release: 3%{?dist}
License: BSD
URL: https://github.com/edenhill/librdkafka
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: gcc gcc-c++ make python3 zlib-devel rapidjson-devel
BuildRequires: libzstd-devel lz4-devel openssl-devel cyrus-sasl-devel
%description
Librdkafka is a C/C++ library implementation of the Apache Kafka protocol, containing both Producer and Consumer support.
It was designed with message delivery reliability and high performance in mind, current figures exceed 800000
messages/second for the producer and 3 million messages/second for the consumer.
%package devel
Summary: The Apache Kafka C library (Development Environment)
Requires: %{name} = %{version}-%{release}
%description devel
librdkafka is a C/C++ library implementation of the Apache Kafka protocol, containing both Producer and Consumer support.
This package contains headers and libraries required to build applications using librdkafka.
%prep
%autosetup -n %{name}-%{version} -p1
%build
%define _lto_cflags -flto=auto -ffat-lto-objects
%configure \
--enable-zlib \
--enable-zstd \
--enable-lz4 \
--enable-lz4-ext \
--enable-ssl \
--enable-gssapi \
--enable-sasl
%make_build
%check
%make_build check
%install
%make_install
find %{buildroot} -name '*.a' -delete -print
find %{buildroot} -name '*-static.pc' -delete -print
%files
%license LICENSE LICENSE.pycrc LICENSE.snappy
%doc README.md CONFIGURATION.md INTRODUCTION.md LICENSE LICENSES.txt STATISTICS.md CHANGELOG.md
%{_libdir}/librdkafka.so.*
%{_libdir}/librdkafka++.so.*
%files devel
%dir %{_includedir}/librdkafka
%attr(0644,root,root) %{_includedir}/librdkafka/*
%attr(0755,root,root) %{_libdir}/librdkafka.so
%attr(0755,root,root) %{_libdir}/librdkafka++.so
%{_libdir}/pkgconfig/rdkafka.pc
%{_libdir}/pkgconfig/rdkafka++.pc
%changelog
* Thu Sep 26 2024 OpenCloudOS Release Engineering <[email protected]> - 2.3.0-3
- Rebuilt for clarifying the packages requirement in BaseOS and AppStream
* Fri Aug 16 2024 OpenCloudOS Release Engineering <[email protected]> - 2.3.0-2
- Rebuilt for loongarch release
* Mon Dec 11 2023 Upgrade Robot <[email protected]> - 2.3.0-1
- Upgrade to version 2.3.0
* Fri Sep 08 2023 OpenCloudOS Release Engineering <[email protected]> - 1.6.1-4
- Rebuilt for OpenCloudOS Stream 23.09
* Fri Apr 28 2023 OpenCloudOS Release Engineering <[email protected]> - 1.6.1-3
- Rebuilt for OpenCloudOS Stream 23.05
* Fri Mar 31 2023 OpenCloudOS Release Engineering <[email protected]> - 1.6.1-2
- Rebuilt for OpenCloudOS Stream 23
* Tue Nov 29 2022 Shuo Wang <[email protected]> - 1.6.1-1
- initial build
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/opencloudos-stream/librdkafka.git
[email protected]:opencloudos-stream/librdkafka.git
opencloudos-stream
librdkafka
librdkafka
master

搜索帮助