[packages/crun] new (version 0.14.1)
atler
atler at pld-linux.org
Tue Aug 11 20:26:28 CEST 2020
commit c58391fd393cd54088e39f363917b2545d817688
Author: Jan Palus <atler at pld-linux.org>
Date: Tue Aug 11 20:19:17 2020 +0200
new (version 0.14.1)
crun.spec | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 69 insertions(+)
---
diff --git a/crun.spec b/crun.spec
new file mode 100644
index 0000000..d4f147f
--- /dev/null
+++ b/crun.spec
@@ -0,0 +1,69 @@
+%ifarch %{x8664} %{arm} aarch64 ppc64
+%define with_criu 1
+%endif
+
+%ifarch %{ix86} %{x8664} %{arm} aarch64 mips64 mips64le ppc64 ppc64le s390x
+%define with_man 1
+%endif
+
+Summary: OCI runtime written in C
+Name: crun
+Version: 0.14.1
+Release: 1
+License: GPL v3+
+Group: Applications/System
+Source0: https://github.com/containers/crun/releases/download/%{version}/%{name}-%{version}.tar.xz
+# Source0-md5: e966d539836d121f62f6393534bb9f5c
+URL: https://github.com/containers/crun
+BuildRequires: autoconf >= 2.69
+BuildRequires: automake >= 1:1.11.2
+%{?with_criu:BuildRequires: criu-devel >= 3.13}
+%{?with_man:BuildRequires: go-md2man}
+BuildRequires: libcap-devel
+BuildRequires: libseccomp-devel
+BuildRequires: libselinux-devel
+BuildRequires: libtool
+BuildRequires: pkgconfig
+BuildRequires: python3
+BuildRequires: python3-devel
+BuildRequires: systemd-devel
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+BuildRequires: yajl-devel >= 2.0.0
+Requires: criu-libs >= 3.13
+Requires: yajl >= 2.0.0
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+crun is a runtime for running OCI containers.
+
+%prep
+%setup -q
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+ --disable-silent-rules
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libcrun.{a,la}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md
+%attr(755,root,root) %{_bindir}/crun
+%{?with_man:%{_mandir}/man1/crun.1*}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/crun.git/commitdiff/c58391fd393cd54088e39f363917b2545d817688
More information about the pld-cvs-commit
mailing list