blob: 292de0edf02783a47a4390343b5415961e95b2ee [file] [log] [blame]
gobrye721a522002-03-22 13:38:30 +00001Summary: Valgrind Memory Debugger
2Name: @PACKAGE@
3Version: @VERSION@
4Release: 1
5Copyright: GPL
6Group: Development/Debuggers
sewardjb4db4022002-12-08 22:19:04 +00007Packager: Jeremy Fitzhardinge <jeremy@goop.org>
sewardj46ff1ba2002-09-27 00:42:41 +00008Source: @PACKAGE@-@VERSION@.tar.bz2
gobrye721a522002-03-22 13:38:30 +00009
10Buildroot: %{_tmppath}/@PACKAGE@
11
12%description
13
14Valgrind is a GPL'd tool to help you find memory-management problems
15in your programs. When a program is run under Valgrind's supervision,
16all reads and writes of memory are checked, and calls to
17malloc/new/free/delete are intercepted. As a result, Valgrind can
18detect 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 []
sewardjda5402c2002-07-13 12:37:28 +000027- Some abuses of the POSIX Pthreads API
gobrye721a522002-03-22 13:38:30 +000028
29%prep
30%setup -n @PACKAGE@-@VERSION@
31
32%build
33./configure --prefix=/usr
34make
35
36%install
37make install prefix=$RPM_BUILD_ROOT/usr
38
39%files
gobrybcd3ed32002-09-02 11:31:21 +000040%defattr(-,root,root)
sewardjb4db4022002-12-08 22:19:04 +000041/usr/include/valgrind/valgrind.h
42/usr/include/valgrind/memcheck.h
43/usr/include/valgrind/helgrind.h
gobrye721a522002-03-22 13:38:30 +000044/usr/bin/valgrind
sewardjc5bbdab2002-09-27 09:40:52 +000045/usr/bin/cg_annotate
gobrye721a522002-03-22 13:38:30 +000046/usr/lib/valgrind/*
njnec72b7d2003-04-22 21:47:56 +000047/usr/bin/valgrind-listener
48/usr/bin/vg_regtest
gobrye721a522002-03-22 13:38:30 +000049
50%doc
51/usr/share/doc/valgrind/*
52
53%clean
54[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf ${RPM_BUILD_ROOT}