2024-11-09 09:16:21 +08:00
|
|
|
Name: resaware_nri_plugins
|
|
|
|
|
Version: 0.0.1
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: NRI Plugins
|
|
|
|
|
|
|
|
|
|
License: GPL
|
|
|
|
|
URL: https://gitee.com/openeuler/resaware_nri_plugins
|
|
|
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
BuildRequires: docker
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The Resource Aware Plugin is a set of plugins that provide flexible allocation of container resources based on the NRI interface.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
CONTAINER_TOOL="docker" make docker-build
|
|
|
|
|
CONTAINER_TOOL="docker" make pack
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
install -d %{buildroot}/%{_libdir}
|
|
|
|
|
cp bin/nriplugin.tar %{buildroot}/%{_libdir}
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%{_libdir}/nriplugin.tar
|
2024-11-09 11:03:32 +08:00
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Nov 19 2024 hongxuming <2298061238@qq.com> - 1
|
|
|
|
|
- Initial package
|