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.

59 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: https://ftp.gnu.org/gnu/wget/wget-1.20.3.tar.gz
  2. #MD5SUM: db4e6dc7977cbddcd543b240079a4899;SOURCES/wget-1.20.3.tar.gz
  3. #-----------------------------------------------------------------------------
  4. Summary: The Wget package contains a utility useful for non-interactive downloading of files from the Web.
  5. Name: wget
  6. Version: 1.20.3
  7. Release: 1
  8. License: Any
  9. URL: Any
  10. Group: LFS/Base
  11. Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
  12. Requires: filesystem
  13. %description
  14. The Wget package contains a utility useful for non-interactive downloading of files from the Web.
  15. #-----------------------------------------------------------------------------
  16. %prep
  17. %setup -q -n %{NAME}-%{VERSION}
  18. %build
  19. ./configure \
  20. --prefix=%{_prefix} \
  21. --sysconfdir=%{_sysconfdir} \
  22. --with-ssl=openssl \
  23. --disable-rpath
  24. make %{?_smp_mflags}
  25. %install
  26. make DESTDIR=%{buildroot} install
  27. #-----------------------------------------------------------------------------
  28. # Copy license/copying file
  29. install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
  30. #-----------------------------------------------------------------------------
  31. # Create file list
  32. rm %{buildroot}%{_infodir}/dir
  33. find %{buildroot} -name '*.la' -delete
  34. find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
  35. sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
  36. sed -i '/man\/man/d' filelist.list
  37. sed -i '/\/usr\/share\/info/d' filelist.list
  38. #-----------------------------------------------------------------------------
  39. %files -f filelist.list
  40. %defattr(-,root,root)
  41. %{_infodir}/*
  42. %{_mandir}/man1/*
  43. %post
  44. pushd /usr/share/info
  45. rm -v dir
  46. for f in *; do install-info $f dir 2>/dev/null; done
  47. popd
  48. %postun
  49. pushd /usr/share/info
  50. rm -v dir
  51. for f in *; do install-info $f dir 2>/dev/null; done
  52. popd
  53. #-----------------------------------------------------------------------------
  54. %changelog
  55. * Mon Jun 01 2020 Chris Cromer <chris@cromer.cl> 1.20.3-1
  56. * Sun Apr 07 2019 baho-utot <baho-utot@columbus.rr.com> 1.20.1-1
  57. - BLFS-8.4
  58. * Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 1.19.1-1
  59. - Initial build. First version