OBS User unknown 2008-05-17 19:27:01 +00:00 committed by Git OBS Bridge
parent 06c45ab347
commit 3d79cae7df
2 changed files with 48 additions and 30 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri May 16 16:22:17 CEST 2008 - ro@suse.de
- move python install to install section in specfile
- fix build without root privileges
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Apr 29 17:52:16 MDT 2008 - dpmerrill@novell.com Tue Apr 29 17:52:16 MDT 2008 - dpmerrill@novell.com

View File

@ -8,7 +8,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# needsrootforbuild
Name: virt-manager Name: virt-manager
@ -20,7 +19,7 @@ Name: virt-manager
%define virtinst_rel 2 %define virtinst_rel 2
%define virtinst_name virtinst-%{virtinst_maj}.%{virtinst_min}.%{virtinst_rel} %define virtinst_name virtinst-%{virtinst_maj}.%{virtinst_min}.%{virtinst_rel}
Version: 0.5.3 Version: 0.5.3
Release: 7 Release: 15
Summary: Virtual Machine Manager Summary: Virtual Machine Manager
Group: System/Monitoring Group: System/Monitoring
License: GPL v2 or later License: GPL v2 or later
@ -127,15 +126,24 @@ popd
make %{?_smp_mflags} make %{?_smp_mflags}
pushd $RPM_BUILD_DIR/%{virtinst_name} pushd $RPM_BUILD_DIR/%{virtinst_name}
python setup.py build python setup.py build
python setup.py install
popd popd
%install %install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_datadir}/virt-manager/virtinst/ pushd $RPM_BUILD_DIR/%{virtinst_name}
install -m644 ../%{virtinst_name}/virtinst/*.py $RPM_BUILD_ROOT%{_datadir}/virt-manager/virtinst/ python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --install-lib=%{_datadir}/virt-manager
# install -m644 ../virtinst-0.300.2/virtinst/*.py $RPM_BUILD_ROOT%{_datadir}/virt-manager/virtinst/ # remove unsued files
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/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/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/man5/virt-image.5
rm -f $RPM_BUILD_ROOT/usr/share/virt-manager/virtinst-0.300.2-py2.5.egg-info
popd
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/sparkline.a rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/sparkline.a
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/sparkline.la rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/sparkline.la
# Unsupport languages: # Unsupport languages:
@ -178,6 +186,7 @@ sed -i '\^/usr/share/gnome/help/^d' %{name}.lang
%{_datadir}/%{name}/virtManager/*.py %{_datadir}/%{name}/virtManager/*.py
%dir %{_datadir}/%{name}/virtinst %dir %{_datadir}/%{name}/virtinst
%{_datadir}/%{name}/virtinst/*.py %{_datadir}/%{name}/virtinst/*.py
%{_datadir}/%{name}/virtinst/*.pyc
# %dir %attr(775,root,root) %{_datadir}/locale/or # %dir %attr(775,root,root) %{_datadir}/locale/or
# %dir %attr(775,root,root) %{_datadir}/locale/or/LC_MESSAGES # %dir %attr(775,root,root) %{_datadir}/locale/or/LC_MESSAGES
# %{_datadir}/locale/or/LC_MESSAGES/* # %{_datadir}/locale/or/LC_MESSAGES/*
@ -193,27 +202,30 @@ sed -i '\^/usr/share/gnome/help/^d' %{name}.lang
%dir %{_datadir}/applications/YaST2 %dir %{_datadir}/applications/YaST2
%changelog %changelog
* Tue Apr 29 2008 dpmerrill@novell.com * Fri May 16 2008 ro@suse.de
- move python install to install section in specfile
- fix build without root privileges
* Wed Apr 30 2008 dpmerrill@novell.com
- Corrected gconf calls in spec file to fix build errors - Corrected gconf calls in spec file to fix build errors
* Tue Apr 29 2008 dpmerrill@novell.com * Tue Apr 29 2008 dpmerrill@novell.com
- Added needsrootforbuild to spec file to fix build errors - Added needsrootforbuild to spec file to fix build errors
* Fri Apr 25 2008 dpmerrill@novell.com * Sat Apr 26 2008 dpmerrill@novell.com
- Fixed SendKey "PrintScreen" option - Fixed SendKey "PrintScreen" option
* Thu Apr 24 2008 dpmerrill@novell.com * Fri Apr 25 2008 dpmerrill@novell.com
- Added python-gtk-devel and python-gobject2-devel to spec file - Added python-gtk-devel and python-gobject2-devel to spec file
to reflect changes in OpenSuse11.0 to reflect changes in OpenSuse11.0
* Tue Apr 22 2008 dpmerrill@novell.com * Tue Apr 22 2008 dpmerrill@novell.com
- Changed desktop file for starting from KDE (bnc#377277) - Changed desktop file for starting from KDE (bnc#377277)
* Mon Apr 21 2008 dpmerrill@novell.com * Tue Apr 22 2008 dpmerrill@novell.com
- Changed "SendKey" to send "Delete" instead of "Del" (bnc#381897) - Changed "SendKey" to send "Delete" instead of "Del" (bnc#381897)
* Fri Apr 18 2008 dpmerrill@novell.com * Sat Apr 19 2008 dpmerrill@novell.com
- Added vncViewerMaxRetries to prevent showing expected libvirt - Added vncViewerMaxRetries to prevent showing expected libvirt
exceptions from cluttering the error log (bnc#366792) exceptions from cluttering the error log (bnc#366792)
* Wed Apr 09 2008 dpmerrill@novell.com * Wed Apr 09 2008 dpmerrill@novell.com
- Changed vnc settings to prevent screen-saver lockup (bnc#253264) - Changed vnc settings to prevent screen-saver lockup (bnc#253264)
- Added read-only option in Details->Hardware for adding cdroms - Added read-only option in Details->Hardware for adding cdroms
to prevent libvirt exceptions. (bnc#368204) (bnc#361990) to prevent libvirt exceptions. (bnc#368204) (bnc#361990)
* Fri Apr 04 2008 dpmerrill@novell.com * Sat Apr 05 2008 dpmerrill@novell.com
- Removed Virtual Network tab from host details page (bnc#364514) - Removed Virtual Network tab from host details page (bnc#364514)
* Wed Apr 02 2008 dpmerrill@novell.com * Wed Apr 02 2008 dpmerrill@novell.com
- Fixed adding a virtual network to a vm (bnc#302663) - Fixed adding a virtual network to a vm (bnc#302663)
@ -224,11 +236,11 @@ sed -i '\^/usr/share/gnome/help/^d' %{name}.lang
- Added virtman-timewatch to minimize window after - Added virtman-timewatch to minimize window after
- inactivity to work around memory leaks in GTK and DBus - inactivity to work around memory leaks in GTK and DBus
- bnc#287366 (L3) - bnc#287366 (L3)
* Thu Feb 14 2008 dpmerrill@novell.com * Fri Feb 15 2008 dpmerrill@novell.com
- Changed virtman-xen-uri to correct the case where no - Changed virtman-xen-uri to correct the case where no
- connection param is passed in and uri is None - connection param is passed in and uri is None
- bnc#362013 - bnc#362013
* Tue Feb 12 2008 dpmerrill@novell.com * Wed Feb 13 2008 dpmerrill@novell.com
- Changed virtman-desktop and virtman-xen-uri to correct invalid - Changed virtman-desktop and virtman-xen-uri to correct invalid
- parms being passed in from YaST - now sends "-c xen:///" - parms being passed in from YaST - now sends "-c xen:///"
- bnc#361334 - bnc#361334
@ -236,14 +248,14 @@ sed -i '\^/usr/share/gnome/help/^d' %{name}.lang
- Added virtman-detect to delay Hal signal connection until - Added virtman-detect to delay Hal signal connection until
- after device detection to prevent start-up delay - after device detection to prevent start-up delay
- bnc#361202 - bnc#361202
* Mon Feb 11 2008 dpmerrill@novell.com * Tue Feb 12 2008 dpmerrill@novell.com
- Added virtman-pointer to set vnc to show only one pointer - Added virtman-pointer to set vnc to show only one pointer
- bnc#359799 - bnc#359799
* Sun Feb 03 2008 dpmerrill@novell.com * Mon Feb 04 2008 dpmerrill@novell.com
- Added virtman-vminstall for connecting to vm-install - Added virtman-vminstall for connecting to vm-install
- and changed virtman-xen-uri.diff to force "xen:///" - and changed virtman-xen-uri.diff to force "xen:///"
- bnc#358400 - bnc#358400
* Sun Feb 03 2008 dpmerrill@novell.com * Mon Feb 04 2008 dpmerrill@novell.com
- Added virtman-xen-uri.diff to fix problem starting vnc. - Added virtman-xen-uri.diff to fix problem starting vnc.
- virtman was getting confused between "xen" and "xen:///" uris. - virtman was getting confused between "xen" and "xen:///" uris.
- bnc#358397 - bnc#358397
@ -255,7 +267,7 @@ sed -i '\^/usr/share/gnome/help/^d' %{name}.lang
- Added virtinst to finish resolving run-time dependencies - Added virtinst to finish resolving run-time dependencies
- bnc#355826 - bnc#355826
- bnc#356999 - bnc#356999
* Wed Jan 23 2008 dpmerrill@novell.com * Thu Jan 24 2008 dpmerrill@novell.com
- Changed package requirements in spec file Requires section. - Changed package requirements in spec file Requires section.
- pygtk2 -> python-gtk - pygtk2 -> python-gtk
- gnome-python2-gconf -> python-gnome - gnome-python2-gconf -> python-gnome
@ -265,14 +277,14 @@ sed -i '\^/usr/share/gnome/help/^d' %{name}.lang
- python-virtinst -> removed - python-virtinst -> removed
- pygtk2-libglade -> removed - pygtk2-libglade -> removed
- gtk-vnc-python -> python-gtk-vnc - gtk-vnc-python -> python-gtk-vnc
* Sat Jan 19 2008 dpmerrill@novell.com * Sun Jan 20 2008 dpmerrill@novell.com
- Added new virt-manager version (0.5.3) to sle10-sp2-i386 - Added new virt-manager version (0.5.3) to sle10-sp2-i386
- (FATE Feature #302140) - (FATE Feature #302140)
* Thu Aug 16 2007 ccoffing@novell.com * Fri Aug 17 2007 ccoffing@novell.com
- Update virt-manager to match vm-install changes due to #279153. - Update virt-manager to match vm-install changes due to #279153.
* Mon Jul 09 2007 ccoffing@novell.com * Mon Jul 09 2007 ccoffing@novell.com
- Properly attach and detach CDs to running VM. (#289393) - Properly attach and detach CDs to running VM. (#289393)
* Wed May 09 2007 ccoffing@novell.com * Thu May 10 2007 ccoffing@novell.com
- Update .desktop with proper group. (#258600) - Update .desktop with proper group. (#258600)
* Fri May 04 2007 ccoffing@novell.com * Fri May 04 2007 ccoffing@novell.com
- Fix syntax error ("NOne" should be "None"), which caused - Fix syntax error ("NOne" should be "None"), which caused
@ -283,7 +295,7 @@ sed -i '\^/usr/share/gnome/help/^d' %{name}.lang
important to have up-to-date knowledge of VMs (to ensure consoles important to have up-to-date knowledge of VMs (to ensure consoles
can be opened, etc) rather than trying to lessen virt-manager's can be opened, etc) rather than trying to lessen virt-manager's
processor load. (#270761) processor load. (#270761)
* Tue Apr 10 2007 ccoffing@novell.com * Wed Apr 11 2007 ccoffing@novell.com
- Remove code that (incorrectly) guesses the vnc port. (#259692) - Remove code that (incorrectly) guesses the vnc port. (#259692)
- Do not refresh GUI every second (which causes xenstored to not - Do not refresh GUI every second (which causes xenstored to not
thrash so badly, which makes virt-manager more responsive and thrash so badly, which makes virt-manager more responsive and
@ -295,19 +307,19 @@ sed -i '\^/usr/share/gnome/help/^d' %{name}.lang
- Fix attaching disks to running VM. (#238986) - Fix attaching disks to running VM. (#238986)
* Wed Mar 28 2007 ccoffing@novell.com * Wed Mar 28 2007 ccoffing@novell.com
- Update icon filename. - Update icon filename.
* Tue Mar 13 2007 ccoffing@novell.com * Wed Mar 14 2007 ccoffing@novell.com
- Import threading and timer tick patches from upstream to improve - Import threading and timer tick patches from upstream to improve
stability. (#237406 and others) stability. (#237406 and others)
- Do not offer QEMU option. (#254083) - Do not offer QEMU option. (#254083)
* Mon Mar 12 2007 ccoffing@novell.com * Mon Mar 12 2007 ccoffing@novell.com
- Update virt-manager to match changes in vm-install's disk class, - Update virt-manager to match changes in vm-install's disk class,
due to bug #247849. due to bug #247849.
* Fri Mar 09 2007 ccoffing@novell.com * Sat Mar 10 2007 ccoffing@novell.com
- Make Ctrl+Alt release the mouse cursor (#252998). - Make Ctrl+Alt release the mouse cursor (#252998).
* Thu Mar 08 2007 ccoffing@novell.com * Thu Mar 08 2007 ccoffing@novell.com
- Add release to "Requires: xen-tools", to prevent mixing with - Add release to "Requires: xen-tools", to prevent mixing with
pre-beta 5. (#238986, #252495) pre-beta 5. (#238986, #252495)
* Fri Mar 02 2007 ccoffing@novell.com * Sat Mar 03 2007 ccoffing@novell.com
- Disable gtk-menu-bar-accel when VM has focus, to allow VM to get - Disable gtk-menu-bar-accel when VM has focus, to allow VM to get
F10 key. (#240001) F10 key. (#240001)
* Tue Feb 27 2007 ccoffing@novell.com * Tue Feb 27 2007 ccoffing@novell.com
@ -333,15 +345,15 @@ sed -i '\^/usr/share/gnome/help/^d' %{name}.lang
* Mon Jan 22 2007 ccoffing@novell.com * Mon Jan 22 2007 ccoffing@novell.com
- Fix desktop file, so icon shows in YaST. (#237046) - Fix desktop file, so icon shows in YaST. (#237046)
- Clean up macros in spec file. - Clean up macros in spec file.
* Fri Jan 19 2007 ccoffing@novell.com * Sat Jan 20 2007 ccoffing@novell.com
- Use temporary icon until real ones arrive. - Use temporary icon until real ones arrive.
- Update to changeset 371 to fix VNC issues. - Update to changeset 371 to fix VNC issues.
* Wed Jan 17 2007 ccoffing@novell.com * Thu Jan 18 2007 ccoffing@novell.com
- Fix BuildRequires and paths to work with both SLES10 and STABLE. - Fix BuildRequires and paths to work with both SLES10 and STABLE.
* Fri Jan 12 2007 ccoffing@novell.com * Sat Jan 13 2007 ccoffing@novell.com
- Fix sysconfdir path. - Fix sysconfdir path.
- Add desktop file. - Add desktop file.
* Thu Jan 11 2007 ccoffing@novell.com * Fri Jan 12 2007 ccoffing@novell.com
- Add to SLES 10 SP1 (fate #301181) - Add to SLES 10 SP1 (fate #301181)
- Update to virt-manager 0.2.6. - Update to virt-manager 0.2.6.
- Fix type_register deprecation warnings. - Fix type_register deprecation warnings.