Elliott Hughes | a0664b9 | 2017-04-18 17:46:52 -0700 | [diff] [blame] | 1 | Summary: Valgrind Memory Debugger |
| 2 | Name: valgrind |
Elliott Hughes | ed39800 | 2017-06-21 14:41:24 -0700 | [diff] [blame] | 3 | Version: 3.13.0 |
Elliott Hughes | a0664b9 | 2017-04-18 17:46:52 -0700 | [diff] [blame] | 4 | Release: 1 |
| 5 | Epoch: 1 |
| 6 | License: GPL |
| 7 | URL: http://www.valgrind.org/ |
| 8 | Group: Development/Debuggers |
| 9 | Packager: Julian Seward <jseward@acm.org> |
Elliott Hughes | ed39800 | 2017-06-21 14:41:24 -0700 | [diff] [blame] | 10 | Source: valgrind-3.13.0.tar.bz2 |
Elliott Hughes | a0664b9 | 2017-04-18 17:46:52 -0700 | [diff] [blame] | 11 | |
| 12 | Buildroot: %{_tmppath}/%{name}-root |
| 13 | |
| 14 | %description |
| 15 | |
| 16 | Valgrind is an award-winning instrumentation framework for building dynamic |
| 17 | analysis tools. There are Valgrind tools that can automatically detect many |
| 18 | memory management and threading bugs, and profile your programs in detail. You |
| 19 | can also use Valgrind to build new tools. Valgrind runs on the following |
| 20 | platforms: x86/Linux, AMD64/Linux, PPC32/Linux, PPC64/Linux, x86/MacOSX, |
| 21 | AMD64/MacOSX. |
| 22 | |
| 23 | %prep |
Elliott Hughes | ed39800 | 2017-06-21 14:41:24 -0700 | [diff] [blame] | 24 | %setup -n valgrind-3.13.0 |
Elliott Hughes | a0664b9 | 2017-04-18 17:46:52 -0700 | [diff] [blame] | 25 | |
| 26 | %build |
| 27 | %configure |
| 28 | make |
| 29 | |
| 30 | %install |
| 31 | make install DESTDIR=$RPM_BUILD_ROOT |
| 32 | |
| 33 | %makeinstall |
| 34 | mkdir docs.installed |
| 35 | mv $RPM_BUILD_ROOT%{_datadir}/doc/valgrind/* docs.installed/ |
| 36 | |
| 37 | %files |
| 38 | %defattr(-,root,root) |
| 39 | %doc AUTHORS COPYING FAQ.txt NEWS NEWS.old 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} |