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