Misc doc updates for upcoming 3.15.0 release.
[valgrind.git] / valgrind.spec.in
blob9e3e17c744d1dde9fa434335193f26561efa7b5e
1 Summary: Valgrind Memory Debugger
2 Name: @PACKAGE@
3 Version: @VERSION@
4 Release: 1
5 Epoch: 1
6 License: GPL
7 URL: http://www.valgrind.org/
8 Group: Development/Debuggers
9 Packager: Julian Seward <jseward@acm.org>
10 Source: @PACKAGE@-@VERSION@.tar.bz2
12 Buildroot: %{_tmppath}/%{name}-root
14 %description
16 Valgrind is an award-winning instrumentation framework for building dynamic
17 analysis tools. There are Valgrind tools that can automatically detect many
18 memory management and threading bugs, and profile your programs in detail. You
19 can also use Valgrind to build new tools. Valgrind runs on the following
20 platforms: x86/Linux, AMD64/Linux, PPC32/Linux, PPC64/Linux, x86/MacOSX,
21 AMD64/MacOSX.
23 %prep
24 %setup -n @PACKAGE@-@VERSION@
26 %build
27 %configure
28 make
30 %install
31 make install DESTDIR=$RPM_BUILD_ROOT
33 %makeinstall
34 mkdir docs.installed
35 mv $RPM_BUILD_ROOT%{_datadir}/doc/valgrind/* docs.installed/
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/*
46 %doc
47 %defattr(-,root,root)
48 %{_mandir}/*/*
50 %clean
51 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf ${RPM_BUILD_ROOT}