1 Summary: OCI container runtime monitor
6 Group: Applications/System
7 #Source0Download: https://github.com/containers/conmon/releases
8 Source0: https://github.com/containers/conmon/archive/v%{version}/%{name}-%{version}.tar.gz
9 # Source0-md5: 9d90964dd164561d8eebc744a844e6e2
10 URL: https://github.com/containers/conmon
11 BuildRequires: glib2-devel
12 BuildRequires: go-md2man
13 BuildRequires: libseccomp-devel >= 2.5.2
14 BuildRequires: pkgconfig
15 BuildRequires: systemd-devel
16 Requires: libseccomp >= 2.5.2
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 Conmon is a monitoring program and communication tool between a
21 container manager (like Podman or CRI-O) and an OCI runtime (like runc
22 or crun) for a single container.
27 %{__rm} -r tools/vendor
30 # prevent build of go-md2man
31 install -d tools/build
32 : > tools/build/go-md2man
35 CFLAGS="%{rpmcppflags} %{rpmcflags}" \
36 LDLAGS="%{rpmldflags}" \
39 GOMD2MAN=/usr/bin/go-md2man
42 rm -rf $RPM_BUILD_ROOT
45 DESTDIR=$RPM_BUILD_ROOT \
48 LIBEXECDIR=%{_libexecdir}
51 rm -rf $RPM_BUILD_ROOT
54 %defattr(644,root,root,755)
55 %doc README.md changelog.txt
56 %attr(755,root,root) %{_bindir}/conmon
57 %{_mandir}/man8/conmon.8*