Blame SPECS/netavark.spec

a9ce23
# debuginfo doesn't work yet
a9ce23
%global debug_package %{nil}
a9ce23
a9ce23
Epoch: 2
a9ce23
Name: netavark
a9ce23
Version: 1.5.0
a9ce23
Release: 4%{?dist}
a9ce23
License: ASL 2.0 and BSD and MIT
a9ce23
ExclusiveArch: %{rust_arches}
a9ce23
Summary: OCI network stack
a9ce23
URL: https://github.com/containers/%{name}
a9ce23
Source0: %{url}/archive/v%{version}/%{version}.tar.gz
a9ce23
Source1: %{url}/releases/download/v%{version}/%{name}-v%{version}-vendor.tar.gz
a9ce23
Source2: netavark.1
a9ce23
BuildRequires: cargo
a9ce23
Recommends: aardvark-dns >= 1.0.3
a9ce23
Provides: container-network-stack = 2
a9ce23
BuildRequires: make
a9ce23
BuildRequires: rust-srpm-macros
a9ce23
BuildRequires: git-core
a9ce23
BuildRequires: protobuf-compiler
a9ce23
BuildRequires: protobuf-c
a9ce23
BuildRequires: gcc
a9ce23
# https://github.com/containers/netavark/issues/578
a9ce23
ExcludeArch: i686
a9ce23
a9ce23
%description
a9ce23
%{summary}
a9ce23
a9ce23
Netavark is a rust based network stack for containers. It is being
a9ce23
designed to work with Podman but is also applicable for other OCI
a9ce23
container management applications.
a9ce23
a9ce23
Netavark is a tool for configuring networking for Linux containers.
a9ce23
Its features include:
a9ce23
* Configuration of container networks via JSON configuration file
a9ce23
* Creation and management of required network interfaces,
a9ce23
    including MACVLAN networks
a9ce23
* All required firewall configuration to perform NAT and port
a9ce23
    forwarding as required for containers
a9ce23
* Support for iptables and firewalld at present, with support
a9ce23
    for nftables planned in a future release
a9ce23
* Support for rootless containers
a9ce23
* Support for IPv4 and IPv6
a9ce23
* Support for container DNS resolution via aardvark-dns.
a9ce23
a9ce23
%prep
a9ce23
%autosetup -Sgit
a9ce23
tar fx %{SOURCE1}
a9ce23
mkdir -p .cargo
a9ce23
a9ce23
cat >.cargo/config << EOF
a9ce23
[source.crates-io]
a9ce23
replace-with = "vendored-sources"
a9ce23
a9ce23
[net]
a9ce23
offline = true
a9ce23
a9ce23
[source."https://github.com/containers/netavark-dhcp-proxy"]
a9ce23
git = "https://github.com/containers/netavark-dhcp-proxy"
a9ce23
replace-with = "vendored-sources"
a9ce23
a9ce23
[source.vendored-sources]
a9ce23
directory = "vendor"
a9ce23
EOF
a9ce23
a9ce23
%build
a9ce23
%{__make} build
a9ce23
a9ce23
cd docs
a9ce23
cp %{SOURCE2} .
a9ce23
a9ce23
%install
a9ce23
%{__make} DESTDIR=%{buildroot} PREFIX=%{_prefix} install
a9ce23
a9ce23
%files
a9ce23
%license LICENSE
a9ce23
%dir %{_libexecdir}/podman
a9ce23
%{_libexecdir}/podman/%{name}
a9ce23
%{_mandir}/man1/%{name}.1*
a9ce23
a9ce23
%changelog
a9ce23
* Fri Feb 03 2023 Jindrich Novy <jnovy@redhat.com> - 2:1.5.0-4
a9ce23
- exclude i686
a9ce23
- Related: #2123641
a9ce23
a9ce23
* Fri Feb 03 2023 Jindrich Novy <jnovy@redhat.com> - 2:1.5.0-3
a9ce23
- update build parameters
a9ce23
- Related: #2123641
a9ce23
a9ce23
* Fri Feb 03 2023 Jindrich Novy <jnovy@redhat.com> - 2:1.5.0-2
a9ce23
- always stay offline during build
a9ce23
- Related: #2123641
a9ce23
a9ce23
* Fri Feb 03 2023 Jindrich Novy <jnovy@redhat.com> - 2:1.5.0-1
a9ce23
- update to https://github.com/containers/netavark/releases/tag/v1.5.0
a9ce23
- Related: #2123641
a9ce23
a9ce23
* Thu Dec 08 2022 Jindrich Novy <jnovy@redhat.com> - 2:1.4.0-1
a9ce23
- update to https://github.com/containers/netavark/releases/tag/v1.4.0
a9ce23
- Related: #2123641
a9ce23
a9ce23
* Mon Nov 14 2022 Jindrich Novy <jnovy@redhat.com> - 2:1.3.0-1
a9ce23
- update to https://github.com/containers/netavark/releases/tag/v1.3.0
a9ce23
- Related: #2123641
a9ce23
a9ce23
* Wed Sep 28 2022 Jindrich Novy <jnovy@redhat.com> - 2:1.2.0-1
a9ce23
- update to https://github.com/containers/netavark/releases/tag/v1.2.0
a9ce23
- Resolves: #2116481
a9ce23
a9ce23
* Tue Aug 09 2022 Jindrich Novy <jnovy@redhat.com> - 2:1.1.0-6
a9ce23
- bump Epoch to preserve upgrade path
a9ce23
- Related: #2061390
a9ce23
a9ce23
* Tue Aug 09 2022 Jindrich Novy <jnovy@redhat.com> - 1.1.0-5
a9ce23
- remove dependency on md2man
a9ce23
- Related: #2061390
a9ce23
a9ce23
* Tue Aug 09 2022 Jindrich Novy <jnovy@redhat.com> - 1.1.0-4
a9ce23
- fix arches
a9ce23
- Related: #2061390
a9ce23
a9ce23
* Tue Aug 09 2022 Jindrich Novy <jnovy@redhat.com> - 1.1.0-3
a9ce23
- add gating.yaml
a9ce23
- Related: #2061390
a9ce23
a9ce23
* Thu Aug 04 2022 Jindrich Novy <jnovy@redhat.com> - 1.1.0-2
a9ce23
- require /usr/bin/go-md2man directly
a9ce23
a9ce23
* Wed Aug 03 2022 Jindrich Novy <jnovy@redhat.com> - 1.1.0-1
a9ce23
- initial import
a9ce23
- Related: #2061390