2 Summary: An open-source memory debugger for x86-GNU/Linux
3 Summary(pl): Otwarty odpluskwiacz pamiêci dla Linuksa x86
8 Group: Networking/Utilities
9 Source0: http://developer.kde.org/~sewardj/%{name}-%{snap}.tar.bz2
10 # Source0-md5: 4a3d02cb9972af801651cf3effb005eb
11 #Source0: %{name}-%{snap}.tar.bz2
12 Patch0: %{name}-sockios.patch
13 URL: http://developer.kde.org/~sewardj/
14 BuildRequires: autoconf
15 BuildRequires: automake
16 ExclusiveArch: %{ix86}
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 # Valgrind binaries should _never_ be stripped
20 %define no_install_post_strip 1
22 # Same name as libpthread
23 %define _noautoprovfiles %{_libdir}/%{name}/libpthread.so.0 %{_libdir}/%{name}/libpthread.so %{_libdir}/%{name}/valgrind.so %{_libdir}/%{name}/valgrinq.so
26 Valgrind is a flexible tool for debugging and profiling Linux-x86
27 executables. The tool consists of a core, which provides a synthetic
28 x86 CPU in software, and a series of "skins", each of which is a
29 debugging or profiling tool. The architecture is modular, so that new
30 skins can be created easily and without disturbing the existing
33 A number of useful skins are supplied as standard. In summary, these
35 - The memcheck skin detects memory-management problems in your
37 - cachegrind performs detailed simulation of the I1, D1 and L2 caches
38 in your CPU and so can accurately pinpoint the sources of cache misses
40 - addrcheck skin is a lightweight version of memcheck,
41 - helgrind is designed to find data races in multithreaded programs.
44 Valgrind jest elastycznym narzêdziem s³u¿±cym do odpluskwiania i
45 profilowania programów pod Linuksem. Sk³ada siê z rdzenia
46 dostarczaj±cego syntetyczny emulowany procesor zgodny z x86 i ze
47 "skórek" bêd±cych narzêdziami o ró¿nych zastosowaniach. Architektura
48 programu jest modularna, wobec czego ³atwo mo¿na stworzyæ nowe skórki
49 nie ryzykuj±c popsucia reszty.
51 Standardowo dostarczone jest kilka u¿ytecznych skórek:
52 - memcheck wykrywa problemy z zarz±dzaniem pamiêci± w programach,
53 - cachegrind przeprowadza symulacjê pamiêci cache procesora w celu
54 znalezienia miejsc, w których cache zawodzi,
55 - addrcheck jest lekk± wersj± memchecka,
56 - helgrind wykrywa konflikty dostêpu w wielow±tkowych programach.
59 %setup -q -n %{name}-%{snap}
69 LDFLAGS="" # no strip!
73 rm -rf $RPM_BUILD_ROOT
76 DESTDIR=$RPM_BUILD_ROOT
79 rm -rf $RPM_BUILD_ROOT
82 %defattr(644,root,root,755)
83 %doc ACKNOWLEDGEMENTS AUTHORS FAQ.txt NEWS PATCHES_APPLIED
84 %doc README README_MISSING_SYSCALL_OR_IOCTL TODO
85 %doc $RPM_BUILD_ROOT%{_docdir}/valgrind/*.html
86 %attr(755,root,root) %{_bindir}/*