]> git.pld-linux.org Git - packages/microcode-data-intel.git/blame - microcode-data-intel.spec
- easier search
[packages/microcode-data-intel.git] / microcode-data-intel.spec
CommitLineData
165fd4a0
AM
1Summary: Microcode definitions for Intel processors
2Name: microcode-data-intel
fc4c3ef0 3Version: 20111110
165fd4a0
AM
4Release: 1
5License: INTEL SOFTWARE LICENSE AGREEMENT
6Group: Base
e54dfb65 7# http://downloadcenter.intel.com/, enter "processor microcode data file" to the search
fc4c3ef0
GP
8Source0: http://downloadmirror.intel.com/20728/eng/microcode-%{version}.tgz
9# Source0-md5: ba288eb9490986513e59c5a035c93a65
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
23
24%build
23d57ba9
ER
25if ! grep -q 0x00000000 microcode.dat; then
26 echo >&2 microcode.dat contains giberrish
27 exit 1
28fi
29
165fd4a0
AM
30%install
31rm -rf $RPM_BUILD_ROOT
0e5ddd0b 32install -d $RPM_BUILD_ROOT/lib/firmware
23d57ba9 33cp -a microcode.dat $RPM_BUILD_ROOT/lib/firmware/microcode.dat
165fd4a0
AM
34
35%clean
36rm -rf $RPM_BUILD_ROOT
37
38%files
39%defattr(644,root,root,755)
0e5ddd0b 40%attr(640,root,root) /lib/firmware/microcode.dat
This page took 0.0929720000000001 seconds and 4 git commands to generate.