1Summary: Valgrind Memory Debugger 2Name: @PACKAGE@ 3Version: @VERSION@ 4Release: 1 5Epoch: 1 6License: GPL 7URL: http://www.valgrind.org/ 8Group: Development/Debuggers 9Packager: Julian Seward <jseward@acm.org> 10Source: @PACKAGE@-@VERSION@.tar.bz2 11 12Buildroot: %{_tmppath}/%{name}-root 13 14%description 15 16Valgrind is an award-winning instrumentation framework for building dynamic 17analysis tools. There are Valgrind tools that can automatically detect many 18memory management and threading bugs, and profile your programs in detail. You 19can also use Valgrind to build new tools. Valgrind runs on the following 20platforms: x86/Linux, AMD64/Linux, PPC32/Linux, PPC64/Linux, x86/MacOSX, 21AMD64/MacOSX. 22 23%prep 24%setup -n @PACKAGE@-@VERSION@ 25 26%build 27%configure 28make 29 30%install 31make install DESTDIR=$RPM_BUILD_ROOT 32 33%makeinstall 34mkdir docs.installed 35mv $RPM_BUILD_ROOT%{_datadir}/doc/valgrind/* docs.installed/ 36 37%files 38%defattr(-,root,root) 39%doc AUTHORS COPYING FAQ.txt NEWS README* 40%doc docs.installed/html/*.html docs.installed/html/images/*.png 41%{_bindir}/* 42%{_includedir}/valgrind 43%{_libdir}/valgrind 44%{_libdir}/pkgconfig/* 45 46%doc 47%defattr(-,root,root) 48%{_mandir}/*/* 49 50%clean 51[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf ${RPM_BUILD_ROOT} 52