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.
 
 
 
 

53 lines
1.9 KiB

  1. #TARBALL: http://ftp.gnu.org/gnu/bash/bash-5.0.tar.gz
  2. #MD5SUM: 2b44b47b905be16f45709648f671820b;SOURCES/bash-5.0.tar.gz
  3. #-----------------------------------------------------------------------------
  4. Summary: The Bash package contains the Bourne-Again SHell.
  5. Name: bash
  6. Version: 5.0
  7. Release: 2
  8. License: GPLv3
  9. URL: Any
  10. Group: LFS/Base
  11. Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
  12. Requires: filesystem
  13. %description
  14. The Bash package contains the Bourne-Again SHell.
  15. #-----------------------------------------------------------------------------
  16. %prep
  17. %setup -q -n %{NAME}-%{VERSION}
  18. %build
  19. ./configure \
  20. --prefix=%{_prefix} \
  21. --docdir=%{_docdir}/%{NAME}-%{VERSION} \
  22. --without-bash-malloc \
  23. --with-installed-readline
  24. make %{?_smp_mflags}
  25. %install
  26. make DESTDIR=%{buildroot} install
  27. install -vdm 755 %{buildroot}/bin
  28. mv -vf %{buildroot}%{_bindir}/bash %{buildroot}/bin
  29. ln -vs bash %{buildroot}/bin/sh
  30. #-----------------------------------------------------------------------------
  31. # Copy license/copying file
  32. install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
  33. #-----------------------------------------------------------------------------
  34. # Create file list
  35. rm %{buildroot}%{_infodir}/dir
  36. find %{buildroot} -name '*.la' -delete
  37. find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
  38. sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
  39. sed -i '/man\/man/d' filelist.list
  40. sed -i '/\/usr\/share\/info/d' filelist.list
  41. #-----------------------------------------------------------------------------
  42. %files -f filelist.list
  43. %defattr(-,root,root)
  44. %{_infodir}/*
  45. %{_mandir}/man1/*
  46. #-----------------------------------------------------------------------------
  47. %changelog
  48. * Sun May 31 2020 Chris Cromer <chris@cromer.cl> 5.0-2
  49. * Fri Apr 05 2019 baho-utot <baho-utot@columbus.rr.com> 5.0-1
  50. - Update for LFS-8.4
  51. * Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 4.4.18-1
  52. - Initial build. First version