diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-11-27 02:21:25 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-11-27 02:21:25 +0000 |
| commit | 1890ce6d07997b457fc3a471ff9fe7b482f906d5 (patch) | |
| tree | 857bd893ea16d436133007875f05ad9149ba83d7 | |
| parent | 3876a0cb7abfcb9a98f1b45b04ba3c0c0a891e32 (diff) | |
automatic import of brpcopeneuler20.03_LTS_SP1
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | brpc.spec | 77 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 79 insertions, 0 deletions
@@ -0,0 +1 @@ +/apache-brpc-1.18.0-src.tar.gz diff --git a/brpc.spec b/brpc.spec new file mode 100644 index 0000000..313d23d --- /dev/null +++ b/brpc.spec @@ -0,0 +1,77 @@ +# topdir: apache-brpc-1.18.0-src +# Source tarball: https://downloads.apache.org/brpc/1.18.0/apache-brpc-1.18.0-src.tar.gz +Name: brpc +Version: 1.18.0 +Release: 1%{?dist} +Summary: Industrial-grade RPC framework using C++ Language +License: Apache-2.0 +URL: https://brpc.apache.org +Source0: https://downloads.apache.org/brpc/%{version}/apache-brpc-%{version}-src.tar.gz + +BuildRequires: cmake +BuildRequires: gcc +BuildRequires: gcc-c++ +BuildRequires: make +BuildRequires: gflags-devel +BuildRequires: protobuf-devel +BuildRequires: leveldb-devel +BuildRequires: openssl-devel +BuildRequires: zlib-devel + +%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}%{?_isa} = %{version}-%{release} + +%description devel +Headers and shared object symbolic links for the %{name} library. + +%package static +Summary: The %{name} static development libraries +Requires: %{name}-devel%{?_isa} = %{version}-%{release} + +%description static +Static %{name} libraries. + +%package tools +Summary: The %{name} tools +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description tools +The %{name} tools. + +%prep +%autosetup -n apache-brpc-%{version}-src + +%build +%cmake \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DBUILD_BRPC_TOOLS:BOOL=ON \ + -DBUILD_UNIT_TESTS:BOOL=OFF \ + -DDOWNLOAD_GTEST:BOOL=OFF \ + -DWITH_DEBUG_SYMBOLS:BOOL=OFF +%cmake_build + +%install +%cmake_install + +%files +%{_libdir}/libbrpc.so + +%files devel +%{_includedir}/* +%{_libdir}/pkgconfig/* + +%files static +%{_libdir}/libbrpc.a + +%files tools +%{_bindir}/* + +%changelog +* Fri Nov 27 2026 openEuler AI Importer <noreply@openeuler.org> - 1.18.0-1 +- Update to brpc 1.18.0 @@ -0,0 +1 @@ +90cd56a224b0f5424fd11a3f7d302556 apache-brpc-1.18.0-src.tar.gz |
