diff --git a/aliyun-smc-extensions-0.1.0.tar.gz b/aliyun-smc-extensions-0.1.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..675304f699fe50f8a8bdf1e74b4e310b194a21f5 Binary files /dev/null and b/aliyun-smc-extensions-0.1.0.tar.gz differ diff --git a/aliyun-smc-extensions.spec b/aliyun-smc-extensions.spec new file mode 100644 index 0000000000000000000000000000000000000000..2c547519697786730df28434a9cdfde43531e3fa --- /dev/null +++ b/aliyun-smc-extensions.spec @@ -0,0 +1,43 @@ +%global pkg aliyun-smc-extensions +%define pkg_version 0.1.0 +%define anolis_release 1 +%global debug_package %{nil} + +Name: %{pkg} +Version: %{pkg_version} +Release: 1%{?dist} +Summary: Aliyun Shared Memory Communication Extensions +License: Mulan PSL v2 + +Source0: %{pkg}-%{pkg_version}.tar.gz + +Requires: smc-tools + +BuildRequires: make +BuildRequires: systemd +BuildRequires: system-rpm-config + +%description +The Aliyun Shared Memory Communication Extensions (%{name}) package. + +%prep +%setup -n %{pkg}-%{pkg_version} + +%build +%make_build ALIYUN_SMC_EXT_VERSION=%{pkg_version} + +%install +%make_install + +%clean +[ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot} + +%files +%license LICENSE +%{_bindir}/aliyunsmc-check +%{_bindir}/aliyunsmc-ueid +%{_unitdir}/aliyunsmc-ueid.service + +%changelog +* Wed Jan 15 2025 Guangguan Wang - 0.1.0-1 +- smc: first commit