]>
Commit | Line | Data |
---|---|---|
b7b5a8d1 JP |
1 | Summary: OCI container runtime monitor |
2 | Name: conmon | |
2fdf82ba | 3 | Version: 2.0.21 |
b7b5a8d1 JP |
4 | Release: 1 |
5 | License: Apache v2.0 | |
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 | |
2fdf82ba | 9 | # Source0-md5: c642c9460b4e8a8f0b1e3c5a8f349530 |
b7b5a8d1 JP |
10 | URL: https://github.com/containers/conmon |
11 | BuildRequires: glib2-devel | |
12 | BuildRequires: pkgconfig | |
13 | BuildRequires: systemd-devel | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %description | |
17 | Conmon is a monitoring program and communication tool between a | |
18 | container manager (like Podman or CRI-O) and an OCI runtime (like runc | |
19 | or crun) for a single container. | |
20 | ||
21 | %prep | |
22 | %setup -q | |
23 | ||
24 | %build | |
25 | %{__make} \ | |
26 | CC="%{__cc}" \ | |
27 | CFLAGS="%{rpmcppflags} %{rpmcflags}" \ | |
28 | LDLAGS="%{rpmldflags}" | |
29 | ||
30 | %install | |
31 | rm -rf $RPM_BUILD_ROOT | |
32 | ||
33 | %{__make} install \ | |
34 | DESTDIR=$RPM_BUILD_ROOT \ | |
35 | PREFIX=%{_prefix} \ | |
36 | BINDIR=%{_bindir} \ | |
37 | LIBEXECDIR=%{_libexecdir} | |
38 | ||
39 | %clean | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
42 | %files | |
43 | %defattr(644,root,root,755) | |
44 | %doc README.md changelog.txt | |
45 | %attr(755,root,root) %{_bindir}/conmon |