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.6 KiB

7 months ago
1 year ago
7 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
7 months ago
1 year ago
  1. #TARBALL: http://ftp.gnu.org/gnu/bison/bison-3.5.2.tar.xz
  2. #MD5SUM: 49fc2cf23e31e697d5072835e1662a97;SOURCES/bison-3.5.2.tar.xz
  3. #-----------------------------------------------------------------------------
  4. Summary: The Bison package contains a parser generator.
  5. Name: bison
  6. Version: 3.5.2
  7. Release: 1
  8. License: Any
  9. URL: Any
  10. Group: LFS/Base
  11. Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
  12. Requires: filesystem
  13. %description
  14. The Bison package contains a parser generator.
  15. #-----------------------------------------------------------------------------
  16. %prep
  17. %setup -q -n %{NAME}-%{VERSION}
  18. %build
  19. ./configure \
  20. --prefix=%{_prefix} \
  21. --docdir=%{_docdir}/%{name}-%{version}
  22. make %{?_smp_mflags}
  23. %install
  24. make DESTDIR=%{buildroot} install
  25. #-----------------------------------------------------------------------------
  26. # Create file list
  27. rm %{buildroot}%{_infodir}/dir
  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. %{_infodir}/*
  37. %{_mandir}/man1/*
  38. #-----------------------------------------------------------------------------
  39. %changelog
  40. * Sun May 31 2020 Chris Cromer <chris@cromer.cl> 3.5.2-1
  41. * Fri Apr 05 2019 baho-utot <baho-utot@columbus.rr.com> 3.3.2-1
  42. - Update for LFS-8.4
  43. * Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 3.0.4-1
  44. - Initial build. First version