2024-09-14 08:03:52 +00:00
|
|
|
%global debug_package %{nil}
|
|
|
|
|
%global __os_install_post %{nil}
|
|
|
|
|
|
|
|
|
|
Name: etipc
|
|
|
|
|
Summary: ETIPC is an enhanced tipcfor the embedding products by Huawei
|
|
|
|
|
Version: 1.7.7
|
2024-09-14 09:50:21 +00:00
|
|
|
Release: 2
|
2024-09-14 08:03:52 +00:00
|
|
|
License: GPLv2
|
2024-09-14 08:32:42 +00:00
|
|
|
URL: https://gitee.com/chengjunjia/etipc
|
2024-09-14 09:22:08 +00:00
|
|
|
Source0: https://gitee.com/chengjunjia/etipc/raw/openEuler-24.03-LTS/%{name}-%{version}.zip
|
2024-09-14 08:03:52 +00:00
|
|
|
|
|
|
|
|
BuildRequires: gcc kernel-devel kernel-headers kernel glibc glibc-devel glib2-devel cmake rpm
|
|
|
|
|
# Requires : kmod
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: x86_64 aarch64 loongarch64 sw_64 riscv64 ppc64le
|
|
|
|
|
|
|
|
|
|
%define kernel %(ver=`rpm -qa|grep kernel-devel`;echo ${ver#*kernel-devel-})
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
ETIPC is an enhanced tipcfor the embedding products by Huawei.
|
|
|
|
|
The original version of tipc is in the Linux Kernel from Ericsson.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n etipc-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
cd %{_builddir}/%{name}-%{version}
|
|
|
|
|
%make_build KERNEL_DIR=/usr/src/kernels/%{kernel}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
cd %{_builddir}/%{name}-%{version}
|
|
|
|
|
%make_install KERNEL_DIR=/usr/src/kernels/%{kernel} INSTALL_LIB=%{buildroot}%{_libdir} INCLUDE_PATH=%{buildroot}%{_includedir}
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(0644,root,root)
|
|
|
|
|
%{_libdir}/recv
|
|
|
|
|
%{_libdir}/msend
|
|
|
|
|
%{_libdir}/usend
|
|
|
|
|
%{_libdir}/tipc_config
|
|
|
|
|
%{_libdir}/tipc.ko
|
|
|
|
|
%{_includedir}
|
|
|
|
|
|
|
|
|
|
%changelog
|
2024-09-14 09:50:21 +00:00
|
|
|
* Sat Sep 14 2024 chengjunjia <jiachengjun2@huawei.com> - 1.7.7-2
|
|
|
|
|
- Update Release to make sure CI bot is OK
|
|
|
|
|
|
|
|
|
|
* Fri Sep 13 2024 chengjunjia <jiachengjun2@huawei.com> - 1.7.7-1
|
2024-09-14 08:03:52 +00:00
|
|
|
- Init package
|