2019-08-22 10:50:46 +02:00
|
|
|
#
|
|
|
|
# spec file for package conmon
|
|
|
|
#
|
2022-05-14 22:53:46 +02:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2019-08-22 10:50:46 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-08-27 15:50:32 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2019-08-22 10:50:46 +02:00
|
|
|
#
|
|
|
|
|
2019-08-27 15:50:32 +02:00
|
|
|
|
|
|
|
Name: conmon
|
2022-11-23 15:59:56 +01:00
|
|
|
Version: 2.1.5
|
2019-08-27 15:50:32 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: An OCI container runtime monitor
|
|
|
|
License: Apache-2.0
|
|
|
|
Group: System/Management
|
2019-11-18 20:04:56 +01:00
|
|
|
URL: https://github.com/containers/conmon
|
2019-08-27 15:50:32 +02:00
|
|
|
Source0: %{name}-%{version}.tar.xz
|
2022-11-07 08:32:52 +01:00
|
|
|
# https://github.com/containers/conmon/pull/364
|
2022-11-23 15:59:56 +01:00
|
|
|
Patch1: %{URL}/pull/364.patch#./0001-Fix-tools-Makefile-with-GNU-make-4.4.patch
|
2022-06-29 12:39:58 +02:00
|
|
|
BuildRequires: pkgconfig
|
2022-08-22 12:46:19 +02:00
|
|
|
BuildRequires: golang(API) = 1.18
|
2022-06-29 12:39:58 +02:00
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
2021-09-26 21:48:26 +02:00
|
|
|
BuildRequires: pkgconfig(libseccomp)
|
2020-04-05 20:53:04 +02:00
|
|
|
BuildRequires: pkgconfig(libsystemd)
|
2019-08-22 10:50:46 +02:00
|
|
|
|
|
|
|
%description
|
2019-08-27 15:50:32 +02:00
|
|
|
Conmon is a monitoring program and communication tool between a
|
|
|
|
container manager (like podman or CRI-O) and an OCI runtime (like
|
|
|
|
runc or crun) for a single container.
|
2019-08-22 10:50:46 +02:00
|
|
|
|
|
|
|
%prep
|
2022-11-07 08:32:52 +01:00
|
|
|
%autosetup -p1
|
2019-08-22 10:50:46 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install PREFIX=%{_prefix}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%license LICENSE
|
|
|
|
%doc README.md
|
|
|
|
%{_bindir}/%{name}
|
2021-09-26 21:48:26 +02:00
|
|
|
%{_mandir}/man8/conmon*.8%{?ext_man}
|
2019-08-22 10:50:46 +02:00
|
|
|
|
|
|
|
%changelog
|