]>
Commit | Line | Data |
---|---|---|
b7174bd6 | 1 | %define dash_snap 2019-12-20 |
d60f2e8f | 2 | %define spec_snap %(echo %{dash_snap} | sed -e 's/-//g') |
4aff822f | 3 | Summary: Microcode definitions for AMD64 processors |
d60f2e8f | 4 | Summary(pl.UTF-8): Definicje mikrokodu dla procesorów AMD64 |
4aff822f | 5 | Name: microcode-data-amd |
d60f2e8f | 6 | Version: %{spec_snap} |
c6af203c | 7 | Release: 1 |
4aff822f PS |
8 | License: AMD SOFTWARE LICENSE AGREEMENT |
9 | Group: Base | |
257941a5 AM |
10 | Source0: http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/plain/amd-ucode/microcode_amd.bin |
11 | # Source0-md5: 55ae79b82cbfddcf7142058be3c9ec2d | |
12 | Source1: http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/plain/amd-ucode/microcode_amd_fam15h.bin | |
2f0d4d54 MK |
13 | # Source1-md5: 3bdedb4466186a79c469f62120f6d7bb |
14 | Source2: http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/plain/amd-ucode/microcode_amd_fam16h.bin | |
15 | # Source2-md5: 6a47a6393c52ddfc0b5b044efc076a77 | |
16 | Source3: http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/plain/amd-ucode/microcode_amd_fam17h.bin | |
b7174bd6 | 17 | # Source3-md5: 60f18b6d7fa3d1231b27cc339c173c8c |
257941a5 | 18 | URL: http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git |
4aff822f | 19 | Provides: microcode-data |
8a4abd5d | 20 | ExclusiveArch: i686 athlon %{x8664} |
4aff822f PS |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
22 | ||
23 | # nothing to put there | |
24 | %define _enable_debug_packages 0 | |
25 | ||
26 | %description | |
27 | The microcode data file for Linux contains the latest microcode | |
2f0d4d54 MK |
28 | definitions for AMD64 processor families 10h, 11h, 12h, 14h, 15h, 16h |
29 | and 17h. | |
4aff822f | 30 | |
d60f2e8f JB |
31 | %description -l pl.UTF-8 |
32 | Te pliki danych mikrokodu dla Linuksa zawierają najnowsze definicje | |
2f0d4d54 MK |
33 | mikrokodu dla procesorów AMD64 z rodzin 10h, 11h, 12h, 14h, 15h, 16h |
34 | i 17h. | |
d60f2e8f | 35 | |
4aff822f | 36 | %prep |
257941a5 | 37 | %setup -q -T -c |
4aff822f PS |
38 | |
39 | %install | |
40 | rm -rf $RPM_BUILD_ROOT | |
7d470dee | 41 | install -d $RPM_BUILD_ROOT/lib/firmware/amd-ucode |
b0ce7bef JB |
42 | |
43 | cp -p %{SOURCE0} $RPM_BUILD_ROOT/lib/firmware/amd-ucode | |
44 | cp -p %{SOURCE1} $RPM_BUILD_ROOT/lib/firmware/amd-ucode | |
45 | cp -p %{SOURCE2} $RPM_BUILD_ROOT/lib/firmware/amd-ucode | |
46 | cp -p %{SOURCE3} $RPM_BUILD_ROOT/lib/firmware/amd-ucode | |
4aff822f PS |
47 | |
48 | %clean | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %files | |
52 | %defattr(644,root,root,755) | |
1ba527ab | 53 | %dir /lib/firmware/amd-ucode |
b0ce7bef JB |
54 | /lib/firmware/amd-ucode/microcode_amd.bin |
55 | /lib/firmware/amd-ucode/microcode_amd_fam15h.bin | |
56 | /lib/firmware/amd-ucode/microcode_amd_fam16h.bin | |
57 | /lib/firmware/amd-ucode/microcode_amd_fam17h.bin |