blob: 92f9c841d29edd2384037fd0ca214fed0cbd5ecd [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
nethercote5da1e172003-12-03 21:44:45 +000014Valgrind is a GPL'd system for debugging and profiling x86-Linux programs.
15With the tools that come with Valgrind, you can automatically detect
16many memory management and threading bugs, avoiding hours of frustrating
17bug-hunting, making your programs more stable. You can also perform
18detailed profiling to help speed up your programs.
gobrye721a522002-03-22 13:38:30 +000019
nethercote075a1022004-04-10 00:36:25 +000020The Valgrind distribution includes five tools: two memory error
21detectors, a thread error detector, a cache profiler and a heap profiler.
22Several other tools have been built with Valgrind.
gobrye721a522002-03-22 13:38:30 +000023
24%prep
25%setup -n @PACKAGE@-@VERSION@
26
27%build
28./configure --prefix=/usr
29make
30
31%install
muellerb3be9422004-01-24 22:32:56 +000032make install DESTDIR=$RPM_BUILD_ROOT
gobrye721a522002-03-22 13:38:30 +000033
34%files
gobrybcd3ed32002-09-02 11:31:21 +000035%defattr(-,root,root)
sewardjb4db4022002-12-08 22:19:04 +000036/usr/include/valgrind/valgrind.h
37/usr/include/valgrind/memcheck.h
38/usr/include/valgrind/helgrind.h
nethercote46063202004-09-02 08:51:43 +000039/usr/include/valgrind/tool.h
nethercote5a2664c2004-09-02 15:37:39 +000040/usr/include/valgrind/tool_asm.h
mueller90fffec2003-11-24 21:25:40 +000041/usr/include/valgrind/vg_kerneliface.h
42/usr/include/valgrind/vg_skin.h
nethercotec06e2132004-09-03 13:45:29 +000043/usr/include/valgrind/x86/tool_arch.h
gobrye721a522002-03-22 13:38:30 +000044/usr/bin/valgrind
sewardjc5bbdab2002-09-27 09:40:52 +000045/usr/bin/cg_annotate
fitzhardinge98abfc72003-12-16 02:05:15 +000046/usr/lib/valgrind
gobrye721a522002-03-22 13:38:30 +000047/usr/lib/valgrind/*
njnec72b7d2003-04-22 21:47:56 +000048/usr/bin/valgrind-listener
fitzhardinge98abfc72003-12-16 02:05:15 +000049/usr/lib/pkgconfig/valgrind.pc
gobrye721a522002-03-22 13:38:30 +000050
51%doc
52/usr/share/doc/valgrind/*
53
54%clean
55[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf ${RPM_BUILD_ROOT}