2 Summary: An open-source memory debugger for x86-GNU/Linux
3 Summary(pl): Otwarty odpluskwiacz pamiêci dla Linuksa x86
8 Group: Development/Tools
9 #Source0: http://developer.kde.org/~sewardj/valgrind-%{version}.tar.bz2
10 Source0: %{name}-%{snap}.tar.bz2
11 # Source0-md5: 1a12c4a131531023f4c0bfc62f6ff744
12 Patch0: %{name}-gcc34.patch
13 URL: http://valgrind.kde.org/
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 GPL'd system for debugging and profiling x86-Linux
27 programs. With the tools that come with Valgrind, you can
28 automatically detect many memory management and threading bugs,
29 avoiding hours of frustrating bug-hunting, making your programs more
30 stable. You can also perform detailed profiling to help speed up your
34 Valgrind jest systemem s³u¿±cym do odpluskwiania i profilowania
35 programów na Linuksie uruchomionym na procesorach x86. U¿ywaj±c
36 dostarczanych z nim narzêdzi mo¿na automatycznie wykrywaæ wiele
37 b³êdów zwi±zanych z zarz±dzaniem pamiêci± i w±tkowaniem, dziêki
38 czemu unika siê frustruj±cego polowania na b³êdy, a tak¿e czyni
39 siê programy bardziej stabilnymi. Mo¿liwe jest równie¿ dok³adne
40 profilowanie, dziêki któremu programy zaczn± szybciej pracowaæ.
52 LDFLAGS="" # no strip!
56 rm -rf $RPM_BUILD_ROOT
59 DESTDIR=$RPM_BUILD_ROOT
61 strip $RPM_BUILD_ROOT%{_libdir}/%{name}/hp2ps
64 rm -rf $RPM_BUILD_ROOT
67 %defattr(644,root,root,755)
68 %doc ACKNOWLEDGEMENTS AUTHORS FAQ.txt NEWS README README_MISSING_SYSCALL_OR_IOCTL TODO
69 %doc $RPM_BUILD_ROOT%{_docdir}/valgrind/*.html
70 %attr(755,root,root) %{_bindir}/*
71 %dir %{_libdir}/%{name}
72 %attr(755,root,root) %{_libdir}/%{name}/*.so
73 %{_libdir}/%{name}/*.so.*
74 %attr(755,root,root) %{_libdir}/%{name}/hp2ps
75 %attr(755,root,root) %{_libdir}/%{name}/stage2
76 %{_libdir}/%{name}/*.supp