]> git.pld-linux.org Git - packages/microcode-data-amd.git/blob - microcode-data-amd.spec
- up to 20120910
[packages/microcode-data-amd.git] / microcode-data-amd.spec
1 %define         dash_snap       2012-09-10
2 %define         spec_snap       %(echo %{dash_snap} | sed -e 's/-//g')
3 Summary:        Microcode definitions for AMD64 processors
4 Summary(pl.UTF-8):      Definicje mikrokodu dla procesorów AMD64
5 Name:           microcode-data-amd
6 Version:        %{spec_snap}
7 Release:        1
8 License:        AMD SOFTWARE LICENSE AGREEMENT
9 Group:          Base
10 # http://www.amd64.org/index.php?id=50&file=amd-ucode-2012-09-10.tar
11 Source0:        amd-ucode-%{dash_snap}.tar
12 # Source0-md5:  559bc355d3799538584add80df2996f0
13 URL:            http://www.amd64.org/support/microcode.html
14 Provides:       microcode-data
15 ExclusiveArch:  i686 %{x8664}
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 # nothing to put there
19 %define         _enable_debug_packages  0
20
21 %description
22 The microcode data file for Linux contains the latest microcode
23 definitions for AMD64 processor families 10h, 11h, 12h, 14h, and 15h.
24
25 %description -l pl.UTF-8
26 Te pliki danych mikrokodu dla Linuksa zawierają najnowsze definicje
27 mikrokodu dla procesorów AMD64 z rodzin 10h, 11h, 12h, 14h i 15h.
28
29 %prep
30 %setup -q -n amd-ucode-%{dash_snap}
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT/lib/firmware/amd-ucode
35 install microcode_amd.bin $RPM_BUILD_ROOT/lib/firmware/amd-ucode
36 install microcode_amd_fam15h.bin $RPM_BUILD_ROOT/lib/firmware/amd-ucode
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %files
42 %defattr(644,root,root,755)
43 %dir /lib/firmware/amd-ucode
44 %attr(640,root,root) /lib/firmware/amd-ucode/microcode*.bin
This page took 0.11281 seconds and 3 git commands to generate.