disable debugsource packages
[packages/containernetworking-plugins.git] / containernetworking-plugins.spec
CommitLineData
105d25cd
JP
1Summary: CNI network plugins
2Name: containernetworking-plugins
3caa14a9 3Version: 0.9.1
105d25cd
JP
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
3caa14a9 9# Source0-md5: d28bcf99557ac61a55445a0e5a44f5b1
105d25cd
JP
10URL: https://github.com/containernetworking/plugins/
11BuildRequires: golang
97cb8c48 12BuildRequires: rpmbuild(macros) >= 2.005
105d25cd
JP
13ExclusiveArch: %{ix86} %{x8664} %{arm} aarch64 mips64 mips64le ppc64 ppc64le s390x
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
97cb8c48
JP
16%define _debugsource_packages 0
17
105d25cd
JP
18%description
19The CNI (Container Network Interface) project consists of a
20specification and libraries for writing plugins to configure network
21interfaces in Linux containers, along with a number of supported
22plugins. CNI concerns itself only with network connectivity of
23containers and removing allocated resources when the container is
24deleted.
25
26%prep
27%setup -q -n plugins-%{version}
28
29%build
30./build_linux.sh
31
32%install
33rm -rf $RPM_BUILD_ROOT
34
35install -d $RPM_BUILD_ROOT%{_sysconfdir}/cni/net.d
36install -d $RPM_BUILD_ROOT%{_libexecdir}/cni
37cp -p bin/* $RPM_BUILD_ROOT%{_libexecdir}/cni
38
39%clean
40rm -rf $RPM_BUILD_ROOT
41
42%files
43%defattr(644,root,root,755)
44%doc CONTRIBUTING.md OWNERS.md README.md
45%dir %{_sysconfdir}/cni
46%dir %{_sysconfdir}/cni/net.d
47%dir %{_libexecdir}/cni
48%attr(755,root,root) %{_libexecdir}/cni/*
This page took 0.171051 seconds and 4 git commands to generate.