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.

55 lines
2.2 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/acl/acl-2.2.53.tar.gz
  2. #MD5SUM: 007aabf1dbb550bcddde52a244cd1070;SOURCES/acl-2.2.53.tar.gz
  3. #-----------------------------------------------------------------------------
  4. Summary: The Acl package contains utilities to administer Access Control Lists
  5. Name: acl
  6. Version: 2.2.53
  7. Release: 2
  8. License: GPLv2
  9. URL: Any
  10. Group: LFS/Base
  11. Source0: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.gz
  12. Requires: filesystem
  13. %description
  14. The Acl package contains utilities to administer Access Control Lists, which are
  15. used to define more fine-grained discretionary access rights for files and directories.
  16. #-----------------------------------------------------------------------------
  17. %prep
  18. %setup -q -n %{name}-%{version}
  19. %build
  20. ./configure \
  21. --prefix=%{_prefix} \
  22. --bindir=/bin \
  23. --disable-static \
  24. --libexecdir=%{_libdir} \
  25. --docdir=%{_docdir}/%{name}-%{version}
  26. make %{?_smp_mflags}
  27. %install
  28. make DESTDIR=%{buildroot} install
  29. install -vdm 755 %{buildroot}/lib
  30. install -vdm 755 %{buildroot}/usr/lib
  31. mv -v %{buildroot}/usr/lib/libacl.so.* %{buildroot}/lib
  32. ln -sfv ../../lib/$(readlink %{buildroot}/usr/lib/libacl.so) %{buildroot}/usr/lib/libacl.so
  33. #-----------------------------------------------------------------------------
  34. # Copy license/copying file
  35. install -D -m644 doc/COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
  36. #-----------------------------------------------------------------------------
  37. # Create file list
  38. find %{buildroot} -name '*.la' -delete
  39. find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
  40. sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
  41. sed -i '/man\/man/d' filelist.list
  42. sed -i '/\/usr\/share\/info/d' filelist.list
  43. #-----------------------------------------------------------------------------
  44. %files -f filelist.list
  45. %defattr(-,root,root)
  46. %{_mandir}/man1/*
  47. %{_mandir}/man3/*
  48. %{_mandir}/man5/*
  49. #-----------------------------------------------------------------------------
  50. %changelog
  51. * Sun May 31 2020 Chris Cromer <chris@cromer.cl> 2.2.53-2
  52. * Wed Apr 03 2019 baho-utot <baho-utot@columbus.rr.com> 2.2.53-1
  53. - update
  54. * Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 2.2.52-1
  55. - Initial build. First version