1 |
%define name oprofile |
%define name oprofile |
2 |
%define version 0.9.6 |
%define version 0.9.6 |
3 |
%define rel 3 |
%define rel 3 |
4 |
|
%define subrel 1 |
5 |
|
|
6 |
Summary: Transparent low-overhead system-wide profiler |
Summary: Transparent low-overhead system-wide profiler |
7 |
Name: %name |
Name: %name |
14 |
Patch0: oprofile-0.9.6-qt3and4support.patch |
Patch0: oprofile-0.9.6-qt3and4support.patch |
15 |
# Use -module -avoid-version for agents: |
# Use -module -avoid-version for agents: |
16 |
Patch2: oprofile-agents-ldflags.patch |
Patch2: oprofile-agents-ldflags.patch |
17 |
|
# Patches from Debian |
18 |
|
Patch11: 0001-Sanitize-Event-Names.patch |
19 |
|
Patch12: 0002-Ensure-that-save-only-saves-things-in-SESSION_DIR.patch |
20 |
|
Patch13: 0003-Avoid-blindly-source-SETUP_FILE-with.patch |
21 |
|
Patch14: 0004-Do-additional-checks-on-user-supplied-arguments.patch |
22 |
|
Patch15: 0005-Fix-patch-0003.patch |
23 |
|
|
24 |
Source11: %name-16.png |
Source11: %name-16.png |
25 |
Source12: %name-32.png |
Source12: %name-32.png |
26 |
Source13: %name-48.png |
Source13: %name-48.png |
78 |
|
|
79 |
%prep |
%prep |
80 |
%setup -q |
%setup -q |
81 |
%patch0 -p1 |
%apply_patches |
|
%patch2 -p1 |
|
82 |
|
|
83 |
%build |
%build |
84 |
export QTDIR=%{qt4dir} |
export QTDIR=%{qt4dir} |