[packages/conmon] new (version 2.0.20)

atler atler at pld-linux.org
Thu Aug 13 11:55:13 CEST 2020


commit b7b5a8d134c64d2b096bbb5d6bce75d0c7566976
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Aug 13 11:54:17 2020 +0200

    new (version 2.0.20)

 conmon.spec | 45 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)
---
diff --git a/conmon.spec b/conmon.spec
new file mode 100644
index 0000000..91763fd
--- /dev/null
+++ b/conmon.spec
@@ -0,0 +1,45 @@
+Summary:	OCI container runtime monitor
+Name:		conmon
+Version:	2.0.20
+Release:	1
+License:	Apache v2.0
+Group:		Applications/System
+#Source0Download: https://github.com/containers/conmon/releases
+Source0:	https://github.com/containers/conmon/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	e4690a6561db1ae348d59c163108508e
+URL:		https://github.com/containers/conmon
+BuildRequires:	glib2-devel
+BuildRequires:	pkgconfig
+BuildRequires:	systemd-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+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.
+
+%prep
+%setup -q
+
+%build
+%{__make} \
+	CC="%{__cc}" \
+	CFLAGS="%{rpmcppflags} %{rpmcflags}" \
+	LDLAGS="%{rpmldflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT \
+        PREFIX=%{_prefix} \
+        BINDIR=%{_bindir} \
+        LIBEXECDIR=%{_libexecdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md  changelog.txt
+%attr(755,root,root) %{_bindir}/conmon
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/conmon.git/commitdiff/b7b5a8d134c64d2b096bbb5d6bce75d0c7566976



More information about the pld-cvs-commit mailing list