]>
Commit | Line | Data |
---|---|---|
586573d2 JB |
1 | Summary: An easy way to virtualize the running system |
2 | Summary(pl.UTF-8): Łatwy sposób wirtualizacji działającego systemu | |
3 | Name: virtme | |
6717d7e2 JB |
4 | Version: 0.1.1 |
5 | Release: 1 | |
586573d2 JB |
6 | License: GPL v2 |
7 | Group: Applications/System | |
5f50556b | 8 | Source0: https://www.kernel.org/pub/linux/utils/kernel/virtme/releases/%{name}-%{version}.tar.xz |
6717d7e2 | 9 | # Source0-md5: 4714904bafee4b46428724de47027794 |
586573d2 JB |
10 | URL: https://github.com/amluto/virtme |
11 | BuildRequires: python3-modules >= 1:3.3 | |
6717d7e2 | 12 | BuildRequires: rpm-pythonprov |
5f50556b | 13 | BuildRequires: rpmbuild(macros) >= 1.714 |
586573d2 JB |
14 | BuildRequires: tar >= 1:1.22 |
15 | BuildRequires: xz | |
16 | Requires: python3 >= 1:3.3 | |
17 | Requires: qemu >= 1.6 | |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
20 | %description | |
21 | Virtme is a set of simple tools to run a virtualized Linux kernel that | |
22 | uses the host Linux distribution or a simple rootfs instead of a whole | |
23 | disk image. | |
24 | ||
25 | %description -l pl.UTF-8 | |
26 | Virtme to zestaw prostych narzędzi do uruchamiania wirtualizowanego | |
27 | jądra Linuksa z wykorzystaniem dystrybucji Linuksa hosta lub prostego | |
28 | rootfs-a zamiast całego obrazu dysku. | |
29 | ||
30 | %prep | |
31 | %setup -q | |
32 | ||
33 | %build | |
5f50556b | 34 | %py3_build |
586573d2 JB |
35 | |
36 | %install | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | ||
5f50556b | 39 | %py3_install |
586573d2 JB |
40 | |
41 | # omitted by install | |
42 | install virtme-mkinitramfs $RPM_BUILD_ROOT%{_bindir} | |
43 | ||
44 | %clean | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %files | |
48 | %defattr(644,root,root,755) | |
49 | %doc DCO-1.1.txt README.md | |
50 | %attr(755,root,root) %{_bindir}/virtme-configkernel | |
51 | %attr(755,root,root) %{_bindir}/virtme-mkinitramfs | |
6717d7e2 | 52 | %attr(755,root,root) %{_bindir}/virtme-prep-kdir-mods |
586573d2 | 53 | %attr(755,root,root) %{_bindir}/virtme-run |
586573d2 | 54 | %{py3_sitescriptdir}/virtme |
5f50556b | 55 | %{py3_sitescriptdir}/virtme-%{version}-py*.egg-info |