gobry | e721a52 | 2002-03-22 13:38:30 +0000 | [diff] [blame] | 1 | Summary: Valgrind Memory Debugger |
| 2 | Name: @PACKAGE@ |
| 3 | Version: @VERSION@ |
| 4 | Release: 1 |
njn | 42de53f | 2005-07-26 22:23:08 +0000 | [diff] [blame] | 5 | Epoch: 1 |
| 6 | License: GPL |
| 7 | URL: http://www.valgrind.org/ |
gobry | e721a52 | 2002-03-22 13:38:30 +0000 | [diff] [blame] | 8 | Group: Development/Debuggers |
njn | cb3fca8 | 2009-07-04 00:38:11 +0000 | [diff] [blame] | 9 | Packager: Julian Seward <jseward@acm.org> |
sewardj | 46ff1ba | 2002-09-27 00:42:41 +0000 | [diff] [blame] | 10 | Source: @PACKAGE@-@VERSION@.tar.bz2 |
gobry | e721a52 | 2002-03-22 13:38:30 +0000 | [diff] [blame] | 11 | |
njn | 42de53f | 2005-07-26 22:23:08 +0000 | [diff] [blame] | 12 | Buildroot: %{_tmppath}/%{name}-root |
gobry | e721a52 | 2002-03-22 13:38:30 +0000 | [diff] [blame] | 13 | |
| 14 | %description |
| 15 | |
njn | cb3fca8 | 2009-07-04 00:38:11 +0000 | [diff] [blame] | 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. |
gobry | e721a52 | 2002-03-22 13:38:30 +0000 | [diff] [blame] | 22 | |
| 23 | %prep |
| 24 | %setup -n @PACKAGE@-@VERSION@ |
| 25 | |
| 26 | %build |
njn | 42de53f | 2005-07-26 22:23:08 +0000 | [diff] [blame] | 27 | %configure |
gobry | e721a52 | 2002-03-22 13:38:30 +0000 | [diff] [blame] | 28 | make |
| 29 | |
| 30 | %install |
mueller | b3be942 | 2004-01-24 22:32:56 +0000 | [diff] [blame] | 31 | make install DESTDIR=$RPM_BUILD_ROOT |
gobry | e721a52 | 2002-03-22 13:38:30 +0000 | [diff] [blame] | 32 | |
njn | 42de53f | 2005-07-26 22:23:08 +0000 | [diff] [blame] | 33 | %makeinstall |
| 34 | mkdir docs.installed |
| 35 | mv $RPM_BUILD_ROOT%{_datadir}/doc/valgrind/* docs.installed/ |
| 36 | |
gobry | e721a52 | 2002-03-22 13:38:30 +0000 | [diff] [blame] | 37 | %files |
gobry | bcd3ed3 | 2002-09-02 11:31:21 +0000 | [diff] [blame] | 38 | %defattr(-,root,root) |
njn | cb3fca8 | 2009-07-04 00:38:11 +0000 | [diff] [blame] | 39 | %doc AUTHORS COPYING FAQ.txt NEWS README* |
sewardj | 4d758f3 | 2008-08-19 09:52:10 +0000 | [diff] [blame] | 40 | %doc docs.installed/html/*.html docs.installed/html/images/*.png |
njn | 42de53f | 2005-07-26 22:23:08 +0000 | [diff] [blame] | 41 | %{_bindir}/* |
| 42 | %{_includedir}/valgrind |
| 43 | %{_libdir}/valgrind |
| 44 | %{_libdir}/pkgconfig/* |
gobry | e721a52 | 2002-03-22 13:38:30 +0000 | [diff] [blame] | 45 | |
| 46 | %doc |
njn | 42de53f | 2005-07-26 22:23:08 +0000 | [diff] [blame] | 47 | %defattr(-,root,root) |
| 48 | %{_mandir}/*/* |
gobry | e721a52 | 2002-03-22 13:38:30 +0000 | [diff] [blame] | 49 | |
| 50 | %clean |
| 51 | [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf ${RPM_BUILD_ROOT} |