]> git.pld-linux.org Git - packages/microcode-data-intel.git/blob - microcode-data-intel.spec
efae122a9247f5c5ff42d6c5441493f869c7b3c6
[packages/microcode-data-intel.git] / microcode-data-intel.spec
1 Summary:        Microcode definitions for Intel processors
2 Name:           microcode-data-intel
3 Version:        20110428
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/20050/eng/microcode-%{version}.tgz
9 # Source0-md5:  75b7d880f3a4b0161445a0dbdfe9c238
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
24 %build
25 if ! grep -q 0x00000000 microcode.dat; then
26         echo >&2 microcode.dat contains giberrish
27         exit 1
28 fi
29
30 %install
31 rm -rf $RPM_BUILD_ROOT
32 install -d $RPM_BUILD_ROOT/lib/firmware
33 cp -a microcode.dat $RPM_BUILD_ROOT/lib/firmware/microcode.dat
34
35 %clean
36 rm -rf $RPM_BUILD_ROOT
37
38 %files
39 %defattr(644,root,root,755)
40 %attr(640,root,root) /lib/firmware/microcode.dat
This page took 0.05322 seconds and 3 git commands to generate.