]>
Commit | Line | Data |
---|---|---|
f2f0d669 AF |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = intel-microcode | |
3c08fdcd | 7 | version = 20221108 |
5b2a8058 | 8 | release = 2 |
f2f0d669 AF |
9 | thisapp = microcode-%{version} |
10 | ||
11 | maintainer = Arne Fitzenreiter <arne.fitzenreiter@ipfire.org> | |
12 | groups = System/Libraries | |
13 | url = https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/releases | |
14 | license = Non-GPL | |
15 | summary = Microcode update for Intel CPU's. | |
16 | ||
17 | description | |
18 | intel-microcode provides some binaries that | |
19 | are loaded into the Intel CPU at startup. | |
20 | end | |
21 | ||
22 | source_dl = https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/archive/ | |
23 | ||
24 | build | |
5cd803df MT |
25 | arches = noarch |
26 | ||
f2f0d669 AF |
27 | build |
28 | : # Nothing to do. | |
29 | end | |
30 | ||
31 | DIR_APP = %{DIR_SRC}/Intel-Linux-Processor-Microcode-Data-Files-%{thisapp} | |
32 | ||
33 | install | |
34 | mkdir -pv %{BUILDROOT}%{prefix}/lib/firmware | |
35 | cp -prv intel-ucode %{BUILDROOT}%{prefix}/lib/firmware | |
5b2a8058 SS |
36 | |
37 | # Set correct permissions for directories and firmware files. | |
38 | find %{BUILDROOT}%{prefix}/lib/firmware -type d -exec chmod 755 {} \; | |
39 | find %{BUILDROOT}%{prefix}/lib/firmware -type f -exec chmod 644 {} \; | |
f2f0d669 AF |
40 | end |
41 | end | |
42 | ||
43 | packages | |
44 | package %{name} | |
45 | end |