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: e91e50433c28ce317d3d7ab3d78ab22d
10 URL: https://github.com/containers/conmon
11 BuildRequires: glib2-devel
12 BuildRequires: go-md2man
13 BuildRequires: libseccomp-devel
14 BuildRequires: pkgconfig
15 BuildRequires: systemd-devel
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 Conmon is a monitoring program and communication tool between a
20 container manager (like Podman or CRI-O) and an OCI runtime (like runc
21 or crun) for a single container.
26 %{__rm} -r tools/vendor
29 # prevent build of go-md2man
30 install -d tools/build
31 : > tools/build/go-md2man
34 CFLAGS="%{rpmcppflags} %{rpmcflags}" \
35 LDLAGS="%{rpmldflags}" \
38 GOMD2MAN=/usr/bin/go-md2man
41 rm -rf $RPM_BUILD_ROOT
44 DESTDIR=$RPM_BUILD_ROOT \
47 LIBEXECDIR=%{_libexecdir}
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
54 %doc README.md changelog.txt
55 %attr(755,root,root) %{_bindir}/conmon
56 %{_mandir}/man8/conmon.8*