]>
Commit | Line | Data |
---|---|---|
165fd4a0 AM |
1 | Summary: Microcode definitions for Intel processors |
2 | Name: microcode-data-intel | |
fc4c3ef0 | 3 | Version: 20111110 |
165fd4a0 AM |
4 | Release: 1 |
5 | License: INTEL SOFTWARE LICENSE AGREEMENT | |
6 | Group: Base | |
e54dfb65 | 7 | # http://downloadcenter.intel.com/, enter "processor microcode data file" to the search |
fc4c3ef0 GP |
8 | Source0: http://downloadmirror.intel.com/20728/eng/microcode-%{version}.tgz |
9 | # Source0-md5: ba288eb9490986513e59c5a035c93a65 | |
165fd4a0 | 10 | Provides: microcode-data |
bc02db33 | 11 | ExclusiveArch: i686 pentium2 pentium3 pentium4 %{x8664} |
165fd4a0 AM |
12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
13 | ||
23d57ba9 ER |
14 | # nothing to put there |
15 | %define _enable_debug_packages 0 | |
16 | ||
165fd4a0 AM |
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 | |
23d57ba9 ER |
25 | if ! grep -q 0x00000000 microcode.dat; then |
26 | echo >&2 microcode.dat contains giberrish | |
27 | exit 1 | |
28 | fi | |
29 | ||
165fd4a0 AM |
30 | %install |
31 | rm -rf $RPM_BUILD_ROOT | |
0e5ddd0b | 32 | install -d $RPM_BUILD_ROOT/lib/firmware |
23d57ba9 | 33 | cp -a microcode.dat $RPM_BUILD_ROOT/lib/firmware/microcode.dat |
165fd4a0 AM |
34 | |
35 | %clean | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | ||
38 | %files | |
39 | %defattr(644,root,root,755) | |
0e5ddd0b | 40 | %attr(640,root,root) /lib/firmware/microcode.dat |