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 Source0: https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/archive/microcode-%{version}.tar.gz
9 # Source0-md5: 86ab64706e6913d331262e1db1af75e5
10 Provides: microcode-data
11 BuildRequires: iucode-tool
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 The microcode data file for Linux contains the latest microcode
17 definitions for all Intel processors.
19 %description -l pl.UTF-8
20 Te pliki danych mikrokodu dla Linuksa zawierają najnowsze definicje
21 mikrokodu dla procesorów Intela.
24 Summary: Microcode for initrd
25 Summary(pl.UTF-8): Mikrokod dla initrd
29 Intel microcode for initrd.
31 %description initrd -l pl.UTF-8
32 Mikrokod dla procesorów Intel dla initrd.
35 %setup -q -n Intel-Linux-Processor-Microcode-Data-Files-microcode-%{version}
39 %{_sbindir}/iucode_tool intel-ucode*/*-* -tb --write-to=microcode.bin
41 install -d kernel/x86/microcode
42 ln microcode.bin kernel/x86/microcode/GenuineIntel.bin
43 echo kernel/x86/microcode/GenuineIntel.bin | cpio -o -H newc -R 0:0 > intel-ucode.img
46 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT{/lib/firmware,/boot}
49 cp -a intel-ucode $RPM_BUILD_ROOT/lib/firmware
50 cp -p intel-ucode.img $RPM_BUILD_ROOT/boot
53 rm -rf $RPM_BUILD_ROOT
56 %defattr(644,root,root,755)
58 /lib/firmware/intel-ucode
62 %defattr(644,root,root,755)