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.

41 lines
1.6 KiB

7 months ago
1 year ago
1 year ago
7 months ago
1 year ago
7 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. #TARBALL: ftp://anduin.linuxfromscratch.org/BLFS/popt/popt-1.16.tar.gz
  2. #MD5SUM: 3743beefa3dd6247a73f8f7a32c14c33;SOURCES/popt-1.16.tar.gz
  3. #-----------------------------------------------------------------------------
  4. Summary: The popt package contains the popt libraries which are used by some programs parse command-line options.
  5. Name: popt
  6. Version: 1.16
  7. Release: 2
  8. License: GPL
  9. URL: ftp://anduin.linuxfromscratch.org/BLFS/%{name}/
  10. Group: BLFS/General_Libraries
  11. Source0: ftp://anduin.linuxfromscratch.org/BLFS/%{name}/%{name}-%{version}.tar.gz
  12. Requires: filesystem
  13. %description
  14. The popt package contains the popt libraries which are used by some programs parse command-line options.
  15. #-----------------------------------------------------------------------------
  16. %prep
  17. %setup -q -n %{name}-%{version}
  18. %build
  19. ./configure \
  20. --prefix=%{_prefix} \
  21. --disable-static
  22. make %{?_smp_mflags}
  23. %install
  24. make DESTDIR=%{buildroot} install
  25. # Copy license/copying file
  26. install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
  27. # Create file list
  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. %{_mandir}/man3/*
  37. #-----------------------------------------------------------------------------
  38. %changelog
  39. * Mon Jun 01 2020 Chris Cromer <chris@cromer.cl> 1.16-2
  40. * Mon Jan 01 2018 baho-utot <baho-utot@columbus.rr.com> 1.16-1
  41. - LFS-8.1