###############################################################################
name = iptraf-ng
-version = 1.1.3.1
+version = 1.2.1
release = 1
groups = Networking/Tools
-url = https://fedorahosted.org/iptraf-ng/
+url = https://github.com/iptraf-ng/iptraf-ng
license = GPLv2+
summary = A console-based network monitoring utility.
on a wide variety of supported network cards.
end
-source_dl = https://fedorahosted.org/releases/i/p/iptraf-ng/
+source_dl = https://github.com/iptraf-ng/iptraf-ng/archive/refs/tags/v%{version}.tar.gz#/
build
requires
ncurses-devel
end
+ make_install_targets += prefix=%{prefix}
+
install_cmds
mkdir -pv %{BUILDROOT}%{localstatedir}/{lock,log,lib}/iptraf-ng
end