blob: 1a2ca9cb4d3b9334c06f790eb9f8e3eb786b2f58 [file] [log] [blame]
gobrye721a522002-03-22 13:38:30 +00001Summary: Valgrind Memory Debugger
2Name: @PACKAGE@
3Version: @VERSION@
4Release: 1
njn42de53f2005-07-26 22:23:08 +00005Epoch: 1
6License: GPL
7URL: http://www.valgrind.org/
gobrye721a522002-03-22 13:38:30 +00008Group: Development/Debuggers
sewardjb4db4022002-12-08 22:19:04 +00009Packager: Jeremy Fitzhardinge <jeremy@goop.org>
sewardj46ff1ba2002-09-27 00:42:41 +000010Source: @PACKAGE@-@VERSION@.tar.bz2
gobrye721a522002-03-22 13:38:30 +000011
njn42de53f2005-07-26 22:23:08 +000012Buildroot: %{_tmppath}/%{name}-root
gobrye721a522002-03-22 13:38:30 +000013
14%description
15
njnfa8df7d2005-07-26 22:31:52 +000016Valgrind is an award-winning suite of tools for debugging and profiling
17Linux programs. With the tools that come with Valgrind, you can
18automatically detect many memory management and threading bugs, avoiding
19hours of frustrating bug-hunting, making your programs more stable. You can
20also perform detailed profiling, to speed up and reduce memory use of your
21programs.
gobrye721a522002-03-22 13:38:30 +000022
njnfa8df7d2005-07-26 22:31:52 +000023The Valgrind distribution currently includes five tools: two memory error
nethercote075a1022004-04-10 00:36:25 +000024detectors, a thread error detector, a cache profiler and a heap profiler.
gobrye721a522002-03-22 13:38:30 +000025
26%prep
27%setup -n @PACKAGE@-@VERSION@
28
29%build
njn42de53f2005-07-26 22:23:08 +000030%configure
gobrye721a522002-03-22 13:38:30 +000031make
32
33%install
muellerb3be9422004-01-24 22:32:56 +000034make install DESTDIR=$RPM_BUILD_ROOT
gobrye721a522002-03-22 13:38:30 +000035
njn42de53f2005-07-26 22:23:08 +000036%makeinstall
37mkdir docs.installed
38mv $RPM_BUILD_ROOT%{_datadir}/doc/valgrind/* docs.installed/
39
gobrye721a522002-03-22 13:38:30 +000040%files
gobrybcd3ed32002-09-02 11:31:21 +000041%defattr(-,root,root)
njn42de53f2005-07-26 22:23:08 +000042%doc ACKNOWLEDGEMENTS AUTHORS COPYING FAQ.txt INSTALL NEWS README*
sewardj4d758f32008-08-19 09:52:10 +000043%doc docs.installed/html/*.html docs.installed/html/images/*.png
njn42de53f2005-07-26 22:23:08 +000044%{_bindir}/*
45%{_includedir}/valgrind
46%{_libdir}/valgrind
47%{_libdir}/pkgconfig/*
gobrye721a522002-03-22 13:38:30 +000048
49%doc
njn42de53f2005-07-26 22:23:08 +000050%defattr(-,root,root)
51%{_mandir}/*/*
gobrye721a522002-03-22 13:38:30 +000052
53%clean
54[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf ${RPM_BUILD_ROOT}