]>
Commit | Line | Data |
---|---|---|
b0b4c66b AM |
1 | Summary: Sampling CPU profiler for Linux |
2 | Name: sysprof | |
0d0f51b0 | 3 | Version: 1.1.8 |
19a850ce | 4 | Release: 1 |
b0b4c66b AM |
5 | License: GPL v2 |
6 | Group: Applications/System | |
7 | Source0: http://www.daimi.au.dk/~sandmann/sysprof/%{name}-%{version}.tar.gz | |
0d0f51b0 | 8 | # Source0-md5: a46e24250988d96d8fc7b30773d55222 |
b0b4c66b AM |
9 | URL: http://www.daimi.au.dk/~sandmann/sysprof/ |
10 | BuildRequires: binutils-devel | |
11 | BuildRequires: gtk+2-devel | |
12 | BuildRequires: rpmbuild(macros) >= 1.217 | |
c85f4c39 | 13 | Requires: uname(release) >= 2.6.31 |
14f69233 | 14 | ExclusiveArch: %{ix86} %{x8664} |
b0b4c66b AM |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
16 | ||
17 | %description | |
18 | Sysprof is a sampling CPU profiler for Linux that uses a kernel module | |
19 | to profile the entire system, not just a single application. Sysprof | |
20 | handles shared libraries and applications do not need to be | |
21 | recompiled. In fact they don't even have to be restarted. | |
22 | ||
23 | Just insert the kernel module and start sysprof. | |
24 | ||
b0b4c66b AM |
25 | %prep |
26 | %setup -q | |
27 | ||
28 | %build | |
19a850ce | 29 | %configure |
b0b4c66b | 30 | %{__make} |
b0b4c66b AM |
31 | |
32 | %install | |
33 | rm -rf $RPM_BUILD_ROOT | |
b0b4c66b AM |
34 | %{__make} install \ |
35 | DESTDIR=$RPM_BUILD_ROOT | |
b0b4c66b AM |
36 | |
37 | %clean | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | ||
b0b4c66b AM |
40 | %files |
41 | %defattr(644,root,root,755) | |
42 | %doc AUTHORS ChangeLog README TODO | |
14f69233 ER |
43 | %attr(755,root,root) %{_bindir}/sysprof |
44 | %attr(755,root,root) %{_bindir}/sysprof-cli | |
b0b4c66b AM |
45 | %{_pixmapsdir}/*.png |
46 | %{_datadir}/%{name} | |
19a850ce | 47 | /etc/udev/rules.d/60-sysprof.rules |