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.
 
 
 
 

46 lines
1.8 KiB

  1. #TARBALL: http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.xz
  2. #MD5SUM: 50f97f4159805e374639a73e2636f22e;SOURCES/autoconf-2.69.tar.xz
  3. #-----------------------------------------------------------------------------
  4. Summary: The Autoconf package contains programs for producing shell scripts that can automatically configure source code.
  5. Name: autoconf
  6. Version: 2.69
  7. Release: 2
  8. License: GPLv2
  9. URL: Any
  10. Group: LFS/Base
  11. Source0: http://ftp.gnu.org/gnu/autoconf/%{name}-%{version}.tar.xz
  12. Requires: filesystem
  13. %description
  14. The Autoconf package contains programs for producing shell scripts that can automatically configure source code.
  15. #-----------------------------------------------------------------------------
  16. %prep
  17. %setup -q -n %{NAME}-%{VERSION}
  18. sed '361 s/{/\\{/' -i bin/autoscan.in
  19. %build
  20. ./configure \
  21. --prefix=%{_prefix}
  22. make %{?_smp_mflags}
  23. %install
  24. make DESTDIR=%{buildroot} install
  25. #-----------------------------------------------------------------------------
  26. # Copy license/copying file
  27. install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
  28. #-----------------------------------------------------------------------------
  29. # Create file list
  30. rm %{buildroot}%{_infodir}/dir
  31. find %{buildroot} -name '*.la' -delete
  32. find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
  33. sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
  34. sed -i '/man\/man/d' filelist.list
  35. sed -i '/\/usr\/share\/info/d' filelist.list
  36. #-----------------------------------------------------------------------------
  37. %files -f filelist.list
  38. %defattr(-,root,root)
  39. %{_infodir}/*
  40. %{_mandir}/man1/*
  41. #-----------------------------------------------------------------------------
  42. %changelog
  43. * Sun May 31 2020 Chris Cromer <chris@cromer.cl> 2.69-2
  44. * Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 2.69-1
  45. - Initial build. First version