]> git.pld-linux.org Git - packages/containernetworking-plugins.git/blame_incremental - containernetworking-plugins.spec
up to 1.4.1
[packages/containernetworking-plugins.git] / containernetworking-plugins.spec
... / ...
CommitLineData
1Summary: CNI network plugins
2Name: containernetworking-plugins
3Version: 1.4.1
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: e81f65ff2f2de3b0e91e2648e3071fe5
10URL: https://github.com/containernetworking/plugins/
11BuildRequires: bash
12BuildRequires: golang >= 1.20
13BuildRequires: rpmbuild(macros) >= 2.009
14ExclusiveArch: %go_arches
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%define _debugsource_packages 0
18
19%description
20The CNI (Container Network Interface) project consists of a
21specification and libraries for writing plugins to configure network
22interfaces in Linux containers, along with a number of supported
23plugins. CNI concerns itself only with network connectivity of
24containers and removing allocated resources when the container is
25deleted.
26
27%prep
28%setup -q -n plugins-%{version}
29
30%build
31GO="eval %__go" %{__bash} ./build_linux.sh
32
33%install
34rm -rf $RPM_BUILD_ROOT
35
36install -d $RPM_BUILD_ROOT%{_sysconfdir}/cni/net.d
37install -d $RPM_BUILD_ROOT%{_libexecdir}/cni
38cp -p bin/* $RPM_BUILD_ROOT%{_libexecdir}/cni
39
40%clean
41rm -rf $RPM_BUILD_ROOT
42
43%files
44%defattr(644,root,root,755)
45%doc CONTRIBUTING.md OWNERS.md README.md
46%dir %{_sysconfdir}/cni
47%dir %{_sysconfdir}/cni/net.d
48%dir %{_libexecdir}/cni
49%attr(755,root,root) %{_libexecdir}/cni/*
This page took 0.046593 seconds and 5 git commands to generate.