2024-01-06 05:33:50 +01:00
|
|
|
Name: librdkafka
|
2024-01-06 05:33:52 +01:00
|
|
|
Version: 2.1.0
|
|
|
|
Release: 1mamba
|
2024-01-06 05:33:50 +01:00
|
|
|
Summary: A C library implementation of the Apache Kafka protocol
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 05:33:51 +01:00
|
|
|
URL: https://github.com/confluentinc/librdkafka
|
2024-01-06 05:33:50 +01:00
|
|
|
Source: https://github.com/edenhill/librdkafka.git/v%{version}/librdkafka-%{version}.tar.bz2
|
|
|
|
Patch0: librdkafka-1.9.2-curl-7.85.0.patch
|
2024-01-06 05:33:51 +01:00
|
|
|
Patch1: librdkafka-2.0.2-libcurl-pkgconfig.patch
|
2024-01-06 05:33:50 +01:00
|
|
|
License: BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libcurl-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: liblz4-devel
|
|
|
|
BuildRequires: libopenssl-devel
|
|
|
|
BuildRequires: libsasl2-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libz-devel
|
|
|
|
BuildRequires: libzstd-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
|
|
|
|
|
|
|
%description
|
|
|
|
librdkafka is a C library implementation of the Apache Kafka protocol, providing Producer, Consumer and Admin clients. It was designed with message delivery reliability and high performance in mind, current figures exceed 1 million msgs/second for the producer and 3 million msgs/second for the consumer.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: pkg-config
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-06 05:33:51 +01:00
|
|
|
#%patch0 -p1 -b .curl-7.85.0
|
2024-01-06 05:33:52 +01:00
|
|
|
%patch 1 -p1
|
2024-01-06 05:33:50 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake -d build
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/librdkafka++.so.*
|
|
|
|
%{_libdir}/librdkafka.so.*
|
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/librdkafka
|
|
|
|
%{_includedir}/librdkafka/*.h
|
|
|
|
%{_libdir}/librdkafka++.so
|
|
|
|
%{_libdir}/librdkafka.so
|
|
|
|
%{_libdir}/pkgconfig/rdkafka++.pc
|
|
|
|
%{_libdir}/pkgconfig/rdkafka.pc
|
2024-01-06 05:33:51 +01:00
|
|
|
%dir %{_libdir}/cmake/RdKafka
|
|
|
|
%{_libdir}/cmake/RdKafka/*.cmake
|
2024-01-06 05:33:50 +01:00
|
|
|
%{_datadir}/licenses/librdkafka/LICENSES.txt
|
|
|
|
%doc README.md README.win32
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 05:33:52 +01:00
|
|
|
* Thu Apr 06 2023 Automatic Build System <autodist@mambasoft.it> 2.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:33:51 +01:00
|
|
|
* Sat Feb 11 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.2-2mamba
|
|
|
|
- update patch to fix requirement replacing pkgconfig(curl) with pkgconfig(libcurl)
|
|
|
|
|
|
|
|
* Sat Jan 21 2023 Automatic Build System <autodist@mambasoft.it> 2.0.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Automatic Build System <autodist@mambasoft.it> 2.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:33:50 +01:00
|
|
|
* Sat Sep 24 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.2-1mamba
|
|
|
|
- package created using the webbuild interface
|