2 Summary: An open-source memory debugger for x86-GNU/Linux
3 Summary(pl): Otwarty odpluskwiacz pamiêci dla Linuksa x86
9 Group: Networking/Utilities
10 Source0: http://developer.kde.org/~sewardj/%{name}-%{snap}.tar.bz2
11 # Source0-md5: f09994ef936088d215902548f55c8d68
12 #Source0: %{name}-%{snap}.tar.bz2
13 Patch0: %{name}-sockios.patch
14 URL: http://developer.kde.org/~sewardj/
15 BuildRequires: autoconf
16 BuildRequires: automake
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
75 %{__make} install DESTDIR=$RPM_BUILD_ROOT
78 rm -rf $RPM_BUILD_ROOT
81 %defattr(644,root,root,755)
82 %doc ACKNOWLEDGEMENTS AUTHORS FAQ.txt NEWS PATCHES_APPLIED
83 %doc README README_MISSING_SYSCALL_OR_IOCTL TODO
84 %doc $RPM_BUILD_ROOT%{_docdir}/valgrind/*.html
85 %attr(755,root,root) %{_bindir}/*