]> git.pld-linux.org Git - packages/linux-kvm.git/blame - linux-kvm.spec
binutils rebuild
[packages/linux-kvm.git] / linux-kvm.spec
CommitLineData
d02aea84 1# TODO: use linux tarball when kernel 3.1 is released
8f7692d6 2%define rel 24
d02aea84
AM
3%define snap 20110726
4Summary: Native Linux KVM tool
81b622b2 5Summary(pl.UTF-8): Natywne narzędzie KVM dla Linuksa
d02aea84
AM
6Name: linux-kvm
7Version: 3.1
3458cc33 8Release: 0.%{snap}.%{rel}
d02aea84
AM
9License: GPL v2
10Group: Applications/System
11# git://github.com/penberg/linux-kvm.git
12Source0: %{name}-%{version}-%{snap}.tar.bz2
13# Source0-md5: b0b94a75d915f70ae14a089ddc7d7abb
b9e70b54 14Patch0: fix-types.patch
1f366553 15BuildRequires: binutils-devel
4163b392 16BuildRequires: glibc-devel(ix86)
d02aea84
AM
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20The goal of this tool is to provide a clean, from-scratch, lightweight
21KVM host tool implementation that can boot Linux guest images (just a
22hobby, won't be big and professional like QEMU) with no BIOS
23dependencies and with only the minimal amount of legacy device
24emulation.
25
81b622b2
JB
26%description -l pl.UTF-8
27Celem tego narzędzia jest dostarczenie czystej, lekkiej, napisanej od
28zera implementacji hosta KVM, potrafiącego uruchamiać obrazy gościa
29Linuksa (tylko hobby, nie będzie duża i profesjonalna jak QEMU) bez
30zależności oD BIOS-u i z minimalną emulacją tradycyjnych urządzeń.
31
d02aea84
AM
32%prep
33%setup -q -n %{name}
b9e70b54 34%patch0 -p1
d02aea84
AM
35
36%build
37%{__make} -C tools/kvm \
38 CC="%{__cc} %{rpmcppflags} %{rpmcflags} %{rpmldflags}" \
b9e70b54 39 WERROR=0 \
d02aea84
AM
40 V=1
41
42%install
43rm -rf $RPM_BUILD_ROOT
d02aea84
AM
44install -d $RPM_BUILD_ROOT%{_sbindir}
45
46install tools/kvm/kvm $RPM_BUILD_ROOT%{_sbindir}
47
48%clean
49rm -rf $RPM_BUILD_ROOT
50
51%files
52%defattr(644,root,root,755)
53%doc tools/kvm/Documentation/* tools/kvm/README
54%attr(755,root,root) %{_sbindir}/kvm
This page took 0.101772 seconds and 4 git commands to generate.