| 1 |
Summary: A simple GUI to change settings in coreboot's CBFS, via the nvramtool utility. |
| 2 |
Name: coreboot-configurator |
| 3 |
Version: 8 |
| 4 |
Release: 1%{?dist} |
| 5 |
License: GPLv2 |
| 6 |
URL: https://github.com/StarLabsLtd/coreboot-configurator |
| 7 |
Source: %{url}/archive/%{version}.tar.gz |
| 8 |
|
| 9 |
BuildRequires: make |
| 10 |
BuildRequires: cmake |
| 11 |
BuildRequires: git |
| 12 |
BuildRequires: gcc |
| 13 |
BuildRequires: gcc-c++ |
| 14 |
BuildRequires: meson |
| 15 |
BuildRequires: inkscape |
| 16 |
BuildRequires: yaml-cpp-devel |
| 17 |
%if 0%{?rhel} |
| 18 |
BuildRequires: ninja-build |
| 19 |
BuildRequires: qt5-qtbase-devel |
| 20 |
BuildRequires: qt5-qtsvg-devel |
| 21 |
BuildRequires: qt5-qtbase-gui |
| 22 |
%endif |
| 23 |
%if 0%{?fedora} |
| 24 |
BuildRequires: ninja-build |
| 25 |
BuildRequires: qt5-qtbase-devel |
| 26 |
BuildRequires: qt5-qtsvg-devel |
| 27 |
BuildRequires: qt5-qtbase-gui |
| 28 |
%endif |
| 29 |
%if 0%{?suse_version} |
| 30 |
BuildRequires: ninja |
| 31 |
BuildRequires: libqt5-qtbase-devel |
| 32 |
BuildRequires: libqt5-qtsvg-devel |
| 33 |
BuildRequires: libqt5-qtbase |
| 34 |
%endif |
| 35 |
|
| 36 |
%if 0%{?rhel} |
| 37 |
Requires: qt5-qtbase-gui |
| 38 |
%endif |
| 39 |
%if 0%{?fedora} |
| 40 |
Requires: qt5-qtbase-gui |
| 41 |
%endif |
| 42 |
%if 0%{?suse_version} |
| 43 |
Requires: libqt5-qtbase |
| 44 |
%endif |
| 45 |
|
| 46 |
%description |
| 47 |
A simple GUI to change settings in coreboot's CBFS, via the nvramtool utility. |
| 48 |
|
| 49 |
%prep |
| 50 |
%setup -q |
| 51 |
|
| 52 |
%build |
| 53 |
meson build |
| 54 |
|
| 55 |
%install |
| 56 |
%ninja_install -C build |
| 57 |
|
| 58 |
%files |
| 59 |
%{_bindir}/%{name} |
| 60 |
%{_datadir}/applications/%{name}.desktop |
| 61 |
%{_datadir}/icons/hicolor/*/apps/%{name}.png |
| 62 |
%{_datadir}/polkit-1/actions/org.coreboot.nvramtool.policy |
| 63 |
%{_datadir}/polkit-1/actions/org.coreboot.reboot.policy |
| 64 |
%doc README.md |
| 65 |
%license LICENSE |
| 66 |
|
| 67 |
%changelog |
| 68 |
* Sat May 14 2022 Adam Thiede <[email protected]> 8 |
| 69 |
- initial spec files |