valgrind-vl.spec 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. Summary: Valgrind Memory Debugger
  2. Summary(ja): Valgrind メモリデバッガ
  3. Name: valgrind
  4. Version: 3.4.1
  5. Release: 1%{?_dist_release}
  6. License: GPL
  7. URL: http://www.valgrind.org/
  8. Group: Development/Tools
  9. Source: http://valgrind.org/downloads/%{name}-%{version}.tar.bz2
  10. Buildroot: %{_tmppath}/%{name}-%{version}-root
  11. %description
  12. Valgrind is an award-winning suite of tools for debugging and profiling
  13. Linux programs. With the tools that come with Valgrind, you can
  14. automatically detect many memory management and threading bugs, avoiding
  15. hours of frustrating bug-hunting, making your programs more stable. You can
  16. also perform detailed profiling, to speed up and reduce memory use of your
  17. programs.
  18. The Valgrind distribution currently includes five tools: two memory error
  19. detectors, a thread error detector, a cache profiler and a heap profiler.
  20. %prep
  21. %setup -q -n %{name}-%{version}
  22. %build
  23. %configure
  24. make %{?_smp_mflags}
  25. %install
  26. rm -rf $RPM_BUILD_ROOT
  27. make install DESTDIR=$RPM_BUILD_ROOT
  28. %makeinstall
  29. rm -rf docs.installed
  30. mkdir docs.installed
  31. mv $RPM_BUILD_ROOT%{_datadir}/doc/valgrind/* docs.installed/
  32. %clean
  33. [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf ${RPM_BUILD_ROOT}
  34. %files
  35. %defattr(-,root,root)
  36. %doc ACKNOWLEDGEMENTS AUTHORS COPYING FAQ.txt INSTALL NEWS README*
  37. %doc docs.installed/html docs.installed/valgrind_manual.{pdf,ps}
  38. %{_bindir}/*
  39. %{_includedir}/valgrind
  40. %{_libdir}/valgrind
  41. %{_libdir}/pkgconfig/*
  42. %doc
  43. %defattr(-,root,root)
  44. %{_mandir}/*/*
  45. %changelog
  46. * Sun Apr 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.4.1-1vl5
  47. - new upstream release
  48. - changed Group to Development/Tools
  49. * Sun Aug 24 2008 Shu KONNO <owa@bg.wakwak.com> 3.3.1-1vl5
  50. - packaged new