Summary: Virtual Machine Manager
Summary(pl.UTF-8): Zarządca maszyn wirtualnych
Name: virt-manager
-Version: 2.2.1
+Version: 3.2.0
Release: 1
Epoch: 1
License: GPL v2+
Group: Applications/Emulators
Source0: https://releases.pagure.org/virt-manager/%{name}-%{version}.tar.gz
-# Source0-md5: adb4fa436d60b62a8e18a7b3a1667d97
-Patch0: arm-ovmf-path.patch
+# Source0-md5: a87507223c32d15eb12e1754404061dc
URL: http://virt-manager.org/
BuildRequires: gettext-tools >= 0.14.1
BuildRequires: glib2-devel
maszynach lokalnych i zdalnych. Wykorzystuje libvirt jako API do
zarządzania.
+%package -n bash-completion-%{name}
+Summary: bash-completion for libvirt
+Group: Applications/Shells
+Requires: bash-completion
+%if "%{_rpmversion}" >= "5"
+BuildArch: noarch
+%endif
+
+%description -n bash-completion-%{name}
+This package provides bash-completion for libvirt.
+
%package -n python3-virtinst
Summary: Python modules and utilities for installing virtual machines
Summary(pl.UTF-8): Moduły Pythona i narzędzia do instalowania maszyn wirtualnych
%prep
%setup -q
-%patch0 -p1
%build
%{__python3} setup.py \
%py3_install
+install -d $RPM_BUILD_ROOT/etc/bash_completion.d
+%{__mv} $RPM_BUILD_ROOT%{_datadir}/bash-completion/completions/* $RPM_BUILD_ROOT/etc/bash_completion.d/
+
%find_lang %{name}
%clean
%{_datadir}/%{name}/ui
%dir %{_datadir}/%{name}/virtManager
%{_datadir}/%{name}/virtManager/*.py*
-%attr(755,root,root) %{_datadir}/%{name}/virt-manager
-%attr(755,root,root) %{_datadir}/%{name}/virtManager
-%{_datadir}/appdata/virt-manager.appdata.xml
+%dir %{_datadir}/%{name}/virtManager/details
+%{_datadir}/%{name}/virtManager/details/*.py*
+%dir %{_datadir}/%{name}/virtManager/device
+%{_datadir}/%{name}/virtManager/device/*.py*
+%dir %{_datadir}/%{name}/virtManager/lib
+%{_datadir}/%{name}/virtManager/lib/*.py*
+%dir %{_datadir}/%{name}/virtManager/object
+%{_datadir}/%{name}/virtManager/object/*.py*
+%{_datadir}/metainfo/virt-manager.appdata.xml
%{_datadir}/glib-2.0/schemas/org.virt-manager.virt-manager.gschema.xml
%{_desktopdir}/%{name}.desktop
%{_iconsdir}/hicolor/*/apps/virt-manager.png
%{_mandir}/man1/virt-manager.1*
+%files -n bash-completion-%{name}
+%defattr(644,root,root,755)
+/etc/bash_completion.d/virt-clone
+/etc/bash_completion.d/virt-install
+/etc/bash_completion.d/virt-xml
+
%files -n python3-virtinst -f %{name}.lang
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/virt-clone
-%attr(755,root,root) %{_bindir}/virt-convert
%attr(755,root,root) %{_bindir}/virt-install
%attr(755,root,root) %{_bindir}/virt-xml
%dir %{_datadir}/%{name}
-%dir %{_datadir}/%{name}/virtconv
-%{_datadir}/%{name}/virtconv/*.py*
%dir %{_datadir}/%{name}/virtinst
+%{_datadir}/%{name}/virtinst/build.cfg
%{_datadir}/%{name}/virtinst/*.py*
%dir %{_datadir}/%{name}/virtinst/devices
%{_datadir}/%{name}/virtinst/devices/*.py*
%{_datadir}/%{name}/virtinst/domain/*.py*
%dir %{_datadir}/%{name}/virtinst/install
%{_datadir}/%{name}/virtinst/install/*.py*
-%attr(755,root,root) %{_datadir}/%{name}/virt-clone
-%attr(755,root,root) %{_datadir}/%{name}/virt-convert
-%attr(755,root,root) %{_datadir}/%{name}/virt-install
-%attr(755,root,root) %{_datadir}/%{name}/virt-xml
%{_mandir}/man1/virt-clone.1*
-%{_mandir}/man1/virt-convert.1*
%{_mandir}/man1/virt-install.1*
%{_mandir}/man1/virt-xml.1*