]> git.pld-linux.org Git - packages/microcode-data-intel.git/blame - microcode-data-intel.spec
up to 20190918
[packages/microcode-data-intel.git] / microcode-data-intel.spec
CommitLineData
165fd4a0 1Summary: Microcode definitions for Intel processors
1db93e84 2Summary(pl.UTF-8): Definicje mikrokodu dla procesorów Intela
165fd4a0 3Name: microcode-data-intel
33da721d 4Version: 20190918
4806c0f5 5Release: 1
165fd4a0
AM
6License: INTEL SOFTWARE LICENSE AGREEMENT
7Group: Base
d56708e1 8Source0: https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/archive/microcode-%{version}.tar.gz
33da721d 9# Source0-md5: 56efe641a4fc855bd2c33b6efa847fc7
7a1e9f38 10BuildRequires: iucode-tool
fd284e49 11Provides: microcode-data
476af782 12BuildArch: noarch
165fd4a0
AM
13BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15%description
16The microcode data file for Linux contains the latest microcode
17definitions for all Intel processors.
18
1db93e84
JB
19%description -l pl.UTF-8
20Te pliki danych mikrokodu dla Linuksa zawierają najnowsze definicje
21mikrokodu dla procesorów Intela.
22
ca91a51d
AM
23%package initrd
24Summary: Microcode for initrd
25Summary(pl.UTF-8): Mikrokod dla initrd
26Group: Base
27
28%description initrd
29Intel microcode for initrd.
30
31%description initrd -l pl.UTF-8
32Mikrokod dla procesorów Intel dla initrd.
33
165fd4a0 34%prep
d56708e1 35%setup -q -n Intel-Linux-Processor-Microcode-Data-Files-microcode-%{version}
165fd4a0
AM
36
37%build
05dd8121 38%{_sbindir}/iucode_tool intel-ucode*/*-* -tb --write-to=microcode.bin
343a5efd 39
e168b899
ER
40install -d kernel/x86/microcode
41ln microcode.bin kernel/x86/microcode/GenuineIntel.bin
42echo kernel/x86/microcode/GenuineIntel.bin | cpio -o -H newc -R 0:0 > intel-ucode.img
43
165fd4a0
AM
44%install
45rm -rf $RPM_BUILD_ROOT
476af782 46install -d $RPM_BUILD_ROOT{/lib/firmware,/boot}
343a5efd 47
e168b899
ER
48cp -a intel-ucode $RPM_BUILD_ROOT/lib/firmware
49cp -p intel-ucode.img $RPM_BUILD_ROOT/boot
ca91a51d 50
165fd4a0
AM
51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%files
55%defattr(644,root,root,755)
7a1e9f38 56%doc releasenote
343a5efd 57/lib/firmware/intel-ucode
ca91a51d
AM
58
59%files initrd
60%defattr(644,root,root,755)
fd284e49 61%doc releasenote
ca91a51d 62/boot/intel-ucode.img
This page took 0.042412 seconds and 4 git commands to generate.