This repo contains software to build linux from scratch and package it into rpm files.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.9 KiB

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. #TARBALL: https://sourceware.org/ftp/elfutils/0.178/elfutils-0.178.tar.bz2
  2. #MD5SUM: 5480d0b7174446aba13a6adde107287f;SOURCES/elfutils-0.178.tar.bz2
  3. #-----------------------------------------------------------------------------
  4. Summary: The elfutils package contains a set of utilities and libraries for handling ELF files
  5. Name: libelf
  6. Version: 0.178
  7. Release: 1
  8. License: GPLv3
  9. URL: https://sourceware.org/ftp/elfutils
  10. Group: LFS/BASE
  11. Source0: https://sourceware.org/ftp/elfutils/%{version}/elfutils-%{version}.tar.bz2
  12. Requires: filesystem
  13. %description
  14. The elfutils package contains a set of utilities and libraries for handling ELF
  15. (Executable and Linkable Format) files.
  16. #-----------------------------------------------------------------------------
  17. %prep
  18. %setup -q -n elfutils-%{version}
  19. %build
  20. ./configure \
  21. --prefix=%{_prefix} \
  22. --disable-debuginfod
  23. make %{?_smp_mflags}
  24. %install
  25. make DESTDIR=%{buildroot} -C libelf install
  26. install -vDm644 config/libelf.pc %{buildroot}/%{_libdir}/pkgconfig/libelf.pc
  27. rm %{buildroot}/%{_libdir}/libelf.a
  28. #-----------------------------------------------------------------------------
  29. # Copy license/copying file
  30. install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
  31. #-----------------------------------------------------------------------------
  32. # Create file list
  33. find %{buildroot} -name '*.la' -delete
  34. find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
  35. sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
  36. sed -i '/man\/man/d' filelist.list
  37. sed -i '/\/usr\/share\/info/d' filelist.list
  38. #-----------------------------------------------------------------------------
  39. %files -f filelist.list
  40. %defattr(-,root,root)
  41. #-----------------------------------------------------------------------------
  42. %changelog
  43. * Sun May 31 2020 Chris Cromer <chris@cromer.cl> 0.178-1
  44. * Fri Apr 05 2019 baho-utot <baho-utot@columbus.rr.com> 0.176-1
  45. - Update for LFS-8.4
  46. * Mon Jan 01 2018 baho-utot <baho-utot@columbus.rr.com> 0.170-1
  47. - LFS-8.1