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 |
njn | 42de53f | 2005-07-26 22:23:08 +0000 | [diff] [blame] | 5 | Epoch: 1 |
| 6 | License: GPL |
| 7 | URL: http://www.valgrind.org/ |
gobry | e721a52 | 2002-03-22 13:38:30 +0000 | [diff] [blame] | 8 | Group: Development/Debuggers |
sewardj | b4db402 | 2002-12-08 22:19:04 +0000 | [diff] [blame] | 9 | Packager: Jeremy Fitzhardinge <jeremy@goop.org> |
sewardj | 46ff1ba | 2002-09-27 00:42:41 +0000 | [diff] [blame] | 10 | Source: @PACKAGE@-@VERSION@.tar.bz2 |
gobry | e721a52 | 2002-03-22 13:38:30 +0000 | [diff] [blame] | 11 | |
njn | 42de53f | 2005-07-26 22:23:08 +0000 | [diff] [blame] | 12 | Buildroot: %{_tmppath}/%{name}-root |
gobry | e721a52 | 2002-03-22 13:38:30 +0000 | [diff] [blame] | 13 | |
| 14 | %description |
| 15 | |
njn | fa8df7d | 2005-07-26 22:31:52 +0000 | [diff] [blame] | 16 | Valgrind is an award-winning suite of tools for debugging and profiling |
| 17 | Linux programs. With the tools that come with Valgrind, you can |
| 18 | automatically detect many memory management and threading bugs, avoiding |
| 19 | hours of frustrating bug-hunting, making your programs more stable. You can |
| 20 | also perform detailed profiling, to speed up and reduce memory use of your |
| 21 | programs. |
gobry | e721a52 | 2002-03-22 13:38:30 +0000 | [diff] [blame] | 22 | |
njn | fa8df7d | 2005-07-26 22:31:52 +0000 | [diff] [blame] | 23 | The Valgrind distribution currently includes five tools: two memory error |
nethercote | 075a102 | 2004-04-10 00:36:25 +0000 | [diff] [blame] | 24 | detectors, a thread error detector, a cache profiler and a heap profiler. |
gobry | e721a52 | 2002-03-22 13:38:30 +0000 | [diff] [blame] | 25 | |
| 26 | %prep |
| 27 | %setup -n @PACKAGE@-@VERSION@ |
| 28 | |
| 29 | %build |
njn | 42de53f | 2005-07-26 22:23:08 +0000 | [diff] [blame] | 30 | %configure |
gobry | e721a52 | 2002-03-22 13:38:30 +0000 | [diff] [blame] | 31 | make |
| 32 | |
| 33 | %install |
mueller | b3be942 | 2004-01-24 22:32:56 +0000 | [diff] [blame] | 34 | make install DESTDIR=$RPM_BUILD_ROOT |
gobry | e721a52 | 2002-03-22 13:38:30 +0000 | [diff] [blame] | 35 | |
njn | 42de53f | 2005-07-26 22:23:08 +0000 | [diff] [blame] | 36 | %makeinstall |
| 37 | mkdir docs.installed |
| 38 | mv $RPM_BUILD_ROOT%{_datadir}/doc/valgrind/* docs.installed/ |
| 39 | |
gobry | e721a52 | 2002-03-22 13:38:30 +0000 | [diff] [blame] | 40 | %files |
gobry | bcd3ed3 | 2002-09-02 11:31:21 +0000 | [diff] [blame] | 41 | %defattr(-,root,root) |
njn | 42de53f | 2005-07-26 22:23:08 +0000 | [diff] [blame] | 42 | %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/* |
gobry | e721a52 | 2002-03-22 13:38:30 +0000 | [diff] [blame] | 48 | |
| 49 | %doc |
njn | 42de53f | 2005-07-26 22:23:08 +0000 | [diff] [blame] | 50 | %defattr(-,root,root) |
| 51 | %{_mandir}/*/* |
gobry | e721a52 | 2002-03-22 13:38:30 +0000 | [diff] [blame] | 52 | |
| 53 | %clean |
| 54 | [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf ${RPM_BUILD_ROOT} |