35 lines
922 B
RPMSpec
35 lines
922 B
RPMSpec
%global with_debug 0
|
|
%global debug_package %{nil}
|
|
Name: conmon
|
|
Epoch: 2
|
|
Version: 2.0.2
|
|
Release: 2
|
|
Summary: Monitoring program for OCI container
|
|
License: ASL 2.0
|
|
URL: https://github.com/containers/conmon
|
|
Source0: https://github.com/containers/conmon/archive/65fe0226d85b69fc9e527e376795c9791199153d/conmon-65fe022.tar.gz
|
|
BuildRequires: glib2-devel
|
|
|
|
%description
|
|
Conmon is a monitoring program and communication tool between a container manager (like podman or CRI-O)
|
|
and an OCI runtime (like runc or crun) for a single container.
|
|
|
|
%prep
|
|
%autosetup -n conmon-65fe0226d85b69fc9e527e376795c9791199153d -p1
|
|
|
|
%build
|
|
%make_build all
|
|
|
|
%install
|
|
make PREFIX=%{buildroot}%{_prefix} install install.crio
|
|
|
|
%files
|
|
%license LICENSE
|
|
%doc README.md
|
|
%{_bindir}/conmon
|
|
%{_libexecdir}/crio/conmon
|
|
|
|
%changelog
|
|
* Mon Dec 23 2019 shijian <shijian16@huawei.com> - 2:2.0.2-2
|
|
- Package init
|