blob: 7374b0e325bcfe6f3df0010f043693243fa65ae3 [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
nethercote5da1e172003-12-03 21:44:45 +000016Valgrind is a GPL'd system for debugging and profiling x86-Linux programs.
17With the tools that come with Valgrind, you can automatically detect
18many memory management and threading bugs, avoiding hours of frustrating
19bug-hunting, making your programs more stable. You can also perform
20detailed profiling to help speed up your programs.
gobrye721a522002-03-22 13:38:30 +000021
nethercote075a1022004-04-10 00:36:25 +000022The Valgrind distribution includes five tools: two memory error
23detectors, a thread error detector, a cache profiler and a heap profiler.
24Several other tools have been built with Valgrind.
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*
43%doc docs.installed/*.html docs.installed/*.gif
44%{_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}