#%define snap 20031012 Summary: An open-source memory debugger for x86-GNU/Linux Summary(pl): Otwarty odpluskwiacz pamięci dla Linuksa x86 Name: valgrind Version: 2.1.0 Release: 1 License: GPL Group: Development/Tools Source0: http://developer.kde.org/~sewardj/valgrind-%{version}.tar.bz2 # Source0-md5: 3e4056dd45163a5f555a23ced2f95191 #Source0: %{name}-%{snap}.tar.bz2 Patch0: %{name}-include_fs.patch URL: http://valgrind.kde.org/ BuildRequires: autoconf BuildRequires: automake ExclusiveArch: %{ix86} BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) # Valgrind binaries should _never_ be stripped %define no_install_post_strip 1 # Same name as libpthread %define _noautoprovfiles %{_libdir}/%{name}/libpthread.so.0 %{_libdir}/%{name}/libpthread.so %{_libdir}/%{name}/valgrind.so %{_libdir}/%{name}/valgrinq.so %description Valgrind is a GPL'd system for debugging and profiling x86-Linux programs. With the tools that come with Valgrind, you can automatically detect many memory management and threading bugs, avoiding hours of frustrating bug-hunting, making your programs more stable. You can also perform detailed profiling to help speed up your programs. %description -l pl Valgrind jest systemem służącym do odpluskwiania i profilowania programów na Linuksie uruchomionym na procesorach x86. Używając dostarczanych z nim narzędzi można automatycznie wykrywać wiele błędów związanych z zarządzaniem pamięcią i wątkowaniem, dzięki czemu unika się frustrującego polowania na błędy, a także czyni się programy bardziej stabilnymi. Możliwe jest również dokładne profilowanie, dzięki któremu programy zaczną szybciej pracować. %prep %setup -q %patch0 -p1 %build %{__aclocal} %{__autoheader} %{__autoconf} %{__automake} %configure \ LDFLAGS="" # no strip! %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc ACKNOWLEDGEMENTS AUTHORS FAQ.txt NEWS PATCHES_APPLIED %doc README README_MISSING_SYSCALL_OR_IOCTL TODO %doc $RPM_BUILD_ROOT%{_docdir}/valgrind/*.html %attr(755,root,root) %{_bindir}/* %{_libdir}/%{name} %{_includedir}/* %{_pkgconfigdir}/*.pc