[packages/containernetworking-plugins] new (version 0.8.7)

atler atler at pld-linux.org
Mon Dec 7 00:04:39 CET 2020


commit 105d25cd3a30f36deca294b3b010d415ee8e9490
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun Dec 6 23:56:14 2020 +0100

    new (version 0.8.7)

 containernetworking-plugins.spec | 45 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)
---
diff --git a/containernetworking-plugins.spec b/containernetworking-plugins.spec
new file mode 100644
index 0000000..bfac27a
--- /dev/null
+++ b/containernetworking-plugins.spec
@@ -0,0 +1,45 @@
+Summary:	CNI network plugins
+Name:		containernetworking-plugins
+Version:	0.8.7
+Release:	1
+License:	Apache v2.0
+Group:		Applications/System
+#Source0Download: https://github.com/containers/podman/releases
+Source0:	https://github.com/containernetworking/plugins/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	624772d0233c3c391d0cd254e24b02c6
+URL:		https://github.com/containernetworking/plugins/
+BuildRequires:	golang
+ExclusiveArch:	%{ix86} %{x8664} %{arm} aarch64 mips64 mips64le ppc64 ppc64le s390x
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The CNI (Container Network Interface) project consists of a
+specification and libraries for writing plugins to configure network
+interfaces in Linux containers, along with a number of supported
+plugins. CNI concerns itself only with network connectivity of
+containers and removing allocated resources when the container is
+deleted.
+
+%prep
+%setup -q -n plugins-%{version}
+
+%build
+./build_linux.sh
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/cni/net.d
+install -d $RPM_BUILD_ROOT%{_libexecdir}/cni
+cp -p bin/* $RPM_BUILD_ROOT%{_libexecdir}/cni
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CONTRIBUTING.md OWNERS.md README.md
+%dir %{_sysconfdir}/cni
+%dir %{_sysconfdir}/cni/net.d
+%dir %{_libexecdir}/cni
+%attr(755,root,root) %{_libexecdir}/cni/*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/containernetworking-plugins.git/commitdiff/105d25cd3a30f36deca294b3b010d415ee8e9490



More information about the pld-cvs-commit mailing list