gdb.spec 824 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. Name: gdb
  2. Version: 11.2
  3. Release: 1%{?dist}
  4. Summary: GNU debugger
  5. License: GPLv3+
  6. URL: https://sourceware.org/gdb/
  7. Source0: https://ftp.gnu.org/gnu/gdb/gdb-11.2.tar.xz
  8. BuildRequires: gcc-c++ gmp-devel xz-devel ncurses-devel xxhash texinfo
  9. %description
  10. GNU debugger
  11. %prep
  12. %setup -q
  13. %build
  14. %configure \
  15. --with-lzma \
  16. --with-xxhash=yes \
  17. --with-libxxhash-type=static \
  18. --disable-source-highlight \
  19. --enable-tui \
  20. --with-python=no --with-guile=no
  21. make %{?_smp_mflags}
  22. %install
  23. make -C gdb/data-directory DESTDIR="%{buildroot}" install
  24. make -C gdb DESTDIR="%{buildroot}" install
  25. make -C gdbserver DESTDIR="%{buildroot}" install
  26. rm -f %{buildroot}/usr/share/info/dir
  27. %files
  28. /usr/bin/*
  29. /usr/lib64/libinproctrace.so
  30. /usr/share/gdb
  31. /usr/share/info/*
  32. /usr/share/man/*/*
  33. /usr/include/gdb/jit-reader.h
  34. %changelog