]> git.pld-linux.org Git - packages/containernetworking-plugins.git/blame - containernetworking-plugins.spec
new (version 0.8.7)
[packages/containernetworking-plugins.git] / containernetworking-plugins.spec
CommitLineData
105d25cd
JP
1Summary: CNI network plugins
2Name: containernetworking-plugins
3Version: 0.8.7
4Release: 1
5License: Apache v2.0
6Group: Applications/System
7#Source0Download: https://github.com/containers/podman/releases
8Source0: https://github.com/containernetworking/plugins/archive/v%{version}/%{name}-%{version}.tar.gz
9# Source0-md5: 624772d0233c3c391d0cd254e24b02c6
10URL: https://github.com/containernetworking/plugins/
11BuildRequires: golang
12ExclusiveArch: %{ix86} %{x8664} %{arm} aarch64 mips64 mips64le ppc64 ppc64le s390x
13BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15%description
16The CNI (Container Network Interface) project consists of a
17specification and libraries for writing plugins to configure network
18interfaces in Linux containers, along with a number of supported
19plugins. CNI concerns itself only with network connectivity of
20containers and removing allocated resources when the container is
21deleted.
22
23%prep
24%setup -q -n plugins-%{version}
25
26%build
27./build_linux.sh
28
29%install
30rm -rf $RPM_BUILD_ROOT
31
32install -d $RPM_BUILD_ROOT%{_sysconfdir}/cni/net.d
33install -d $RPM_BUILD_ROOT%{_libexecdir}/cni
34cp -p bin/* $RPM_BUILD_ROOT%{_libexecdir}/cni
35
36%clean
37rm -rf $RPM_BUILD_ROOT
38
39%files
40%defattr(644,root,root,755)
41%doc CONTRIBUTING.md OWNERS.md README.md
42%dir %{_sysconfdir}/cni
43%dir %{_sysconfdir}/cni/net.d
44%dir %{_libexecdir}/cni
45%attr(755,root,root) %{_libexecdir}/cni/*
This page took 0.133454 seconds and 4 git commands to generate.