代码拉取完成,页面将自动刷新
同步操作将从 openEuler/CTinspector 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%define rel_version @CPACK_PACKAGE_VERSION@
%define rel_release @CPACK_PACKAGE_RELEASE@
%define bin_dir @BIN_INSTALL_PREFIX@
%define lib_dir @LIB_INSTALL_PREFIX@
%define header_dir @INCLUDE_INSTALL_PREFIX@
Name: ctinspector
Version: %{rel_version}
Release: %{rel_release}%{?dist}
Summary: CTyunOS Inspector
License: GPLv2+
URL: https://gitee.com/openeuler/CTinspector
Source0: ctinspector-%{rel_version}.tar.bz2
BuildRequires: elfutils-devel
BuildRequires: rdma-core-devel
BuildRequires: llvm clang
BuildRequires: libbpf
BuildRequires: cmake make
%description
Multipule nodes ebpf flow inspector, which is initialed by CTyun.
%prep
%autosetup -n ctinspector-%{rel_version}
%build
mkdir build
pushd build
cmake ..
make
popd
%install
rm -rf $RPM_BUILD_ROOT
cd build
%make_install
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%{bin_dir}/*
%{lib_dir}/*
%{header_dir}/*
%changelog
* Thu Mar 16 2023 yangt111@chinatelecom.cn
- Init spec to build on CTyunOS 3.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。