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