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 | |
nethercote | 5da1e17 | 2003-12-03 21:44:45 +0000 | [diff] [blame] | 14 | Valgrind is a GPL'd system for debugging and profiling x86-Linux programs. |
| 15 | With the tools that come with Valgrind, you can automatically detect |
| 16 | many memory management and threading bugs, avoiding hours of frustrating |
| 17 | bug-hunting, making your programs more stable. You can also perform |
| 18 | detailed profiling to help speed up your programs. |
gobry | e721a52 | 2002-03-22 13:38:30 +0000 | [diff] [blame] | 19 | |
nethercote | 075a102 | 2004-04-10 00:36:25 +0000 | [diff] [blame] | 20 | The Valgrind distribution includes five tools: two memory error |
| 21 | detectors, a thread error detector, a cache profiler and a heap profiler. |
| 22 | Several other tools have been built with Valgrind. |
gobry | e721a52 | 2002-03-22 13:38:30 +0000 | [diff] [blame] | 23 | |
| 24 | %prep |
| 25 | %setup -n @PACKAGE@-@VERSION@ |
| 26 | |
| 27 | %build |
| 28 | ./configure --prefix=/usr |
| 29 | make |
| 30 | |
| 31 | %install |
mueller | b3be942 | 2004-01-24 22:32:56 +0000 | [diff] [blame] | 32 | make install DESTDIR=$RPM_BUILD_ROOT |
gobry | e721a52 | 2002-03-22 13:38:30 +0000 | [diff] [blame] | 33 | |
| 34 | %files |
gobry | bcd3ed3 | 2002-09-02 11:31:21 +0000 | [diff] [blame] | 35 | %defattr(-,root,root) |
sewardj | b4db402 | 2002-12-08 22:19:04 +0000 | [diff] [blame] | 36 | /usr/include/valgrind/valgrind.h |
| 37 | /usr/include/valgrind/memcheck.h |
| 38 | /usr/include/valgrind/helgrind.h |
nethercote | 4606320 | 2004-09-02 08:51:43 +0000 | [diff] [blame] | 39 | /usr/include/valgrind/tool.h |
mueller | 90fffec | 2003-11-24 21:25:40 +0000 | [diff] [blame] | 40 | /usr/include/valgrind/vg_constants_skin.h |
| 41 | /usr/include/valgrind/vg_kerneliface.h |
| 42 | /usr/include/valgrind/vg_skin.h |
gobry | e721a52 | 2002-03-22 13:38:30 +0000 | [diff] [blame] | 43 | /usr/bin/valgrind |
sewardj | c5bbdab | 2002-09-27 09:40:52 +0000 | [diff] [blame] | 44 | /usr/bin/cg_annotate |
fitzhardinge | 98abfc7 | 2003-12-16 02:05:15 +0000 | [diff] [blame] | 45 | /usr/lib/valgrind |
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 |
fitzhardinge | 98abfc7 | 2003-12-16 02:05:15 +0000 | [diff] [blame] | 48 | /usr/lib/pkgconfig/valgrind.pc |
gobry | e721a52 | 2002-03-22 13:38:30 +0000 | [diff] [blame] | 49 | |
| 50 | %doc |
| 51 | /usr/share/doc/valgrind/* |
| 52 | |
| 53 | %clean |
| 54 | [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf ${RPM_BUILD_ROOT} |