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