blob: cd3ba7dc612d52c298c0509d35bb4872739000d7 [file] [log] [blame]
Stefan Reinauer6540ae52007-07-12 16:35:42 +00001##
2# $Id: lxbios.spec,v 1.3 2006/01/24 00:25:40 dsp_llnl Exp $
3##
4
5Name: lxbios
6Version: 2.0.1
7Release: 0
8
Stefan Reinauerf527e702008-01-18 15:33:49 +00009Summary: coreboot utility program
Stefan Reinauer6540ae52007-07-12 16:35:42 +000010Group: System Environment/Base
11License: GPL
12Provides: lxbios
13
14BuildRoot: %{_tmppath}/%{name}-%{version}
15
16Source0: %{name}-%{version}.tgz
17
18%description
Stefan Reinauerf527e702008-01-18 15:33:49 +000019lxbios is a utility for reading/writing coreboot parameters and displaying
20information from the coreboot table.
Stefan Reinauer6540ae52007-07-12 16:35:42 +000021
Stefan Reinauerf527e702008-01-18 15:33:49 +000022At boot time, coreboot places a table (known as the coreboot table) in low
Stefan Reinauer6540ae52007-07-12 16:35:42 +000023physical memory. The contents of this table are preserved even after
Stefan Reinauerf527e702008-01-18 15:33:49 +000024coreboot transfers control to the kernel and the kernel initializes itself.
25The coreboot table contains various system information such as the type of
Stefan Reinauer6540ae52007-07-12 16:35:42 +000026mainboard in use. It also specifies locations in the CMOS (nonvolatile RAM)
Stefan Reinauerf527e702008-01-18 15:33:49 +000027where the coreboot parameters are stored.
Stefan Reinauer6540ae52007-07-12 16:35:42 +000028
29%prep
30%setup -n %{name}-%{version}
31
32%build
33make
34
35%install
36rm -rf "$RPM_BUILD_ROOT"
37mkdir -p "$RPM_BUILD_ROOT/usr/bin"
38mkdir -p "$RPM_BUILD_ROOT/usr/man/man1"
39cp lxbios "$RPM_BUILD_ROOT/usr/bin"
40cp lxbios.1.gz $RPM_BUILD_ROOT/usr/man/man1
41
42%clean
43rm -rf "$RPM_BUILD_ROOT"
44
45%files
46%defattr(-,root,root,0755)
47%doc ChangeLog README
48%doc README
49/usr/bin/lxbios
50/usr/man/man1/lxbios.1.gz