arch/arm64: Support FEAT_CCIDX
[coreboot2.git] / util / nvramtool / nvramtool.spec
blob2e3a4d067aa11dc9e891d3b5c8f7b9ef8e43d250
1 ##
3 Name: nvramtool
4 Version: 2.1
5 Release: 0
7 Summary: coreboot utility program
8 Group: System Environment/Base
9 License: GPL
10 Provides: nvramtool
12 BuildRoot: %{_tmppath}/%{name}-%{version}
14 Source0: %{name}-%{version}.tgz
16 %description
17 nvramtool is a utility for reading/writing coreboot parameters and displaying
18 information from the coreboot table.
20 At boot time, coreboot places a table (known as the coreboot table) in low
21 physical memory. The contents of this table are preserved even after
22 coreboot transfers control to the kernel and the kernel initializes itself.
23 The coreboot table contains various system information such as the type of
24 mainboard in use. It also specifies locations in the CMOS (nonvolatile RAM)
25 where the coreboot parameters are stored.
27 %prep
28 %setup -n %{name}-%{version}
30 %build
31 make
33 %install
34 rm -rf "$RPM_BUILD_ROOT"
35 mkdir -p "$RPM_BUILD_ROOT/usr/bin"
36 mkdir -p "$RPM_BUILD_ROOT/usr/man/man8"
37 cp nvramtool "$RPM_BUILD_ROOT/usr/bin"
38 cp nvramtool.8.gz $RPM_BUILD_ROOT/usr/man/man8
40 %clean
41 rm -rf "$RPM_BUILD_ROOT"
43 %files
44 %defattr(-,root,root,0755)
45 %doc ChangeLog README
46 %doc README
47 /usr/bin/nvramtool
48 /usr/man/man8/nvramtool.8.gz