]> git.pld-linux.org Git - packages/linux-kvm.git/blame - linux-kvm.spec
- release 12 (by relup.sh)
[packages/linux-kvm.git] / linux-kvm.spec
CommitLineData
d02aea84 1# TODO: use linux tarball when kernel 3.1 is released
18b3b0ce 2%define rel 12
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
d02aea84
AM
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19The goal of this tool is to provide a clean, from-scratch, lightweight
20KVM host tool implementation that can boot Linux guest images (just a
21hobby, won't be big and professional like QEMU) with no BIOS
22dependencies and with only the minimal amount of legacy device
23emulation.
24
81b622b2
JB
25%description -l pl.UTF-8
26Celem tego narzędzia jest dostarczenie czystej, lekkiej, napisanej od
27zera implementacji hosta KVM, potrafiącego uruchamiać obrazy gościa
28Linuksa (tylko hobby, nie będzie duża i profesjonalna jak QEMU) bez
29zależności oD BIOS-u i z minimalną emulacją tradycyjnych urządzeń.
30
d02aea84
AM
31%prep
32%setup -q -n %{name}
b9e70b54 33%patch0 -p1
d02aea84
AM
34
35%build
36%{__make} -C tools/kvm \
37 CC="%{__cc} %{rpmcppflags} %{rpmcflags} %{rpmldflags}" \
b9e70b54 38 WERROR=0 \
d02aea84
AM
39 V=1
40
41%install
42rm -rf $RPM_BUILD_ROOT
d02aea84
AM
43install -d $RPM_BUILD_ROOT%{_sbindir}
44
45install tools/kvm/kvm $RPM_BUILD_ROOT%{_sbindir}
46
47%clean
48rm -rf $RPM_BUILD_ROOT
49
50%files
51%defattr(644,root,root,755)
52%doc tools/kvm/Documentation/* tools/kvm/README
53%attr(755,root,root) %{_sbindir}/kvm
This page took 0.095708 seconds and 4 git commands to generate.