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.

58 lines
2.1 KiB

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. #TARBALL: http://download.savannah.gnu.org/releases/man-db/man-db-2.9.0.tar.xz
  2. #MD5SUM: 897576a19ecbef376a916485608cd790;SOURCES/man-db-2.9.0.tar.xz
  3. #-----------------------------------------------------------------------------
  4. Summary: The Man-DB package contains programs for finding and viewing man pages.
  5. Name: man-db
  6. Version: 2.9.0
  7. Release: 1
  8. License: Other
  9. URL: Any
  10. Group: LFS/Base
  11. Source0: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.xz
  12. Requires: filesystem
  13. %description
  14. The Man-DB package contains programs for finding and viewing man pages.
  15. #-----------------------------------------------------------------------------
  16. %prep
  17. %setup -q -n %{NAME}-%{VERSION}
  18. %build
  19. ./configure \
  20. --prefix=%{_prefix} \
  21. --docdir=%{_docdir}/%{NAME}-%{VERSION} \
  22. --sysconfdir=%{_sysconfdir} \
  23. --disable-setuid \
  24. --enable-cache-owner=bin \
  25. --with-browser=%{_bindir}/lynx \
  26. --with-vgrind=%{_bindir}/vgrind \
  27. --with-grap=%{_bindir}/grap \
  28. --with-systemdtmpfilesdir= \
  29. --with-systemdsystemunitdir=
  30. make %{?_smp_mflags}
  31. %install
  32. make DESTDIR=%{buildroot} install
  33. #-----------------------------------------------------------------------------
  34. # Copy license/copying file
  35. install -D -m644 README %{buildroot}/usr/share/licenses/%{name}/LICENSE
  36. #-----------------------------------------------------------------------------
  37. find %{buildroot} -name '*.la' -delete
  38. find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
  39. sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
  40. sed -i '/man\/man/d' filelist.list
  41. sed -i '/man\/es/d' filelist.list
  42. sed -i '/man\/it/d' filelist.list
  43. sed -i '/\/usr\/share\/info/d' filelist.list
  44. #-----------------------------------------------------------------------------
  45. %files -f filelist.list
  46. %defattr(-,root,root)
  47. %{_mandir}/man1/*
  48. %{_mandir}/man5/*
  49. %{_mandir}/man8/*
  50. %{_mandir}/man8/*
  51. %{_mandir}/it/man1/*
  52. %{_mandir}/it/man5/*
  53. %{_mandir}/it/man8/*
  54. #-----------------------------------------------------------------------------
  55. %changelog
  56. * Mon Jun 01 2020 Chris Cromer <chris@cromer.cl> 2.9.0-1
  57. * Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 2.8.1-1
  58. - Initial build. First version