40 lines
1.1 KiB
RPMSpec
40 lines
1.1 KiB
RPMSpec
Name: conmon
|
|
Epoch: 2
|
|
Version: 2.0.2
|
|
Release: 4
|
|
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 gcc
|
|
|
|
%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
|
|
export CFLAGS="${RPM_OPT_FLAGS}"
|
|
%make_build all
|
|
|
|
%install
|
|
make PREFIX=%{buildroot}%{_prefix} install install.crio
|
|
|
|
%files
|
|
%license LICENSE
|
|
%doc README.md
|
|
%{_bindir}/conmon
|
|
%{_libexecdir}/crio/conmon
|
|
|
|
%changelog
|
|
* Thu Sep 09 2021 lingsheng <lingsheng@huawei.com> - 2:2.0.2-4
|
|
- Set CFLAGS to build debug related rpm
|
|
|
|
* Mon May 31 2021 baizhonggui <baizhonggui@huawei.com> - 2:2.0.2-3
|
|
- Add gcc in BuildRequires
|
|
|
|
* Mon Dec 23 2019 shijian <shijian16@huawei.com> - 2:2.0.2-2
|
|
- Package init
|