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.

43 lines
1.8 KiB

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. #TARBALL: https://github.com/ninja-build/ninja/archive/v1.10.0/ninja-1.10.0.tar.gz
  2. #MD5SUM: cf1d964113a171da42a8940e7607e71a;SOURCES/ninja-1.10.0.tar.gz
  3. #-----------------------------------------------------------------------------
  4. Summary: Ninja is a small build system with a focus on speed.
  5. Name: ninja
  6. Version: 1.10.0
  7. Release: 1
  8. License: Any
  9. URL: Any
  10. Group: LFS/Base
  11. Source: %{name}-%{version}.tar.gz
  12. Requires: filesystem
  13. %description
  14. Ninja is a small build system with a focus on speed.
  15. #-----------------------------------------------------------------------------
  16. %prep
  17. %setup -q -n %{NAME}-%{VERSION}
  18. %build
  19. python3 configure.py --bootstrap
  20. %install
  21. install -vdm 755 %{buildroot}/usr/bin/
  22. install -vDm644 ninja %{buildroot}/usr/bin/
  23. install -vDm644 misc/bash-completion %{buildroot}/usr/share/bash-completion/completions/ninja
  24. install -vDm644 misc/zsh-completion %{buildroot}/usr/share/zsh/site-functions/_ninja
  25. #-----------------------------------------------------------------------------
  26. # Copy license/copying file
  27. install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
  28. #-----------------------------------------------------------------------------
  29. # Create file list
  30. find %{buildroot} -name '*.la' -delete
  31. find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
  32. sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
  33. sed -i '/man\/man/d' filelist.list
  34. sed -i '/\/usr\/share\/info/d' filelist.list
  35. #-----------------------------------------------------------------------------
  36. %files -f filelist.list
  37. %defattr(-,root,root)
  38. %changelog
  39. * Sun May 31 2020 Chris Cromer <chris@cromer.cl> 1.10.0-1
  40. * Sat Apr 06 2019 baho-utot <baho-utot@columbus.rr.com> 1.9.0-1
  41. - LFS-8.4
  42. * Wed Jul 25 2018 baho-utot <baho-utot@columbus.rr.com> 1.8.2-1
  43. - Initial build. First version