127 Star 0 Fork 19

src-openEuler/boom-boot

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
boom-boot.spec 3.80 KB
一键复制 编辑 原始数据 按行查看 历史
xu_ping 提交于 2024-10-17 11:06 . Upgrade version to 1.6.5
Name: boom-boot
Version: 1.6.5
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
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-boot-%{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
* Thu Oct 17 2024 xu_ping <707078654@qq.com> - 1.6.5-1
- update version to 1.6.5
* Tue Oct 24 2023 liaoyuankun <lyk2547519709@163.com> - 1.5.1-1
- update version to 1.5.1
* Wed Jun 15 2022 SimpleUpdate Robot <tc@openeuler.org> - 1.3-1
- Upgrade to version 1.3
* Thu Dec 17 2020 xinghe <xinghe1@huawei.com> - 0.9-7
- remove useless comments
* Sat Aug 8 2020 shixuantong <shixuantong@huawei.com> - 0.9-6
- remove python2 support
* Wed Feb 12 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.9-5
- Package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/boom-boot.git
git@gitee.com:src-openeuler/boom-boot.git
src-openeuler
boom-boot
boom-boot
master

搜索帮助