forked from pool/nftlb
Jan Engelhardt
2aad5de17e
OBS-URL: https://build.opensuse.org/package/show/security:netfilter/nftlb?expand=0&rev=1
61 lines
1.7 KiB
RPMSpec
61 lines
1.7 KiB
RPMSpec
#
|
|
# spec file for package nftlb
|
|
#
|
|
# Copyright (c) 2020 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: nftlb
|
|
Version: 0.6
|
|
Release: 0
|
|
Summary: nftables load balancer
|
|
License: AGPL-3.0-or-later
|
|
Group: Productivity/Networking/Security
|
|
URL: https://www.zevenet.com/knowledge-base/nftlb/what-is-nftlb/
|
|
#Git-Clone: https://github.com/zevenet/nftlb
|
|
Source: https://github.com/zevenet/nftlb/archive/v%version.tar.gz
|
|
|
|
BuildRequires: libtool
|
|
BuildRequires: pkg-config
|
|
BuildRequires: pkgconfig(jansson) >= 2.3
|
|
BuildRequires: pkgconfig(libev)
|
|
BuildRequires: pkgconfig(libmnl) >= 1.0.4
|
|
BuildRequires: pkgconfig(libnftables) >= 0.9
|
|
|
|
%description
|
|
nftlb a user-space tool that builds a complete load balancer and
|
|
traffic distributor using nftables.
|
|
|
|
nftlb is provided with a JSON API, and can be used with a preferred
|
|
service health checker to enable/disable backends or virtual services
|
|
and automate processes with it.
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
autoreconf -fi
|
|
%configure
|
|
make %{?_smp_mflags} V=1
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%files
|
|
%_sbindir/nftlb
|
|
%license LICENSE
|
|
%doc README.md
|
|
|
|
%changelog
|