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.

62 lines
2.3 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 year ago
1 year ago
1 year ago
  1. #TARBALL: https://dev.gentoo.org/~blueness/eudev/eudev-3.2.9.tar.gz
  2. #MD5SUM: dedfb1964f6098fe9320de827957331f;SOURCES/eudev-3.2.9.tar.gz
  3. #TARBALL: http://anduin.linuxfromscratch.org/LFS/udev-lfs-20171102.tar.xz
  4. #MD5SUM: 27cd82f9a61422e186b9d6759ddf1634;SOURCES/udev-lfs-20171102.tar.xz
  5. #-----------------------------------------------------------------------------
  6. Summary: The Eudev package contains programs for dynamic creation of device nodes.
  7. Name: eudev
  8. Version: 3.2.9
  9. Release: 1
  10. License: GPLv2
  11. URL: Any
  12. Group: LFS/Base
  13. Source0: https://dev.gentoo.org/~blueness/%{name}/%{name}-%{version}.tar.gz
  14. Source1: http://anduin.linuxfromscratch.org/LFS/udev-lfs-20171102.tar.xz
  15. Requires: filesystem
  16. %description
  17. The Eudev package contains programs for dynamic creation of device nodes.
  18. #-----------------------------------------------------------------------------
  19. %prep
  20. %setup -q -n %{NAME}-%{VERSION}
  21. %setup -q -T -D -a 1
  22. %build
  23. ./configure \
  24. --prefix=%{_prefix} \
  25. --bindir=/sbin \
  26. --sbindir=/sbin \
  27. --libdir=%{_libdir} \
  28. --sysconfdir=%{_sysconfdir} \
  29. --libexecdir=/lib \
  30. --with-rootprefix= \
  31. --with-rootlibdir=/lib \
  32. --enable-manpages \
  33. --disable-static \
  34. --config-cache
  35. make %{?_smp_mflags}
  36. %install
  37. make DESTDIR=%{buildroot} install
  38. make -f udev-lfs-20171102/Makefile.lfs DESTDIR=%{buildroot} install
  39. #-----------------------------------------------------------------------------
  40. # Copy license/copying file
  41. install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
  42. #-----------------------------------------------------------------------------
  43. find %{buildroot} -name '*.la' -delete
  44. find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
  45. sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
  46. sed -i '/man\/man/d' filelist.list
  47. sed -i '/\/usr\/share\/info/d' filelist.list
  48. %post
  49. LD_LIBRARY_PATH=/tools/lib udevadm hwdb --update
  50. #-----------------------------------------------------------------------------
  51. %files -f filelist.list
  52. %defattr(-,root,root)
  53. %{_mandir}/man5/*
  54. %{_mandir}/man7/*
  55. %{_mandir}/man8/*
  56. #-----------------------------------------------------------------------------
  57. %changelog
  58. * Mon Jun 01 2020 Chris Cromer <chris@cromer.cl> 3.2.9-1
  59. * Sat Apr 06 2019 baho-utot <baho-utot@columbus.rr.com> 3.2.7-1
  60. - LFS-8.4
  61. * Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 3.2.5-1
  62. - Initial build. First version