1 # TODO: loads (see rteval-loads.spec), server parts (see server/rteval-parser.spec)
2 Summary: Utility to evaluate system suitability for RT Linux
3 Summary(pl.UTF-8): Narzędzie do szacowania przydatkości systemu dla Linuksa RT
8 Group: Applications/System
9 Source0: https://www.kernel.org/pub/linux/utils/rteval/%{name}-%{version}.tar.xz
10 # Source0-md5: 97b5bc91b778baf92faa7ca8b5aed9db
11 URL: https://wiki.linuxfoundation.org/realtime/documentation/howto/tools/rteval
12 BuildRequires: python3 >= 1:3.2
13 BuildRequires: rpm-pythonprov
14 BuildRequires: rpmbuild(macros) >= 1.714
15 BuildRequires: tar >= 1:1.22
18 Requires: python3-ethtool
19 Requires: python3-libxml2
20 Requires: python3-lxml
21 Requires: python3-modules >= 1:3.2
22 Requires: python3-schedutils
23 Requires: rt-tests >= 0.97
27 #Requires: python3-dmidecode >= 3.10
28 #Requires: rteval-loads >= 1.4
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 The rteval script is a utility for measuring various aspects of
33 realtime behavior on a system under load. The script unpacks the
34 kernel source, and then goes into a loop, running hackbench and
35 compiling a kernel tree. During that loop the cyclictest program is
36 run to measure event response time. After the run time completes, a
37 statistical analysis of the event response times is done and printed
40 %description -l pl.UTF-8
41 Skrypt rteval to narzędzie mierzące różne aspekty zachowania czasu
42 rzeczywistego w systemie pod obciążeniem. Skrypt rozpakowuje źródła
43 jądra, a następnie wchodzi w pętlę, uruchamiając hackbench i
44 kompilację jądra. W trakcie tej pętli uruchamiany jest program
45 cyclictest, mierzący czas reakcji na zdarzenia. Po zakończeniu
46 działania jest wykonywana i wypisywana analiza statystyczna czasów
56 rm -rf $RPM_BUILD_ROOT
61 rm -rf $RPM_BUILD_ROOT
64 %defattr(644,root,root,755)
66 %attr(755,root,root) %{_bindir}/rteval
67 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rteval.conf
68 %{py3_sitescriptdir}/rteval
69 %{py3_sitescriptdir}/rteval-%{version}-py*.egg-info
71 %{_mandir}/man8/rteval.8*