]> git.pld-linux.org Git - packages/microcode-data-intel.git/blob - microcode-data-intel.spec
- updated to 20101123
[packages/microcode-data-intel.git] / microcode-data-intel.spec
1 Summary:        Microcode definitions for Intel processors
2 Name:           microcode-data-intel
3 Version:        20101123
4 Release:        1
5 License:        INTEL SOFTWARE LICENSE AGREEMENT
6 Group:          Base
7 # http://downloadcenter.intel.com/, enter "microcode" to the search
8 Source0:        http://downloadmirror.intel.com/19611/eng/microcode-%{version}.tgz
9 # Source0-md5:  e19dd592d3357cd47e4d360ce43f4032
10 Provides:       microcode-data
11 ExclusiveArch:  i686 pentium2 pentium3 pentium4 %{x8664}
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 # nothing to put there
15 %define         _enable_debug_packages  0
16
17 %description
18 The microcode data file for Linux contains the latest microcode
19 definitions for all Intel processors.
20
21 %prep
22 %setup -q -c
23 mv microcode*.dat microcode.dat
24
25 %build
26 if ! grep -q 0x00000000 microcode.dat; then
27         echo >&2 microcode.dat contains giberrish
28         exit 1
29 fi
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33 install -d $RPM_BUILD_ROOT/lib/firmware
34 cp -a microcode.dat $RPM_BUILD_ROOT/lib/firmware/microcode.dat
35
36 %clean
37 rm -rf $RPM_BUILD_ROOT
38
39 %files
40 %defattr(644,root,root,755)
41 %attr(640,root,root) /lib/firmware/microcode.dat
This page took 0.184864 seconds and 4 git commands to generate.