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.
 
 
 
 

80 lines
2.9 KiB

  1. #TARBALL: https://downloads.sourceforge.net/project/e2fsprogs/e2fsprogs/v1.45.5/e2fsprogs-1.45.5.tar.gz
  2. #MD5SUM: 6d35428e4ce960cb7e875afe5849c0f3;SOURCES/e2fsprogs-1.45.5.tar.gz
  3. #-----------------------------------------------------------------------------
  4. Summary: The E2fsprogs package contains the utilities for handling the ext2 file system.
  5. Name: e2fsprogs
  6. Version: 1.45.5
  7. Release: 1
  8. License: GPLv2
  9. URL: Any
  10. Group: LFS/Base
  11. Source0: https://downloads.sourceforge.net/project/%{name}/%{name}/v%{version}/%{name}-%{version}.tar.gz
  12. Requires: filesystem
  13. %description
  14. The E2fsprogs package contains the utilities for handling the ext2 file system.
  15. It also supports the ext3 and ext4 journaling file systems.
  16. #-----------------------------------------------------------------------------
  17. %prep
  18. %setup -q -n %{NAME}-%{VERSION}
  19. mkdir build
  20. %build
  21. cd build
  22. ../configure \
  23. --prefix=%{_prefix} \
  24. --bindir=/bin \
  25. --with-root-prefix="" \
  26. --enable-elf-shlibs \
  27. --disable-libblkid \
  28. --disable-libuuid \
  29. --disable-uuidd \
  30. --disable-fsck
  31. make %{?_smp_mflags}
  32. %install
  33. cd build
  34. make DESTDIR=%{buildroot} install
  35. cd -
  36. chmod -v u+w %{buildroot}%{_libdir}/{libcom_err,libe2p,libext2fs,libss}.a
  37. gunzip -v %{buildroot}%{_infodir}/libext2fs.info.gz
  38. install-info --dir-file=%{buildroot}%{_infodir}/dir %{buildroot}%{_infodir}/libext2fs.info
  39. makeinfo -o doc/com_err.info lib/et/com_err.texinfo
  40. install -v -m644 doc/com_err.info %{buildroot}%{_infodir}
  41. install-info --dir-file=%{_infodir}/dir %{buildroot}%{_infodir}/com_err.info
  42. #-----------------------------------------------------------------------------
  43. # Copy license/copying file
  44. install -D -m644 NOTICE %{buildroot}/usr/share/licenses/%{name}/LICENSE
  45. #-----------------------------------------------------------------------------
  46. # Create file list
  47. rm %{buildroot}%{_infodir}/dir
  48. find %{buildroot} -name '*.la' -delete
  49. find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
  50. sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
  51. sed -i '/man\/man/d' filelist.list
  52. sed -i '/\/usr\/share\/info/d' filelist.list
  53. #-----------------------------------------------------------------------------
  54. %files -f filelist.list
  55. %defattr(-,root,root)
  56. %{_infodir}/*
  57. %{_mandir}/man1/*
  58. %{_mandir}/man3/*
  59. %{_mandir}/man5/*
  60. %{_mandir}/man8/*
  61. #-----------------------------------------------------------------------------
  62. %post
  63. pushd /usr/share/info
  64. rm -v dir
  65. for f in *; do install-info $f dir 2>/dev/null; done
  66. popd
  67. %postun
  68. pushd /usr/share/info
  69. rm -v dir
  70. for f in *; do install-info $f dir 2>/dev/null; done
  71. popd
  72. #-----------------------------------------------------------------------------
  73. %changelog
  74. * Mon Jun 01 2020 Chris Cromer <chris@cromer.cl> 2.45.5-1
  75. * Sat Apr 06 2019 baho-utot <baho-utot@columbus.rr.com> 1.44.5-1
  76. - LFS-8.4
  77. * Wed Jul 25 2018 baho-utot <baho-utot@columbus.rr.com> 1.43.9-1
  78. * Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 1.43.5-1
  79. - Initial build. First version