1 Summary: Microcode definitions for Intel processors
2 Summary(pl.UTF-8): Definicje mikrokodu dla procesorów Intela
3 Name: microcode-data-intel
6 License: INTEL SOFTWARE LICENSE AGREEMENT
8 # http://downloadcenter.intel.com/, enter "processor microcode data file" to the search
9 Source0: https://downloadmirror.intel.com/28039/eng/microcode-%{version}.tgz
10 # Source0-md5: 49f534f1079d3c5bc178a150c1c105aa
11 Provides: microcode-data
12 BuildRequires: iucode-tool
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 The microcode data file for Linux contains the latest microcode
18 definitions for all Intel processors.
20 %description -l pl.UTF-8
21 Te pliki danych mikrokodu dla Linuksa zawierają najnowsze definicje
22 mikrokodu dla procesorów Intela.
25 Summary: Microcode for initrd
26 Summary(pl.UTF-8): Mikrokod dla initrd
30 Intel microcode for initrd.
32 %description initrd -l pl.UTF-8
33 Mikrokod dla procesorów Intel dla initrd.
40 %{_sbindir}/iucode_tool intel-ucode*/*-* -tb --write-to=microcode.bin
42 install -d kernel/x86/microcode
43 ln microcode.bin kernel/x86/microcode/GenuineIntel.bin
44 echo kernel/x86/microcode/GenuineIntel.bin | cpio -o -H newc -R 0:0 > intel-ucode.img
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT{/lib/firmware,/boot}
50 cp -a intel-ucode $RPM_BUILD_ROOT/lib/firmware
51 cp -p intel-ucode.img $RPM_BUILD_ROOT/boot
54 rm -rf $RPM_BUILD_ROOT
57 %defattr(644,root,root,755)
59 /lib/firmware/intel-ucode
63 %defattr(644,root,root,755)