]> git.pld-linux.org Git - packages/rteval.git/blob - rteval.spec
f84a9d0b44c196e3ecc44192d9e2ac70113f5480
[packages/rteval.git] / rteval.spec
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
5 Version:        3.3
6 Release:        0.1
7 License:        GPL v2
8 Group:          Applications/System
9 Source0:        https://www.kernel.org/pub/linux/utils/rteval/%{name}-%{version}.tar.xz
10 # Source0-md5:  ee7a7936e7b0e221975176503375a2fb
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
16 BuildRequires:  xz
17 Requires:       numactl
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
24 Requires:       sysstat
25 Requires:       trace-cmd
26 # TODO:
27 #Requires:      python3-dmidecode >= 3.10
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
53 %py3_build
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57
58 %py3_install
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
68 %{py3_sitescriptdir}/rteval
69 %{py3_sitescriptdir}/rteval-%{version}-py*.egg-info
70 %{_datadir}/rteval
71 %{_mandir}/man8/rteval.8*
This page took 0.099745 seconds and 2 git commands to generate.