Name: boom-boot Version: 1.5.1 Release: 1 Summary: libraries and files for helping boot loger entries License: GPL-2.0-only URL: https://github.com/snapshotmanager/boom Source0: https://github.com/snapshotmanager/boom/archive/%{version}/boom-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-setuptools python3-devel python3-sphinx Patch1: 0001-man-Fix-line-starting-with.patch Patch2: 0001-Fix-typos-across-tree.patch Patch3: 0002-Fix-system-vs.-project-import-ordering.patch Patch4: 0003-boom-fix-unclosed-file-warning-for-proc-cmdline.patch Patch9000: fix-compile-error-about-sphinx-build.patch Requires: python3-boom %{name}-conf # Drop boom-grub2 package https://github.com/snapshotmanager/boom/commit/4c46d59 Obsoletes: boom-boot-grub2 <= 1.3 %package -n python3-boom Summary: libraries and files for helping boot loger entries %{?python_provide:%python_provide python3-boom} Requires: python3 Recommends: lvm2 %{name}-conf Conflicts: boom %package conf Summary: libraries and files for helping boot loger entries %description In Linux systems, there is a boot manager that support BootLoader Specification for boot entry configuration, that is Boom. Boom requires a BLS-compatible boot loader to run: systemd-boot project or Grub2 with BLS patch (Red Hat Grub2 build (This support is included in both Red Hat Enterprise Linux 7 and Fedora). %description -n python3-boom In Linux systems, there is a boot manager that support BootLoader Specification for boot entry configuration, that is Boom. Boom requires a BLS-compatible boot loader to run: systemd-boot project or Grub2 with BLS patch (Red Hat Grub2 build (This support is included in both Red Hat Enterprise Linux 7 and Fedora). This package contains python3 boom module. %description conf In Linux systems, there is a boot manager that support BootLoader Specification for boot entry configuration, that is Boom. Boom requires a BLS-compatible boot loader to run: systemd-boot project or Grub2 with BLS patch (Red Hat Grub2 build (This support is included in both Red Hat Enterprise Linux 7 and Fedora). This package contains configuration files for boom. %package help Summary:libraries and files for helping boot loger entries %description help document files for %{name} %prep %autosetup -n boom-%{version} -p1 %build make -C doc html rm doc/_build/html/.buildinfo mv doc/_build/html doc/html rm -r doc/_build %py3_build %install %py3_install # Make configuration directories # mode 0700 - in line with /boot/grub2 directory: install -d -m 700 ${RPM_BUILD_ROOT}/boot/boom/profiles install -d -m 700 ${RPM_BUILD_ROOT}/boot/boom/hosts install -d -m 700 ${RPM_BUILD_ROOT}/boot/loader/entries install -d -m 700 ${RPM_BUILD_ROOT}/boot/boom/cache install -m 644 examples/boom.conf ${RPM_BUILD_ROOT}/boot/boom mkdir -p ${RPM_BUILD_ROOT}/%{_mandir}/man8 mkdir -p ${RPM_BUILD_ROOT}/%{_mandir}/man5 install -m 644 man/man8/boom.8 ${RPM_BUILD_ROOT}/%{_mandir}/man8 install -m 644 man/man5/boom.5 ${RPM_BUILD_ROOT}/%{_mandir}/man5 rm doc/Makefile doc/conf.py # Test suite currently does not operate in rpmbuild environment #%%check #%%{__python3} setup.py test %files %license COPYING %doc README.md %{_bindir}/boom %doc %{_mandir}/man*/boom.* %files -n python3-boom %license COPYING %{python3_sitelib}/* %files conf %license COPYING %dir /boot/boom %config(noreplace) /boot/boom/boom.conf %dir /boot/boom/profiles %dir /boot/boom/hosts %dir /boot/boom/cache %dir /boot/loader/entries %files help %doc %{_mandir}/man*/boom.* %doc doc %doc examples %doc tests %doc README.md %changelog * Tue Oct 24 2023 liaoyuankun - 1.5.1-1 - update version to 1.5.1 * Wed Jun 15 2022 SimpleUpdate Robot - 1.3-1 - Upgrade to version 1.3 * Thu Dec 17 2020 xinghe - 0.9-7 - remove useless comments * Sat Aug 8 2020 shixuantong - 0.9-6 - remove python2 support * Wed Feb 12 2020 openEuler Buildteam - 0.9-5 - Package init