blob: 5fd3002389dc0c6cfa45bca0fc4efe8719d2ebea [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
njncb3fca82009-07-04 00:38:11 +00009Packager: Julian Seward <jseward@acm.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
njncb3fca82009-07-04 00:38:11 +000016Valgrind is an award-winning instrumentation framework for building dynamic
17analysis tools. There are Valgrind tools that can automatically detect many
18memory management and threading bugs, and profile your programs in detail. You
19can also use Valgrind to build new tools. Valgrind runs on the following
20platforms: x86/Linux, AMD64/Linux, PPC32/Linux, PPC64/Linux, x86/MacOSX,
21AMD64/MacOSX.
gobrye721a522002-03-22 13:38:30 +000022
23%prep
24%setup -n @PACKAGE@-@VERSION@
25
26%build
njn42de53f2005-07-26 22:23:08 +000027%configure
gobrye721a522002-03-22 13:38:30 +000028make
29
30%install
muellerb3be9422004-01-24 22:32:56 +000031make install DESTDIR=$RPM_BUILD_ROOT
gobrye721a522002-03-22 13:38:30 +000032
njn42de53f2005-07-26 22:23:08 +000033%makeinstall
34mkdir docs.installed
35mv $RPM_BUILD_ROOT%{_datadir}/doc/valgrind/* docs.installed/
36
gobrye721a522002-03-22 13:38:30 +000037%files
gobrybcd3ed32002-09-02 11:31:21 +000038%defattr(-,root,root)
njncb3fca82009-07-04 00:38:11 +000039%doc AUTHORS COPYING FAQ.txt NEWS README*
sewardj4d758f32008-08-19 09:52:10 +000040%doc docs.installed/html/*.html docs.installed/html/images/*.png
njn42de53f2005-07-26 22:23:08 +000041%{_bindir}/*
42%{_includedir}/valgrind
43%{_libdir}/valgrind
44%{_libdir}/pkgconfig/*
gobrye721a522002-03-22 13:38:30 +000045
46%doc
njn42de53f2005-07-26 22:23:08 +000047%defattr(-,root,root)
48%{_mandir}/*/*
gobrye721a522002-03-22 13:38:30 +000049
50%clean
51[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf ${RPM_BUILD_ROOT}