]>
Commit | Line | Data |
---|---|---|
5baca2f8 JB |
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 | |
4 | Name: rteval | |
84f9f8d8 | 5 | Version: 3.3 |
5baca2f8 JB |
6 | Release: 0.1 |
7 | License: GPL v2 | |
8 | Group: Applications/System | |
bc0836e3 | 9 | Source0: https://www.kernel.org/pub/linux/utils/rteval/%{name}-%{version}.tar.xz |
84f9f8d8 | 10 | # Source0-md5: ee7a7936e7b0e221975176503375a2fb |
5baca2f8 | 11 | URL: https://wiki.linuxfoundation.org/realtime/documentation/howto/tools/rteval |
bc0836e3 | 12 | BuildRequires: python3 >= 1:3.2 |
5baca2f8 JB |
13 | BuildRequires: rpm-pythonprov |
14 | BuildRequires: rpmbuild(macros) >= 1.714 | |
15 | BuildRequires: tar >= 1:1.22 | |
16 | BuildRequires: xz | |
17 | Requires: numactl | |
bc0836e3 JB |
18 | Requires: python3-ethtool |
19 | Requires: python3-libxml2 | |
20 | Requires: python3-lxml | |
21 | Requires: python3-modules >= 1:3.2 | |
22 | Requires: python3-schedutils | |
5baca2f8 JB |
23 | Requires: rt-tests >= 0.97 |
24 | Requires: sysstat | |
25 | Requires: trace-cmd | |
26 | # TODO: | |
bc0836e3 | 27 | #Requires: python3-dmidecode >= 3.10 |
5baca2f8 JB |
28 | #Requires: rteval-loads >= 1.4 |
29 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
30 | ||
31 | %description | |
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 | |
38 | to the screen. | |
39 | ||
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 | |
47 | reakcji. | |
48 | ||
49 | %prep | |
50 | %setup -q | |
51 | ||
52 | %build | |
bc0836e3 | 53 | %py3_build |
5baca2f8 JB |
54 | |
55 | %install | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
bc0836e3 | 58 | %py3_install |
5baca2f8 JB |
59 | |
60 | %clean | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
63 | %files | |
64 | %defattr(644,root,root,755) | |
65 | %doc README TODO | |
66 | %attr(755,root,root) %{_bindir}/rteval | |
67 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rteval.conf | |
bc0836e3 JB |
68 | %{py3_sitescriptdir}/rteval |
69 | %{py3_sitescriptdir}/rteval-%{version}-py*.egg-info | |
5baca2f8 JB |
70 | %{_datadir}/rteval |
71 | %{_mandir}/man8/rteval.8* |