]>
Commit | Line | Data |
---|---|---|
185baaca JK |
1 | # TODO: |
2 | # - package the 'backfire' kernel module properly | |
3 | ||
4 | Summary: Programs that test various rt-linux features | |
5 | Name: rt-tests | |
6 | Version: 1.0 | |
7 | Release: 1 | |
8 | License: GPL v2 | |
9 | Group: Applications | |
10 | Source0: https://www.kernel.org/pub/linux/utils/rt-tests/%{name}-%{version}.tar.xz | |
11 | # Source0-md5: 3818d2d0a3069291864bf85fde40883b | |
12 | URL: https://rt.wiki.kernel.org/index.php/Cyclictest | |
13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
14 | ||
15 | %description | |
16 | Programs that test various rt-linux features. | |
17 | ||
18 | %prep | |
19 | %setup -q | |
20 | ||
21 | %build | |
22 | %{__make} \ | |
23 | prefix="%{_prefix}" \ | |
24 | CC="%{__cc}" \ | |
25 | CFLAGS="%{rpmcflags}" \ | |
26 | LDFLAGS="%{rpmldflags}" | |
27 | ||
28 | %install | |
29 | rm -rf $RPM_BUILD_ROOT | |
30 | ||
31 | %{__make} install \ | |
32 | DESTDIR=$RPM_BUILD_ROOT \ | |
33 | prefix="%{_prefix}" \ | |
34 | PYLIB="%{py_sitescriptdir}" \ | |
35 | srcdir="%{_prefix}/src/%{name}-%{version}" | |
36 | ||
37 | %clean | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | ||
40 | %files | |
41 | %defattr(644,root,root,755) | |
42 | %doc README.markdown MAINTAINERS | |
43 | %attr(755,root,root) %{_bindir}/cyclictest | |
44 | %attr(755,root,root) %{_bindir}/hackbench | |
45 | %attr(755,root,root) %{_bindir}/hwlatdetect | |
46 | %attr(755,root,root) %{_bindir}/pi_stress | |
47 | %attr(755,root,root) %{_bindir}/pip_stress | |
48 | %attr(755,root,root) %{_bindir}/pmqtest | |
49 | %attr(755,root,root) %{_bindir}/ptsematest | |
50 | %attr(755,root,root) %{_bindir}/rt-migrate-test | |
51 | %attr(755,root,root) %{_bindir}/sendme | |
52 | %attr(755,root,root) %{_bindir}/signaltest | |
53 | %attr(755,root,root) %{_bindir}/sigwaittest | |
54 | %attr(755,root,root) %{_bindir}/svsematest | |
55 | %{_mandir}/man4/backfire.4* | |
56 | %{_mandir}/man8/cyclictest.8* | |
57 | %{_mandir}/man8/hackbench.8* | |
58 | %{_mandir}/man8/hwlatdetect.8* | |
59 | %{_mandir}/man8/pi_stress.8* | |
60 | %{_mandir}/man8/pmqtest.8* | |
61 | %{_mandir}/man8/ptsematest.8* | |
62 | %{_mandir}/man8/sendme.8* | |
63 | %{_mandir}/man8/signaltest.8* | |
64 | %{_mandir}/man8/sigwaittest.8* | |
65 | %{_mandir}/man8/svsematest.8* | |
66 | %{py_sitescriptdir}/hwlatdetect.py | |
67 | %{_prefix}/src/%{name}-%{version} |