# # spec file for package ipvsadm # # Copyright (c) 2023 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/ # #Compat macro for new _fillupdir macro introduced in Nov 2017 %if ! %{defined _fillupdir} %define _fillupdir /var/adm/fillup-templates %endif Name: ipvsadm BuildRequires: kernel-source BuildRequires: pkgconfig BuildRequires: popt-devel BuildRequires: systemd-rpm-macros BuildRequires: pkgconfig(libnl-3.0) BuildRequires: pkgconfig(libnl-genl-3.0) Summary: A Utility for Administering the Linux Virtual Server License: GPL-2.0-or-later Group: Productivity/Networking/System Version: 1.31 Release: 0 URL: http://www.linuxvirtualserver.org/ Source0: https://www.kernel.org/pub/linux/utils/kernel/ipvsadm/%{name}-%{version}.tar.xz Source1: ipvsadm.service Patch0: ipvsadm-makefile.patch Patch1: ipvsadm-print_largenum.patch Provides: %{name}-%{version} Requires: grep Requires(pre): %fillup_prereq %{?systemd_requires} %description ipvsadm is a utility for administering the IP virtual server services offered by the Linux kernel with Linux Virtual Server support. %prep %autosetup # This files are embedded here instead of being another source in order # to the prefix directory cat >sysconfig.ipvsadm <ipvsadm.rules <