valgrind.spec 958 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. Name: valgrind
  2. Version: 3.19.0
  3. Release: 1%{?dist}
  4. Summary: Tool to help find memory-management problems in programs
  5. License: GPLv2
  6. URL: https://www.nongnu.org/lzip/lzip.html
  7. Source0: https://sourceware.org/pub/valgrind/valgrind-%{version}.tar.bz2
  8. BuildRequires: gcc-c++
  9. %description
  10. Valgrind is an instrumentation framework for building dynamic analysis
  11. tools. There are Valgrind tools that can automatically detect many memory
  12. management and threading bugs, and profile your programs in detail.
  13. You can also use Valgrind to build new tools.
  14. %prep
  15. %setup -q
  16. %build
  17. # do not use the configure macro because valgrind doesn't like RPM_OPT_FLAGS
  18. ./configure --prefix=%{_prefix} --libdir=%{_libdir} --enable-only64bit
  19. make %{?_smp_mflags}
  20. %install
  21. %make_install
  22. %files
  23. %license COPYING
  24. /usr/bin/*
  25. %{_libdir}/valgrind
  26. %{_libdir}/pkgconfig/valgrind.pc
  27. /usr/libexec/valgrind
  28. /usr/include/valgrind
  29. /usr/share/doc/valgrind
  30. /usr/share/man/man1/*
  31. %changelog