Accepting request 35586 from Virtualization

checked in (request 35586)

OBS-URL: https://build.opensuse.org/request/show/35586
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=22
This commit is contained in:
OBS User autobuild 2010-03-23 21:38:50 +00:00 committed by Git OBS Bridge
parent f58fab6f59
commit b423daa03e
3 changed files with 23 additions and 27 deletions

View File

@ -1,14 +1,3 @@
-------------------------------------------------------------------
Tue Mar 23 15:10:52 MDT 2010 - carnold@novell.com
- Enable the following utilities. Submitted by Stephan Kleine
(bitdealer@gmail.com)
virt-clone
virt-convert
virt-image
virt-install
virt-manager
-------------------------------------------------------------------
Thu Mar 18 11:19:11 MDT 2010 - carnold@novell.com

View File

@ -155,17 +155,33 @@ popd
make install DESTDIR=$RPM_BUILD_ROOT
pushd $RPM_BUILD_DIR/%{virtinst_name}
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --install-lib=%{_datadir}/virt-manager
rm -f $RPM_BUILD_ROOT/usr/bin/virt-clone
rm -f $RPM_BUILD_ROOT/usr/bin/virt-image
rm -f $RPM_BUILD_ROOT/usr/bin/virt-install
rm -f $RPM_BUILD_ROOT/usr/bin/virt-convert
rm -f $RPM_BUILD_ROOT/usr/share/locale/ja/LC_MESSAGES/virtinst.mo
rm -f $RPM_BUILD_ROOT/usr/share/locale/pl/LC_MESSAGES/virtinst.mo
rm -f $RPM_BUILD_ROOT/usr/share/locale/fr/LC_MESSAGES/virtinst.mo
rm -f $RPM_BUILD_ROOT/usr/share/locale/it/LC_MESSAGES/virtinst.mo
rm -f $RPM_BUILD_ROOT/usr/share/locale/sr/LC_MESSAGES/virtinst.mo
rm -f $RPM_BUILD_ROOT/usr/share/locale/ru/LC_MESSAGES/virtinst.mo
rm -f $RPM_BUILD_ROOT/usr/share/locale/pt_BR/LC_MESSAGES/virtinst.mo
rm -f $RPM_BUILD_ROOT/usr/share/locale/sr@latin/LC_MESSAGES/virtinst.mo
rm -f $RPM_BUILD_ROOT/usr/share/locale/zh_CN/LC_MESSAGES/virtinst.mo
rm -f $RPM_BUILD_ROOT/usr/share/locale/es/LC_MESSAGES/virtinst.mo
rm -f $RPM_BUILD_ROOT/usr/share/man/man1/virt-clone.1
rm -f $RPM_BUILD_ROOT/usr/share/man/man1/virt-image.1
rm -f $RPM_BUILD_ROOT/usr/share/man/man1/virt-install.1
rm -f $RPM_BUILD_ROOT/usr/share/man/man1/virt-convert.1
rm -f $RPM_BUILD_ROOT/usr/share/man/man5/virt-image.5
popd
#rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/sparkline.a
#rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/sparkline.la
# Unsupport languages:
rm -rf $RPM_BUILD_ROOT/usr/share/locale/or
%find_gconf_schemas
for lang_file in %{name} virtinst
do
%find_lang $lang_file single_lang_file.lang
done
cat %{name}.schemas_list single_lang_file.lang > %{name}.lst
%find_lang %{name}
cat %{name}.schemas_list %{name}.lang > %{name}.lst
sed -i '\^/usr/share/gnome/help/^d' %{name}.lst
%suse_update_desktop_file %{name} X-SuSE-YaST-Virtualization
sed -i -e 's/Categories=.*/Categories=Qt;X-SuSE-YaST;X-SuSE-YaST-Virtualization;/' $RPM_BUILD_ROOT/%{_datadir}/applications/YaST2/%{name}.desktop
@ -196,10 +212,6 @@ sed -i -e 's/Categories=.*/Categories=Qt;X-SuSE-YaST;X-SuSE-YaST-Virtualization;
%config %{gsysconfdir}/gconf/schemas/%{name}.schemas
%endif
%{_bindir}/%{name}
%{_bindir}/virt-clone
%{_bindir}/virt-convert
%{_bindir}/virt-image
%{_bindir}/virt-install
%{_libexecdir}/%{name}-launch
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/*.glade
@ -220,12 +232,7 @@ sed -i -e 's/Categories=.*/Categories=Qt;X-SuSE-YaST;X-SuSE-YaST-Virtualization;
%{_datadir}/gnome/help
%{_datadir}/applications/YaST2/%{name}.desktop
%{_datadir}/dbus-1/services/%{name}.service
%{_mandir}/man1/%{name}.1*
%{_mandir}/man1/virt-clone.1*
%{_mandir}/man1/virt-convert.1*
%{_mandir}/man1/virt-image.1*
%{_mandir}/man1/virt-install.1*
%{_mandir}/man5/virt-image.5*
%{_datadir}/man/man1/%{name}.1*
# new files for virt-manager-0.8.1
%dir %{_datadir}/%{name}/virtconv
%{_datadir}/%{name}/virtconv/*.py

View File

@ -2,7 +2,7 @@ Index: virt-manager-0.8.3/src/virtManager/engine.py
===================================================================
--- virt-manager-0.8.3.orig/src/virtManager/engine.py
+++ virt-manager-0.8.3/src/virtManager/engine.py
@@ -474,7 +474,7 @@ class vmmEngine(gobject.GObject):
@@ -471,7 +471,7 @@ class vmmEngine(gobject.GObject):
self.emit("connection-added", conn)
self.config.add_connection(conn.get_uri())
if autoconnect: