Debian Codegraph @

util/coreboot-configurator/contrib/rpm/nvramtool.spec

raw
1 Summary: coreboot nvramtool
2 Name: nvramtool
3 Version: 4.16
4 Release: 1%{?dist}
5 License: GPLv2
6 URL: https://review.coreboot.org/coreboot
7 Source: https://coreboot.org/releases/coreboot-%{version}.tar.xz
8
9 BuildRequires: make
10 BuildRequires: gcc
11
12 %description
13 nvramtool manipulates nvram from userspace.
14
15 %prep
16 tar -C %{_builddir} -xf %{_sourcedir}/coreboot-%{version}.tar.xz
17 mv %{_builddir}/coreboot-%{version} %{_builddir}/nvramtool-%{version}
18 cd %{_builddir}/nvramtool-%{version}/util/nvramtool
19 DESTDIR=%{buildroot} PREFIX=%{_prefix} make
20 install -Dm755 nvramtool %{buildroot}/%{_sbindir}/nvramtool
21
22 %files
23 %{_sbindir}/%{name}
24
25 %changelog
26 * Sat May 14 2022 Adam Thiede <[email protected]> 4.16
27 - initial spec file