[packages/virt-manager] up to 2.0.0

atler atler at pld-linux.org
Tue Oct 16 21:08:10 CEST 2018


commit e194c975242e1fab6bd1ad09e0f73098267615b8
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue Oct 16 21:07:55 2018 +0200

    up to 2.0.0

 virt-manager.spec | 59 ++++++++++++++++++++++++-------------------------------
 1 file changed, 26 insertions(+), 33 deletions(-)
---
diff --git a/virt-manager.spec b/virt-manager.spec
index 25d5396..72794bc 100644
--- a/virt-manager.spec
+++ b/virt-manager.spec
@@ -1,19 +1,19 @@
 Summary:	Virtual Machine Manager
 Summary(pl.UTF-8):	Zarządca maszyn wirtualnych
 Name:		virt-manager
-Version:	1.5.1
+Version:	2.0.0
 Release:	1
 Epoch:		1
 License:	GPL v2+
 Group:		Applications/Emulators
 Source0:	https://releases.pagure.org/virt-manager/%{name}-%{version}.tar.gz
-# Source0-md5:	32a929fd91fca9767730abaefb94661d
+# Source0-md5:	5326c493de70453497b39d5a688e530f
 URL:		http://virt-manager.org/
 BuildRequires:	gettext-tools >= 0.14.1
 BuildRequires:	glib2-devel
 BuildRequires:	intltool >= 0.35.0
 BuildRequires:	perl-tools-pod
-BuildRequires:	python-devel >= 1:2.7
+BuildRequires:	python3-devel
 BuildRequires:	rpmbuild(macros) >= 1.592
 Requires(post,postun):	glib2
 Requires(post,postun):	gtk-update-icon-cache
@@ -22,18 +22,13 @@ Requires:	gtk3-vnc >= 0.4.3
 Requires:	hicolor-icon-theme
 Requires:	libosinfo >= 0.2.10
 Requires:	libvirt-glib >= 0.0.9
-Requires:	python-dbus >= 0.84.0
-Requires:	python-gnome-desktop-librsvg >= 2.32.0
-Requires:	python-gnome-gconf >= 2.28.1
-Requires:	python-ipaddr
-Requires:	python-libvirt >= 0.9.6
-Requires:	python-pygobject3 >= 3.14
-Requires:	python-virtinst = %{epoch}:%{version}-%{release}
+Requires:	python3-libvirt >= 0.9.6
+Requires:	python3-pygobject3 >= 3.14
+Requires:	python3-virtinst = %{epoch}:%{version}-%{release}
 Requires:	spice-gtk
 Requires:	vte >= 0.34
 Suggests:	gnome-keyring >= 0.4.9
-Suggests:	python-gnome-desktop-keyring >= 2.15.4
-Suggests:	python-libguestfs >= 1.12.0
+Suggests:	python3-libguestfs >= 1.12.0
 ExclusiveArch:	%{ix86} %{x8664} ia64
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -53,25 +48,26 @@ statystyki wykorzystania zasobów istniejących maszyn wirtualnych na
 maszynach lokalnych i zdalnych. Wykorzystuje libvirt jako API do
 zarządzania.
 
-%package -n python-virtinst
+%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
 Group:		Libraries/Python
-Requires:	python-libvirt >= 0.9.6
-Requires:	python-libxml2 >= 1:2.7.8
-Requires:	python-modules
-Requires:	python-urlgrabber
-Suggests:	python-selinux
+Requires:	python3-libvirt >= 0.9.6
+Requires:	python3-libxml2 >= 1:2.7.8
+Requires:	python3-modules
+Requires:	python3-requests
+Suggests:	python3-selinux
 Suggests:	virt-viewer >= 0.0.1
+Obsoletes:	python-virtinst < 2.0.0
 
-%description -n python-virtinst
+%description -n python3-virtinst
 virtinst is a module that helps build and install libvirt based
 virtual machines. Currently supports KVM, QEmu and Xen virtual
 machines. Package includes several command line utilities, including
 virt-install (build and install new VMs) and virt-clone (clone an
 existing virtual machine).
 
-%description -n python-virtinst -l pl.UTF-8
+%description -n python3-virtinst -l pl.UTF-8
 virtinst to moduł pomagający przy tworzeniu i instalowaniu maszyn
 wirtualnych opartych na libvirt. Obecnie obsługiwane są maszyny KVM,
 QEmu i Xen. Pakiet zawiera kilka działających z linii poleceń
@@ -82,22 +78,16 @@ virt-clone (klonujący istniejącą maszynę wirtualną).
 %setup -q
 
 %build
-%{__python} setup.py configure \
-	--prefix=%{_prefix} \
-	--libvirt-package-names=libvirt \
-	--kvm-package-names=qemu-lvm
+%{__python3} setup.py \
+        configure \
+	--prefix=%{_prefix}
 
-%py_build
+%py3_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%py_install
-
-%py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}
-%py_ocomp $RPM_BUILD_ROOT%{_datadir}/%{name}
-# requires patching(?)
-#%%py_postclean %{_datadir}/%{name}
+%py3_install
 
 %find_lang %{name}
 
@@ -123,14 +113,13 @@ fi
 %dir %{_datadir}/%{name}/virtManager
 %{_datadir}/%{name}/virtManager/*.py*
 %attr(755,root,root) %{_datadir}/%{name}/virt-manager
-%{_datadir}/GConf/gsettings/org.virt-manager.virt-manager.convert
 %{_datadir}/appdata/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 python-virtinst -f %{name}.lang
+%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
@@ -144,6 +133,10 @@ fi
 %{_datadir}/%{name}/virtconv/*.py*
 %dir %{_datadir}/%{name}/virtinst
 %{_datadir}/%{name}/virtinst/*.py*
+%dir %{_datadir}/%{name}/virtinst/devices
+%{_datadir}/%{name}/virtinst/devices/*.py*
+%dir %{_datadir}/%{name}/virtinst/domain
+%{_datadir}/%{name}/virtinst/domain/*.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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/virt-manager.git/commitdiff/e194c975242e1fab6bd1ad09e0f73098267615b8



More information about the pld-cvs-commit mailing list