]> git.pld-linux.org Git - packages/conmon.git/blame - conmon.spec
up to 2.0.30
[packages/conmon.git] / conmon.spec
CommitLineData
b7b5a8d1
JP
1Summary: OCI container runtime monitor
2Name: conmon
4f623481 3Version: 2.0.30
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
4f623481 9# Source0-md5: e82a8ef3e184db4a5a872e4d0cd7061e
b7b5a8d1
JP
10URL: https://github.com/containers/conmon
11BuildRequires: glib2-devel
4f623481 12BuildRequires: libseccomp-devel
b7b5a8d1
JP
13BuildRequires: pkgconfig
14BuildRequires: systemd-devel
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18Conmon is a monitoring program and communication tool between a
19container manager (like Podman or CRI-O) and an OCI runtime (like runc
20or 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
32rm -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
41rm -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*
This page took 0.11129 seconds and 4 git commands to generate.