]>
Commit | Line | Data |
---|---|---|
8eb0adf0 | 1 | Summary: Virtual Machine Manager |
14f30eaf | 2 | Summary(pl.UTF-8): Zarządca maszyn wirtualnych |
8eb0adf0 | 3 | Name: virt-manager |
d52833d6 JP |
4 | Version: 1.4.2 |
5 | Release: 1 | |
5a212f16 | 6 | Epoch: 1 |
8eb0adf0 SP |
7 | License: GPL v2+ |
8 | Group: Applications/Emulators | |
3115fa5c | 9 | Source0: https://releases.pagure.org/virt-manager/%{name}-%{version}.tar.gz |
d52833d6 | 10 | # Source0-md5: e143252290501b21da1a213885c12ed8 |
45fc912e | 11 | URL: http://virt-manager.org/ |
53514820 | 12 | BuildRequires: gettext-tools >= 0.14.1 |
8eb0adf0 | 13 | BuildRequires: glib2-devel |
45fc912e | 14 | BuildRequires: intltool >= 0.35.0 |
98deb886 | 15 | BuildRequires: perl-tools-pod |
ed33ff02 | 16 | BuildRequires: python-devel >= 1:2.7 |
f9810d86 JB |
17 | BuildRequires: rpmbuild(macros) >= 1.592 |
18 | Requires(post,postun): glib2 | |
45fc912e | 19 | Requires(post,postun): gtk-update-icon-cache |
ed33ff02 | 20 | Requires: gtk+3 >= 3.14 |
04de2c2a | 21 | Requires: gtk3-vnc >= 0.4.3 |
62263673 | 22 | Requires: hicolor-icon-theme |
aca426b6 JB |
23 | Requires: libosinfo >= 0.2.10 |
24 | Requires: libvirt-glib >= 0.0.9 | |
45fc912e | 25 | Requires: python-dbus >= 0.84.0 |
45fc912e | 26 | Requires: python-gnome-desktop-librsvg >= 2.32.0 |
62263673 | 27 | Requires: python-gnome-gconf >= 2.28.1 |
e0a77bc7 | 28 | Requires: python-ipaddr |
3562ad6c | 29 | Requires: python-libvirt >= 0.9.6 |
ed33ff02 | 30 | Requires: python-pygobject3 >= 3.14 |
04de2c2a | 31 | Requires: python-virtinst = %{epoch}:%{version}-%{release} |
e0a77bc7 | 32 | Requires: spice-gtk |
f9810d86 | 33 | Requires: vte >= 0.34 |
234e70d3 | 34 | Suggests: gnome-keyring >= 0.4.9 |
35 | Suggests: python-gnome-desktop-keyring >= 2.15.4 | |
c6a409cf | 36 | Suggests: python-libguestfs >= 1.12.0 |
14f30eaf | 37 | ExclusiveArch: %{ix86} %{x8664} ia64 |
a04e8cd8 | 38 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
8eb0adf0 | 39 | |
8eb0adf0 SP |
40 | %description |
41 | Virtual Machine Manager provides a graphical tool for administering | |
42 | virtual machines for KVM, Xen, and QEmu. Start, stop, add or remove | |
43 | virtual devices, connect to a graphical or serial console, and see | |
44 | resource usage statistics for existing VMs on local or remote | |
45 | machines. Uses libvirt as the backend management API. | |
46 | ||
14f30eaf JB |
47 | %description -l pl.UTF-8 |
48 | Virtual Machine Manager udostępnia graficzne narzędzie do | |
49 | administrowania maszynami wirtualnymi dla środowisk KVM, Xen i QEmu. | |
50 | Pozwala uruchamiać, zatrzymywać, dodawać i usuwać urządzenia | |
51 | wirtualne, łączyć się z konsolą graficzną lub szeregową oraz oglądać | |
52 | statystyki wykorzystania zasobów istniejących maszyn wirtualnych na | |
53 | maszynach lokalnych i zdalnych. Wykorzystuje libvirt jako API do | |
54 | zarządzania. | |
55 | ||
f9810d86 JB |
56 | %package -n python-virtinst |
57 | Summary: Python modules and utilities for installing virtual machines | |
58 | Summary(pl.UTF-8): Moduły Pythona i narzędzia do instalowania maszyn wirtualnych | |
59 | Group: Libraries/Python | |
60 | Requires: python-libvirt >= 0.9.6 | |
61 | Requires: python-libxml2 >= 1:2.7.8 | |
62 | Requires: python-modules | |
63 | Requires: python-urlgrabber | |
64 | Suggests: python-selinux | |
65 | Suggests: virt-viewer >= 0.0.1 | |
66 | ||
67 | %description -n python-virtinst | |
68 | virtinst is a module that helps build and install libvirt based | |
69 | virtual machines. Currently supports KVM, QEmu and Xen virtual | |
70 | machines. Package includes several command line utilities, including | |
71 | virt-install (build and install new VMs) and virt-clone (clone an | |
72 | existing virtual machine). | |
73 | ||
74 | %description -n python-virtinst -l pl.UTF-8 | |
75 | virtinst to moduł pomagający przy tworzeniu i instalowaniu maszyn | |
76 | wirtualnych opartych na libvirt. Obecnie obsługiwane są maszyny KVM, | |
77 | QEmu i Xen. Pakiet zawiera kilka działających z linii poleceń | |
78 | skryptów, w tym virt-install (tworzący i instalujący nowe VM-y) oraz | |
79 | virt-clone (klonujący istniejącą maszynę wirtualną). | |
80 | ||
8eb0adf0 SP |
81 | %prep |
82 | %setup -q | |
8eb0adf0 SP |
83 | |
84 | %build | |
f9810d86 | 85 | %{__python} setup.py configure \ |
2519eafb | 86 | --prefix=%{_prefix} \ |
f9810d86 JB |
87 | --libvirt-package-names=libvirt \ |
88 | --kvm-package-names=qemu-lvm | |
89 | ||
2519eafb | 90 | %py_build |
8eb0adf0 | 91 | |
8eb0adf0 SP |
92 | %install |
93 | rm -rf $RPM_BUILD_ROOT | |
45fc912e | 94 | |
2519eafb | 95 | %py_install |
7e06c032 | 96 | |
45fc912e AF |
97 | %py_comp $RPM_BUILD_ROOT%{_datadir}/%{name} |
98 | %py_ocomp $RPM_BUILD_ROOT%{_datadir}/%{name} | |
f9810d86 | 99 | # requires patching(?) |
45fc912e AF |
100 | #%%py_postclean %{_datadir}/%{name} |
101 | ||
5bd4e967 | 102 | %find_lang %{name} |
3a7f7a6f | 103 | |
8eb0adf0 SP |
104 | %clean |
105 | rm -rf $RPM_BUILD_ROOT | |
106 | ||
8eb0adf0 | 107 | %post |
f9810d86 | 108 | %glib_compile_schemas |
45fc912e | 109 | %update_icon_cache hicolor |
8eb0adf0 | 110 | |
8eb0adf0 | 111 | %postun |
f9810d86 JB |
112 | if [ "$1" = "0" ]; then |
113 | %glib_compile_schemas | |
114 | fi | |
45fc912e | 115 | %update_icon_cache hicolor |
8eb0adf0 | 116 | |
f9810d86 | 117 | %files |
8eb0adf0 | 118 | %defattr(644,root,root,755) |
3115fa5c | 119 | %doc NEWS.md README.md |
f9810d86 | 120 | %attr(755,root,root) %{_bindir}/virt-manager |
45fc912e | 121 | %{_datadir}/%{name}/icons |
f9810d86 | 122 | %{_datadir}/%{name}/ui |
b225787c | 123 | %dir %{_datadir}/%{name}/virtManager |
f9810d86 JB |
124 | %{_datadir}/%{name}/virtManager/*.py* |
125 | %attr(755,root,root) %{_datadir}/%{name}/virt-manager | |
042eb645 | 126 | %{_datadir}/GConf/gsettings/org.virt-manager.virt-manager.convert |
1689857a | 127 | %{_datadir}/appdata/virt-manager.appdata.xml |
f9810d86 | 128 | %{_datadir}/glib-2.0/schemas/org.virt-manager.virt-manager.gschema.xml |
8eb0adf0 | 129 | %{_desktopdir}/%{name}.desktop |
f9810d86 JB |
130 | %{_iconsdir}/hicolor/*/apps/virt-manager.png |
131 | %{_mandir}/man1/virt-manager.1* | |
132 | ||
133 | %files -n python-virtinst -f %{name}.lang | |
134 | %defattr(644,root,root,755) | |
135 | %attr(755,root,root) %{_bindir}/virt-clone | |
136 | %attr(755,root,root) %{_bindir}/virt-convert | |
f9810d86 | 137 | %attr(755,root,root) %{_bindir}/virt-install |
1689857a | 138 | %attr(755,root,root) %{_bindir}/virt-xml |
f9810d86 JB |
139 | %dir %{_datadir}/%{name} |
140 | %dir %{_datadir}/%{name}/virtcli | |
141 | %{_datadir}/%{name}/virtcli/*.py* | |
142 | %{_datadir}/%{name}/virtcli/cli.cfg | |
143 | %dir %{_datadir}/%{name}/virtconv | |
144 | %{_datadir}/%{name}/virtconv/*.py* | |
f9810d86 JB |
145 | %dir %{_datadir}/%{name}/virtinst |
146 | %{_datadir}/%{name}/virtinst/*.py* | |
147 | %attr(755,root,root) %{_datadir}/%{name}/virt-clone | |
148 | %attr(755,root,root) %{_datadir}/%{name}/virt-convert | |
f9810d86 | 149 | %attr(755,root,root) %{_datadir}/%{name}/virt-install |
1689857a | 150 | %attr(755,root,root) %{_datadir}/%{name}/virt-xml |
f9810d86 JB |
151 | %{_mandir}/man1/virt-clone.1* |
152 | %{_mandir}/man1/virt-convert.1* | |
f9810d86 | 153 | %{_mandir}/man1/virt-install.1* |
1689857a | 154 | %{_mandir}/man1/virt-xml.1* |