]>
Commit | Line | Data |
---|---|---|
8eb0adf0 | 1 | Summary: Virtual Machine Manager |
14f30eaf | 2 | Summary(pl.UTF-8): Zarządca maszyn wirtualnych |
8eb0adf0 | 3 | Name: virt-manager |
6970fd80 | 4 | Version: 4.0.0 |
b3d57b23 | 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 |
6970fd80 | 10 | # Source0-md5: 4c407920b9d3c385e4ceaa177f003b9d |
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 |
e194c975 | 16 | BuildRequires: python3-devel |
11feb5eb JP |
17 | BuildRequires: python3-libvirt >= 0.9.6 |
18 | BuildRequires: python3-libxml2 >= 1:2.7.8 | |
f9810d86 JB |
19 | BuildRequires: rpmbuild(macros) >= 1.592 |
20 | Requires(post,postun): glib2 | |
45fc912e | 21 | Requires(post,postun): gtk-update-icon-cache |
ed33ff02 | 22 | Requires: gtk+3 >= 3.14 |
04de2c2a | 23 | Requires: gtk3-vnc >= 0.4.3 |
ad8ab6c2 | 24 | Requires: gtksourceview4 |
62263673 | 25 | Requires: hicolor-icon-theme |
aca426b6 JB |
26 | Requires: libosinfo >= 0.2.10 |
27 | Requires: libvirt-glib >= 0.0.9 | |
e194c975 JP |
28 | Requires: python3-libvirt >= 0.9.6 |
29 | Requires: python3-pygobject3 >= 3.14 | |
30 | Requires: python3-virtinst = %{epoch}:%{version}-%{release} | |
e0a77bc7 | 31 | Requires: spice-gtk |
f9810d86 | 32 | Requires: vte >= 0.34 |
6970fd80 | 33 | Requires: xorriso |
234e70d3 | 34 | Suggests: gnome-keyring >= 0.4.9 |
e194c975 | 35 | Suggests: python3-libguestfs >= 1.12.0 |
6970fd80 | 36 | BuildArch: noarch |
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 | ||
c4930d95 KM |
56 | %package -n bash-completion-virt-manager |
57 | Summary: bash-completion for virt-clone, virt-install and virt-xml commands | |
58 | Summary(pl.UTF-8): bashowe uzupełnianie parametrów poleceń virt-clone, virt-install i virt-xml | |
59 | Group: Applications/Shells | |
60 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
61 | Requires: bash-completion >= 2.0 | |
c4930d95 | 62 | BuildArch: noarch |
c4930d95 KM |
63 | |
64 | %description -n bash-completion-virt-manager | |
65 | Bash-completion for virt-clone, virt-install and virt-xml commands. | |
66 | ||
67 | %description -n bash-completion-virt-manager -l pl.UTF-8 | |
68 | Bashowe uzupełnianie parametrów polecenń virt-clone, virt-install i | |
69 | virt-xml. | |
70 | ||
e194c975 | 71 | %package -n python3-virtinst |
f9810d86 JB |
72 | Summary: Python modules and utilities for installing virtual machines |
73 | Summary(pl.UTF-8): Moduły Pythona i narzędzia do instalowania maszyn wirtualnych | |
74 | Group: Libraries/Python | |
e194c975 JP |
75 | Requires: python3-libvirt >= 0.9.6 |
76 | Requires: python3-libxml2 >= 1:2.7.8 | |
77 | Requires: python3-modules | |
78 | Requires: python3-requests | |
79 | Suggests: python3-selinux | |
f9810d86 | 80 | Suggests: virt-viewer >= 0.0.1 |
e194c975 | 81 | Obsoletes: python-virtinst < 2.0.0 |
f9810d86 | 82 | |
e194c975 | 83 | %description -n python3-virtinst |
f9810d86 JB |
84 | virtinst is a module that helps build and install libvirt based |
85 | virtual machines. Currently supports KVM, QEmu and Xen virtual | |
86 | machines. Package includes several command line utilities, including | |
87 | virt-install (build and install new VMs) and virt-clone (clone an | |
88 | existing virtual machine). | |
89 | ||
e194c975 | 90 | %description -n python3-virtinst -l pl.UTF-8 |
f9810d86 JB |
91 | virtinst to moduł pomagający przy tworzeniu i instalowaniu maszyn |
92 | wirtualnych opartych na libvirt. Obecnie obsługiwane są maszyny KVM, | |
93 | QEmu i Xen. Pakiet zawiera kilka działających z linii poleceń | |
94 | skryptów, w tym virt-install (tworzący i instalujący nowe VM-y) oraz | |
95 | virt-clone (klonujący istniejącą maszynę wirtualną). | |
96 | ||
8eb0adf0 SP |
97 | %prep |
98 | %setup -q | |
8eb0adf0 | 99 | |
6970fd80 | 100 | %{__sed} -i '1s,%{_bindir}/env python3$,%{__python3},' \ |
c4930d95 KM |
101 | virtManager/virtmanager.py |
102 | ||
8eb0adf0 | 103 | %build |
e194c975 | 104 | %{__python3} setup.py \ |
ad8ab6c2 | 105 | configure \ |
6970fd80 KM |
106 | --prefix=%{_prefix} \ |
107 | --default-graphics="spice" | |
8eb0adf0 | 108 | |
8eb0adf0 SP |
109 | %install |
110 | rm -rf $RPM_BUILD_ROOT | |
45fc912e | 111 | |
6970fd80 KM |
112 | %{__python3} setup.py \ |
113 | --no-update-icon-cache \ | |
114 | --no-compile-schemas install \ | |
115 | --prefix=%{_prefix} \ | |
116 | -O1 --root=$RPM_BUILD_ROOT | |
45fc912e | 117 | |
c4930d95 KM |
118 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/kab |
119 | ||
5bd4e967 | 120 | %find_lang %{name} |
3a7f7a6f | 121 | |
8eb0adf0 SP |
122 | %clean |
123 | rm -rf $RPM_BUILD_ROOT | |
124 | ||
8eb0adf0 | 125 | %post |
f9810d86 | 126 | %glib_compile_schemas |
45fc912e | 127 | %update_icon_cache hicolor |
8eb0adf0 | 128 | |
8eb0adf0 | 129 | %postun |
f9810d86 JB |
130 | if [ "$1" = "0" ]; then |
131 | %glib_compile_schemas | |
132 | fi | |
45fc912e | 133 | %update_icon_cache hicolor |
8eb0adf0 | 134 | |
f9810d86 | 135 | %files |
8eb0adf0 | 136 | %defattr(644,root,root,755) |
3115fa5c | 137 | %doc NEWS.md README.md |
f9810d86 | 138 | %attr(755,root,root) %{_bindir}/virt-manager |
45fc912e | 139 | %{_datadir}/%{name}/icons |
f9810d86 | 140 | %{_datadir}/%{name}/ui |
b225787c | 141 | %dir %{_datadir}/%{name}/virtManager |
f9810d86 | 142 | %{_datadir}/%{name}/virtManager/*.py* |
ad8ab6c2 JP |
143 | %dir %{_datadir}/%{name}/virtManager/details |
144 | %{_datadir}/%{name}/virtManager/details/*.py* | |
145 | %dir %{_datadir}/%{name}/virtManager/device | |
146 | %{_datadir}/%{name}/virtManager/device/*.py* | |
147 | %dir %{_datadir}/%{name}/virtManager/lib | |
148 | %{_datadir}/%{name}/virtManager/lib/*.py* | |
149 | %dir %{_datadir}/%{name}/virtManager/object | |
150 | %{_datadir}/%{name}/virtManager/object/*.py* | |
c4930d95 | 151 | %{_datadir}/metainfo/virt-manager.appdata.xml |
f9810d86 | 152 | %{_datadir}/glib-2.0/schemas/org.virt-manager.virt-manager.gschema.xml |
8eb0adf0 | 153 | %{_desktopdir}/%{name}.desktop |
f9810d86 JB |
154 | %{_iconsdir}/hicolor/*/apps/virt-manager.png |
155 | %{_mandir}/man1/virt-manager.1* | |
156 | ||
c4930d95 KM |
157 | %files -n bash-completion-virt-manager |
158 | %defattr(644,root,root,755) | |
159 | %{bash_compdir}/virt-clone | |
160 | %{bash_compdir}/virt-install | |
161 | %{bash_compdir}/virt-xml | |
162 | ||
e194c975 | 163 | %files -n python3-virtinst -f %{name}.lang |
f9810d86 JB |
164 | %defattr(644,root,root,755) |
165 | %attr(755,root,root) %{_bindir}/virt-clone | |
f9810d86 | 166 | %attr(755,root,root) %{_bindir}/virt-install |
1689857a | 167 | %attr(755,root,root) %{_bindir}/virt-xml |
f9810d86 | 168 | %dir %{_datadir}/%{name} |
f9810d86 | 169 | %dir %{_datadir}/%{name}/virtinst |
ad8ab6c2 | 170 | %{_datadir}/%{name}/virtinst/build.cfg |
f9810d86 | 171 | %{_datadir}/%{name}/virtinst/*.py* |
e194c975 JP |
172 | %dir %{_datadir}/%{name}/virtinst/devices |
173 | %{_datadir}/%{name}/virtinst/devices/*.py* | |
174 | %dir %{_datadir}/%{name}/virtinst/domain | |
175 | %{_datadir}/%{name}/virtinst/domain/*.py* | |
ad8ab6c2 JP |
176 | %dir %{_datadir}/%{name}/virtinst/install |
177 | %{_datadir}/%{name}/virtinst/install/*.py* | |
f9810d86 | 178 | %{_mandir}/man1/virt-clone.1* |
f9810d86 | 179 | %{_mandir}/man1/virt-install.1* |
1689857a | 180 | %{_mandir}/man1/virt-xml.1* |