]> git.pld-linux.org Git - packages/conmon.git/blame - conmon.spec
up to 2.0.21
[packages/conmon.git] / conmon.spec
CommitLineData
b7b5a8d1
JP
1Summary: OCI container runtime monitor
2Name: conmon
2fdf82ba 3Version: 2.0.21
b7b5a8d1
JP
4Release: 1
5License: Apache v2.0
6Group: Applications/System
7#Source0Download: https://github.com/containers/conmon/releases
8Source0: https://github.com/containers/conmon/archive/v%{version}/%{name}-%{version}.tar.gz
2fdf82ba 9# Source0-md5: c642c9460b4e8a8f0b1e3c5a8f349530
b7b5a8d1
JP
10URL: https://github.com/containers/conmon
11BuildRequires: glib2-devel
12BuildRequires: pkgconfig
13BuildRequires: systemd-devel
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
17Conmon is a monitoring program and communication tool between a
18container manager (like Podman or CRI-O) and an OCI runtime (like runc
19or 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
31rm -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
40rm -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
This page took 0.131749 seconds and 4 git commands to generate.