Home | History | Annotate | Download | only in valgrind
      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 (a] acm.org>
     10 Source: @PACKAGE@-@VERSION (a] .tar.bz2
     11 
     12 Buildroot: %{_tmppath}/%{name}-root
     13 
     14 %description 
     15 
     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.
     22 
     23 %prep
     24 %setup -n @PACKAGE@-@VERSION@
     25 
     26 %build
     27 %configure
     28 make
     29 
     30 %install
     31 make install DESTDIR=$RPM_BUILD_ROOT
     32 
     33 %makeinstall
     34 mkdir docs.installed
     35 mv $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}
     52