blob: 2e3a4d067aa11dc9e891d3b5c8f7b9ef8e43d250 [file] [log] [blame]
Name: nvramtool
Version: 2.1
Release: 0
Summary: coreboot utility program
Group: System Environment/Base
License: GPL
Provides: nvramtool
BuildRoot: %{_tmppath}/%{name}-%{version}
Source0: %{name}-%{version}.tgz
nvramtool is a utility for reading/writing coreboot parameters and displaying
information from the coreboot table.
At boot time, coreboot places a table (known as the coreboot table) in low
physical memory. The contents of this table are preserved even after
coreboot transfers control to the kernel and the kernel initializes itself.
The coreboot table contains various system information such as the type of
mainboard in use. It also specifies locations in the CMOS (nonvolatile RAM)
where the coreboot parameters are stored.
%setup -n %{name}-%{version}
rm -rf "$RPM_BUILD_ROOT"
mkdir -p "$RPM_BUILD_ROOT/usr/bin"
mkdir -p "$RPM_BUILD_ROOT/usr/man/man8"
cp nvramtool "$RPM_BUILD_ROOT/usr/bin"
cp nvramtool.8.gz $RPM_BUILD_ROOT/usr/man/man8
rm -rf "$RPM_BUILD_ROOT"
%doc ChangeLog README