2007-07-12 18:35:42 +02:00
|
|
|
##
|
|
|
|
|
2008-03-01 20:06:32 +01:00
|
|
|
Name: nvramtool
|
2008-09-27 12:08:28 +02:00
|
|
|
Version: 2.1
|
2007-07-12 18:35:42 +02:00
|
|
|
Release: 0
|
|
|
|
|
2008-01-18 16:33:49 +01:00
|
|
|
Summary: coreboot utility program
|
2007-07-12 18:35:42 +02:00
|
|
|
Group: System Environment/Base
|
|
|
|
License: GPL
|
2008-03-01 20:06:32 +01:00
|
|
|
Provides: nvramtool
|
2007-07-12 18:35:42 +02:00
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}
|
|
|
|
|
|
|
|
Source0: %{name}-%{version}.tgz
|
|
|
|
|
|
|
|
%description
|
2008-03-01 20:06:32 +01:00
|
|
|
nvramtool is a utility for reading/writing coreboot parameters and displaying
|
2008-01-18 16:33:49 +01:00
|
|
|
information from the coreboot table.
|
2007-07-12 18:35:42 +02:00
|
|
|
|
2008-01-18 16:33:49 +01:00
|
|
|
At boot time, coreboot places a table (known as the coreboot table) in low
|
2007-07-12 18:35:42 +02:00
|
|
|
physical memory. The contents of this table are preserved even after
|
2008-01-18 16:33:49 +01:00
|
|
|
coreboot transfers control to the kernel and the kernel initializes itself.
|
|
|
|
The coreboot table contains various system information such as the type of
|
2007-07-12 18:35:42 +02:00
|
|
|
mainboard in use. It also specifies locations in the CMOS (nonvolatile RAM)
|
2008-01-18 16:33:49 +01:00
|
|
|
where the coreboot parameters are stored.
|
2007-07-12 18:35:42 +02:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -n %{name}-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf "$RPM_BUILD_ROOT"
|
|
|
|
mkdir -p "$RPM_BUILD_ROOT/usr/bin"
|
2009-09-01 11:54:21 +02:00
|
|
|
mkdir -p "$RPM_BUILD_ROOT/usr/man/man8"
|
2008-03-01 20:06:32 +01:00
|
|
|
cp nvramtool "$RPM_BUILD_ROOT/usr/bin"
|
2009-09-01 11:54:21 +02:00
|
|
|
cp nvramtool.8.gz $RPM_BUILD_ROOT/usr/man/man8
|
2007-07-12 18:35:42 +02:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf "$RPM_BUILD_ROOT"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,0755)
|
|
|
|
%doc ChangeLog README
|
|
|
|
%doc README
|
2008-03-01 20:06:32 +01:00
|
|
|
/usr/bin/nvramtool
|
2009-09-01 11:54:21 +02:00
|
|
|
/usr/man/man8/nvramtool.8.gz
|