]> git.pld-linux.org Git - packages/microcode-data-intel.git/blame - microcode-data-intel.spec
- updated to 20101123
[packages/microcode-data-intel.git] / microcode-data-intel.spec
CommitLineData
165fd4a0
AM
1Summary: Microcode definitions for Intel processors
2Name: microcode-data-intel
61cbfb85 3Version: 20101123
165fd4a0
AM
4Release: 1
5License: INTEL SOFTWARE LICENSE AGREEMENT
6Group: Base
7# http://downloadcenter.intel.com/, enter "microcode" to the search
61cbfb85
KK
8Source0: http://downloadmirror.intel.com/19611/eng/microcode-%{version}.tgz
9# Source0-md5: e19dd592d3357cd47e4d360ce43f4032
165fd4a0 10Provides: microcode-data
bc02db33 11ExclusiveArch: i686 pentium2 pentium3 pentium4 %{x8664}
165fd4a0
AM
12BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
23d57ba9
ER
14# nothing to put there
15%define _enable_debug_packages 0
16
165fd4a0
AM
17%description
18The microcode data file for Linux contains the latest microcode
19definitions for all Intel processors.
20
21%prep
22%setup -q -c
23d57ba9 23mv microcode*.dat microcode.dat
165fd4a0
AM
24
25%build
23d57ba9
ER
26if ! grep -q 0x00000000 microcode.dat; then
27 echo >&2 microcode.dat contains giberrish
28 exit 1
29fi
30
165fd4a0
AM
31%install
32rm -rf $RPM_BUILD_ROOT
0e5ddd0b 33install -d $RPM_BUILD_ROOT/lib/firmware
23d57ba9 34cp -a microcode.dat $RPM_BUILD_ROOT/lib/firmware/microcode.dat
165fd4a0
AM
35
36%clean
37rm -rf $RPM_BUILD_ROOT
38
39%files
40%defattr(644,root,root,755)
0e5ddd0b 41%attr(640,root,root) /lib/firmware/microcode.dat
This page took 0.089139 seconds and 4 git commands to generate.