Debian Codegraph @

packaging/rpm/flent.spec

raw
1 %global srcname flent
2
3 Name: flent
4 Version: 2.3.0
5 Release: 1%{?dist}
6 Summary: FLExible Network Tester for bufferbloat testing and more
7
8 License: GPLv3+
9 URL: https://flent.org/
10 Source0: %{pypi_source}
11
12 BuildArch: noarch
13 BuildRequires: python3-devel python3-sphinx desktop-file-utils libappstream-glib python3-setuptools make
14 Recommends: python3-matplotlib python3-matplotlib-qt6 python3-pyside6 python3-QtPy
15
16 %description
17 The FLExible Network Tester is a Python wrapper to run multiple simultaneous
18 netperf/iperf/ping instances and aggregate the results.
19
20 Tests are specified as config files (which are really Python), and
21 various parsers for tool output are supplied. At the moment, parsers for
22 netperf in -D mode, iperf in csv mode and ping/ping6 in -D mode are
23 supplied, as well as a generic parser for commands that just outputs a
24 single number.
25
26 Several commands can be run in parallel and, provided they output
27 timestamped values, (which netperf ping and iperf do, the latter with a
28 small patch, available in the misc/ directory), the test data points can
29 be aligned with each other in time, interpolating differences between
30 the actual measurement points. This makes it possible to graph (e.g.)
31 ping times before, during and after a link is loaded.
32
33 %package doc
34 Summary: Documentation for Flent: The FLExible Network Tester
35 BuildArch: noarch
36
37 %description doc
38 Documentation for users of The FLExible Network Tester
39
40 The FLExible Network Tester is a Python wrapper to run multiple simultaneous
41 netperf/iperf/ping instances and aggregate the results.
42
43 Tests are specified as config files (which are really Python), and
44 various parsers for tool output are supplied. At the moment, parsers for
45 netperf in -D mode, iperf in csv mode and ping/ping6 in -D mode are
46 supplied, as well as a generic parser for commands that just outputs a
47 single number.
48
49 Several commands can be run in parallel and, provided they output
50 timestamped values, (which netperf ping and iperf do, the latter with a
51 small patch, available in the misc/ directory), the test data points can
52 be aligned with each other in time, interpolating differences between
53 the actual measurement points. This makes it possible to graph (e.g.)
54 ping times before, during and after a link is loaded.
55
56 %prep
57 %autosetup -n %{srcname}-%{version}
58
59
60 %build
61 %py3_build
62 %make_build -C doc/ html PYTHON=%{__python3} SPHINXBUILD=sphinx-build-3
63 rm -f doc/_build/html/index.html doc/_build/html/.buildinfo
64
65 %install
66 %py3_install
67
68 %check
69 %make_build test PYTHON=%{__python3}
70 desktop-file-validate %{buildroot}/%{_datadir}/applications/flent.desktop
71 appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.appdata.xml
72
73 %files
74 %{python3_sitelib}/flent
75 %{python3_sitelib}/%{srcname}-*.egg-info/
76 %{_bindir}/flent
77 %{_bindir}/flent-gui
78 %{_datadir}/applications/flent.desktop
79 %{_datadir}/mime/packages/flent-mime.xml
80 %{_metainfodir}/flent.appdata.xml
81 %{_mandir}/man1/flent.1.gz
82 %doc README.rst CHANGES.md BUGS flentrc.example batchfile.example flent-paper.batch power-usage.batch misc/
83 %license LICENSE
84
85 %files doc
86 %doc doc/_build/html
87
88 %changelog
89 * Tue Jun 16 2026 Toke Høiland-Jørgensen <[email protected]> 2.3.0-1
90 - Upstream release 2.3.0
91
92 * Tue Jun 16 2026 Toke Høiland-Jørgensen <[email protected]> 2.3.0-1
93 - Upstream release 2.3.0
94
95 * Tue Sep 10 2024 Toke Høiland-Jørgensen <[email protected]> 2.2.0-1
96 - Upstream release 2.2.0
97
98 * Wed Nov 2 2022 Toke Høiland-Jørgensen <[email protected]> 2.1.1-1
99 - Upstream release 2.1.1
100
101 * Wed Nov 2 2022 Toke Høiland-Jørgensen <[email protected]> 2.1.0-1
102 - Upstream release 2.1.0
103
104 * Thu Jun 24 2021 Toke Høiland-Jørgensen <[email protected]> 2.0.1-1
105 - Upstream release 2.0.1
106
107 * Thu Jan 14 2021 Toke Høiland-Jørgensen <[email protected]> 2.0.0-1
108 - Upstream release 2.0.0
109
110 * Tue Jul 9 2019 Toke Høiland-Jørgensen <[email protected]> 1.3.0-1
111 - Upstream release 1.3.0
112
113 * Mon Jul 8 2019 Toke Høiland-Jørgensen <[email protected]> 1.2.2-1
114 - Initial release