blob: 3940d2987d3fbed8ef5f9df5ffe03b5ea40fba31 [file] [log] [blame]
Elliott Hughesa0664b92017-04-18 17:46:52 -07001Summary: Valgrind Memory Debugger
2Name: valgrind
Elliott Hughesed398002017-06-21 14:41:24 -07003Version: 3.13.0
Elliott Hughesa0664b92017-04-18 17:46:52 -07004Release: 1
5Epoch: 1
6License: GPL
7URL: http://www.valgrind.org/
8Group: Development/Debuggers
9Packager: Julian Seward <jseward@acm.org>
Elliott Hughesed398002017-06-21 14:41:24 -070010Source: valgrind-3.13.0.tar.bz2
Elliott Hughesa0664b92017-04-18 17:46:52 -070011
12Buildroot: %{_tmppath}/%{name}-root
13
14%description
15
16Valgrind 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.
22
23%prep
Elliott Hughesed398002017-06-21 14:41:24 -070024%setup -n valgrind-3.13.0
Elliott Hughesa0664b92017-04-18 17:46:52 -070025
26%build
27%configure
28make
29
30%install
31make install DESTDIR=$RPM_BUILD_ROOT
32
33%makeinstall
34mkdir docs.installed
35mv $RPM_BUILD_ROOT%{_datadir}/doc/valgrind/* docs.installed/
36
37%files
38%defattr(-,root,root)
39%doc AUTHORS COPYING FAQ.txt NEWS NEWS.old README*
40%doc docs.installed/html/*.html docs.installed/html/images/*.png
41%{_bindir}/*
42%{_includedir}/valgrind
43%{_libdir}/valgrind
44%{_libdir}/pkgconfig/*
45
46%doc
47%defattr(-,root,root)
48%{_mandir}/*/*
49
50%clean
51[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf ${RPM_BUILD_ROOT}