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.

52 lines
2.0 KiB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
  1. #TARBALL: http://ftp.gnu.org/gnu/groff/groff-1.22.4.tar.gz
  2. #MD5SUM: 08fb04335e2f5e73f23ea4c3adbf0c5f;SOURCES/groff-1.22.4.tar.gz
  3. #-----------------------------------------------------------------------------
  4. Summary: The Groff package contains programs for processing and formatting text.
  5. Name: groff
  6. Version: 1.22.4
  7. Release: 2
  8. License: GPLv3
  9. URL: Any
  10. Group: LFS/Base
  11. Source0: http://ftp.gnu.org/gnu/groff/%{name}-%{version}.tar.gz
  12. Provides: perl(File::HomeDir) = %{version}
  13. Provides: perl(main_subs.pl) = %{version}
  14. Provides: perl(man.pl) = %{version}
  15. Provides: perl(oop_fh.pl) = %{version}
  16. Provides: perl(subs.pl) = %{version}
  17. Requires: filesystem
  18. %description
  19. The Groff package contains programs for processing and formatting text.
  20. #-----------------------------------------------------------------------------
  21. %prep
  22. %setup -q -n %{NAME}-%{VERSION}
  23. %build
  24. PAGE=letter ./configure --prefix=%{_prefix}
  25. make
  26. %install
  27. make DESTDIR=%{buildroot} install
  28. #-----------------------------------------------------------------------------
  29. # Copy license/copying file
  30. install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
  31. #-----------------------------------------------------------------------------
  32. # Create file list
  33. rm %{buildroot}%{_infodir}/dir
  34. find %{buildroot} -name '*.la' -delete
  35. find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
  36. sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
  37. sed -i '/man\/man/d' filelist.list
  38. sed -i '/\/usr\/share\/info/d' filelist.list
  39. #-----------------------------------------------------------------------------
  40. %files -f filelist.list
  41. %defattr(-,root,root)
  42. %{_infodir}/*
  43. %{_mandir}/man1/*
  44. %{_mandir}/man5/*
  45. %{_mandir}/man7/*
  46. #-----------------------------------------------------------------------------
  47. %changelog
  48. * Mon Jun 01 2020 Chris Cromer <chris@cromer.cl> 1.22.4-2
  49. * Sat Apr 06 2019 baho-utot <baho-utot@columbus.rr.com> 1.22.4-1
  50. - LFS-8.4
  51. * Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 1.22.3-1
  52. - Initial build. First version