Projects
Eulaceura:Factory
CTinspector
_service:obs_scm:CTinspector.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:CTinspector.spec of Package CTinspector
%define rel_version 1.0.1 %define rel_release 5 %define bin_dir /usr/bin/ %define lib_dir /usr/lib64/ %define header_dir /usr/include/ctinspector %define data_dir /usr/share/ 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 mkdir -p $RPM_BUILD_ROOT/usr/share/%name cp %_builddir/%name-%version/ebpf_example $RPM_BUILD_ROOT/usr/share/%name/ -r %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %{bin_dir}/* %{lib_dir}/* %{header_dir}/* %{data_dir}/* %changelog * Thu Aug 24 2023 <yangt111@chinatelecom.cn> - 1.0.1-5 - Add source files to src-openeuler repo. * Thu Mar 16 2023 <yangt111@chinatelecom.cn> - 1.0.1-2 - Init spec to build on CTyunOS 23.01.
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2