Summary: An open-source memory debugger for x86-GNU/Linux
Summary(pl): Otwarty odpluskwiacz pamiêci dla Linuksa x86
Name: valgrind
-Version: 1.0.0
+Version: 1.9.3
Release: 1
License: GPL
ExclusiveArch: %{ix86}
BuildRequires: automake
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-# valgrind binaries should _never_ be stripped
-# anyone knows better solution?
-%define debug 1
+# 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 tool to help you find memory-management problems
%build
rm -f missing
-aclocal
+%{__aclocal}
%{__autoconf}
%{__automake}
-%configure
+%configure \
+ LDFLAGS="" # no strip!
%{__make}
%install
%defattr(644,root,root,755)
%doc ACKNOWLEDGEMENTS AUTHORS ChangeLog PATCHES_APPLIED
%doc README README_MISSING_SYSCALL_OR_IOCTL TODO
-%doc docs/*.html
+%doc $RPM_BUILD_ROOT%{_docdir}/valgrind/*.html
%attr(755,root,root) %{_bindir}/*
%{_includedir}/*
%{_libdir}/%{name}