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 |
| 5 | Copyright: GPL |
| 6 | Group: Development/Debuggers |
sewardj | b4db402 | 2002-12-08 22:19:04 +0000 | [diff] [blame] | 7 | Packager: Jeremy Fitzhardinge <jeremy@goop.org> |
sewardj | 46ff1ba | 2002-09-27 00:42:41 +0000 | [diff] [blame] | 8 | Source: @PACKAGE@-@VERSION@.tar.bz2 |
gobry | e721a52 | 2002-03-22 13:38:30 +0000 | [diff] [blame] | 9 | |
| 10 | Buildroot: %{_tmppath}/@PACKAGE@ |
| 11 | |
| 12 | %description |
| 13 | |
| 14 | Valgrind is a GPL'd tool to help you find memory-management problems |
| 15 | in your programs. When a program is run under Valgrind's supervision, |
| 16 | all reads and writes of memory are checked, and calls to |
| 17 | malloc/new/free/delete are intercepted. As a result, Valgrind can |
| 18 | detect problems such as: |
| 19 | |
| 20 | - Use of uninitialised memory |
| 21 | - Reading/writing memory after it has been free'd |
| 22 | - Reading/writing off the end of malloc'd blocks |
| 23 | - Reading/writing inappropriate areas on the stack |
| 24 | - Memory leaks -- where pointers to malloc'd blocks are lost forever |
| 25 | - Passing of uninitialised and/or unaddressible memory to system calls |
| 26 | - Mismatched use of malloc/new/new [] vs free/delete/delete [] |
sewardj | da5402c | 2002-07-13 12:37:28 +0000 | [diff] [blame] | 27 | - Some abuses of the POSIX Pthreads API |
gobry | e721a52 | 2002-03-22 13:38:30 +0000 | [diff] [blame] | 28 | |
| 29 | %prep |
| 30 | %setup -n @PACKAGE@-@VERSION@ |
| 31 | |
| 32 | %build |
| 33 | ./configure --prefix=/usr |
| 34 | make |
| 35 | |
| 36 | %install |
| 37 | make install prefix=$RPM_BUILD_ROOT/usr |
| 38 | |
| 39 | %files |
gobry | bcd3ed3 | 2002-09-02 11:31:21 +0000 | [diff] [blame] | 40 | %defattr(-,root,root) |
sewardj | b4db402 | 2002-12-08 22:19:04 +0000 | [diff] [blame] | 41 | /usr/include/valgrind/valgrind.h |
| 42 | /usr/include/valgrind/memcheck.h |
| 43 | /usr/include/valgrind/helgrind.h |
gobry | e721a52 | 2002-03-22 13:38:30 +0000 | [diff] [blame] | 44 | /usr/bin/valgrind |
sewardj | c5bbdab | 2002-09-27 09:40:52 +0000 | [diff] [blame] | 45 | /usr/bin/cg_annotate |
gobry | e721a52 | 2002-03-22 13:38:30 +0000 | [diff] [blame] | 46 | /usr/lib/valgrind/* |
njn | ec72b7d | 2003-04-22 21:47:56 +0000 | [diff] [blame] | 47 | /usr/bin/valgrind-listener |
gobry | e721a52 | 2002-03-22 13:38:30 +0000 | [diff] [blame] | 48 | |
| 49 | %doc |
| 50 | /usr/share/doc/valgrind/* |
| 51 | |
| 52 | %clean |
| 53 | [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf ${RPM_BUILD_ROOT} |