summaryrefslogtreecommitdiff
path: root/util/lxbios/lxbios.spec
blob: bb66e9b382db627756de4ef65ae462a6fc2ab0b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
##
# $Id$
##

Name:    lxbios
Version: 2.0.1
Release: 0

Summary: coreboot utility program
Group:   System Environment/Base
License: GPL
Provides: lxbios

BuildRoot: %{_tmppath}/%{name}-%{version}

Source0: %{name}-%{version}.tgz

%description
lxbios 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.

%prep
%setup -n %{name}-%{version}

%build
make

%install
rm -rf "$RPM_BUILD_ROOT"
mkdir -p "$RPM_BUILD_ROOT/usr/bin"
mkdir -p "$RPM_BUILD_ROOT/usr/man/man1"
cp lxbios "$RPM_BUILD_ROOT/usr/bin"
cp lxbios.1.gz $RPM_BUILD_ROOT/usr/man/man1

%clean
rm -rf "$RPM_BUILD_ROOT"

%files
%defattr(-,root,root,0755)
%doc ChangeLog README
%doc README
/usr/bin/lxbios
/usr/man/man1/lxbios.1.gz