# This builds the package from the source tree that this file is in. Use # build.sh next to it, which creates the tarball and sets the version. # The version is being set by build.sh %{!?fireperf_version: %global fireperf_version 0.3.0} Name: fireperf Version: %{fireperf_version} Release: 1%{?dist} Summary: Network benchmarking tool that tests what is in between License: GPL-3.0-or-later URL: https://www.ipfire.org/ Source0: %{name}.tar.gz BuildRequires: asciidoc BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc BuildRequires: intltool BuildRequires: libtool BuildRequires: make BuildRequires: pkgconfig BuildRequires: pkgconfig(liburing) BuildRequires: pkgconfig(ncursesw) BuildRequires: systemd-rpm-macros # What the tests need. openSUSE Tumbleweed does not have iperf3 (any more), # and the tests that need it are being skipped there. %if ! 0%{?suse_version} BuildRequires: iperf3 %endif BuildRequires: python3 %if 0%{?suse_version} BuildRequires: docbook-xsl-stylesheets BuildRequires: gettext-tools BuildRequires: libxslt-tools %else BuildRequires: docbook-style-xsl BuildRequires: gettext-devel BuildRequires: libxslt %endif %description fireperf measures the throughput of a network between a client and a server, and how many connections can be opened and kept open between them. It is meant to test what is in between, like a firewall or a NAT gateway. It shows a live graph when it is started on a terminal, and prints plain text or JSON otherwise. It can talk to iperf3 and iperf, too. %prep %setup -q -n %{name} %build ./autogen.sh %configure %make_build %install %make_install %find_lang %{name} %check make check %{?_smp_mflags} || (cat test-suite.log; exit 1) %files -f %{name}.lang %license COPYING %doc README.md %{_bindir}/fireperf %{_mandir}/man7/fireperf-design.7* %{_mandir}/man8/fireperf.8* %{_unitdir}/fireperf.service %changelog * Fri Oct 16 2026 Michael Tremer - 0.3.0-1 - Release 0.3.0 * Thu Oct 15 2026 Michael Tremer - 0.2.0-1 - Build packages from the source tree