kexec-tools-vl.spec 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. Name: kexec-tools
  2. Summary: kexec userspace tools
  3. Version: 2.0.23
  4. Release: 1%{?_dist_release}
  5. Group: admin-tools
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. License: GPLv2
  9. Source0: https://mirrors.edge.kernel.org/pub/linux/utils/kernel/kexec/%{name}-%{version}.tar.xz
  10. %description
  11. kexec-tools provides /sbin/kexec binary that facilitates a new
  12. kernel to boot using the kernel's kexec feature either on a
  13. normal or a panic reboot. This package contains the /sbin/kexec
  14. binary and ancillary utilities that together form the userspace
  15. component of the kernel's kexec feature.
  16. %debug_package
  17. %prep
  18. %setup -q
  19. %build
  20. autoreconf
  21. %configure \
  22. --sbindir=/sbin
  23. make
  24. %install
  25. mkdir -p -m755 $RPM_BUILD_ROOT/sbin
  26. mkdir -p -m755 $RPM_BUILD_ROOT%{_mandir}/man8/
  27. mkdir -p -m755 $RPM_BUILD_ROOT%{_docdir}
  28. install -m 755 build/sbin/kexec $RPM_BUILD_ROOT/sbin/kexec
  29. install -m 755 build/sbin/vmcore-dmesg $RPM_BUILD_ROOT/sbin/vmcore-dmesg
  30. install -m 644 build/man/man8/kexec.8 $RPM_BUILD_ROOT%{_mandir}/man8/
  31. install -m 644 build/man/man8/vmcore-dmesg.8 $RPM_BUILD_ROOT%{_mandir}/man8/
  32. %files
  33. %license COPYING
  34. %doc News TODO
  35. /sbin/kexec
  36. /sbin/vmcore-dmesg
  37. %{_mandir}/man8/kexec.8.gz
  38. %{_mandir}/man8/vmcore-dmesg.8.gz
  39. %changelog
  40. * Mon Nov 29 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.23-1
  41. - new upstream release.
  42. * Fri May 21 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.22-1
  43. - initial build for Vine Linux.