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.
 
 
 
 

44 lines
1.9 KiB

  1. #TARBALL: https://github.com/mesonbuild/meson/releases/download/0.53.1/meson-0.53.1.tar.gz
  2. #MD5SUM: 9bf73f7b5a2426a7c8674a809bb8cae2;SOURCES/meson-0.53.1.tar.gz
  3. #-----------------------------------------------------------------------------
  4. Summary: Meson is an open source build system
  5. Name: meson
  6. Version: 0.53.1
  7. Release: 1
  8. License: Any
  9. URL: Any
  10. Group: LFS/Base
  11. Source0: https://github.com/mesonbuild/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz
  12. Requires: filesystem
  13. %description
  14. Meson is an open source build system meant to be both extremely fast, and, even more importantly, as user friendly as possible.
  15. #-----------------------------------------------------------------------------
  16. %prep
  17. %setup -q -n %{NAME}-%{VERSION}
  18. %build
  19. python3 setup.py build
  20. %install
  21. install -vdm 755 %{buildroot}/usr/lib/python3.8/site-packages/
  22. python3 setup.py install --root="%{buildroot}" --optimize=1 --skip-build
  23. #-----------------------------------------------------------------------------
  24. # Copy license/copying file
  25. install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
  26. #-----------------------------------------------------------------------------
  27. # Create file list
  28. find %{buildroot} -name '*.la' -delete
  29. find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
  30. sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
  31. sed -i '/man\/man/d' filelist.list
  32. sed -i '/\/usr\/share\/info/d' filelist.list
  33. #-----------------------------------------------------------------------------
  34. %files -f filelist.list
  35. %defattr(-,root,root)
  36. %{_mandir}/man1/meson.1.gz
  37. #-----------------------------------------------------------------------------
  38. %changelog
  39. * Sun May 31 2020 Chris Cromer <chris@cromer.cl> 0.53.1-1
  40. * Sat Apr 06 2019 baho-utot <baho-utot@columbus.rr.com> 0.49.2-1
  41. - LFS-8.4
  42. * Wed Jul 25 2018 baho-utot <baho-utot@columbus.rr.com> 0.44.0-1
  43. - Initial build. First version