conmon/conmon.spec

40 lines
1.1 KiB
RPMSpec
Raw Normal View History

2019-12-23 20:20:53 +08:00
Name: conmon
Epoch: 2
Version: 2.0.2
2021-09-09 20:38:59 +08:00
Release: 4
2019-12-23 20:20:53 +08:00
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
2021-06-02 11:05:51 +08:00
BuildRequires: glib2-devel gcc
2019-12-23 20:20:53 +08:00
%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
2021-09-09 20:38:59 +08:00
export CFLAGS="${RPM_OPT_FLAGS}"
2019-12-23 20:20:53 +08:00
%make_build all
%install
make PREFIX=%{buildroot}%{_prefix} install install.crio
%files
%license LICENSE
%doc README.md
%{_bindir}/conmon
%{_libexecdir}/crio/conmon
%changelog
2021-09-09 20:38:59 +08:00
* Thu Sep 09 2021 lingsheng <lingsheng@huawei.com> - 2:2.0.2-4
- Set CFLAGS to build debug related rpm
2021-06-02 11:05:51 +08:00
* Mon May 31 2021 baizhonggui <baizhonggui@huawei.com> - 2:2.0.2-3
- Add gcc in BuildRequires
2019-12-23 20:20:53 +08:00
* Mon Dec 23 2019 shijian <shijian16@huawei.com> - 2:2.0.2-2
- Package init