2006-03-29 19:40:14 +08:00
|
|
|
# -*- rpm-spec -*-
|
|
|
|
|
2006-07-25 19:24:09 +08:00
|
|
|
# This macro is used for the continuous automated builds. It just
|
|
|
|
# allows an extra fragment based on the timestamp to be appended
|
|
|
|
# to the release. This distinguishes automated builds, from formal
|
|
|
|
# Fedora RPM builds
|
2006-09-16 05:17:52 +08:00
|
|
|
%define _extra_release %{?dist:%{dist}}%{!?dist:%{?extra_release:%{extra_release}}}
|
2006-03-29 19:40:14 +08:00
|
|
|
|
|
|
|
Name: @PACKAGE@
|
|
|
|
Version: @VERSION@
|
2006-09-05 03:19:23 +08:00
|
|
|
Release: 1%{_extra_release}
|
2006-06-27 23:17:46 +08:00
|
|
|
Summary: Virtual Machine Manager
|
2006-03-29 19:40:14 +08:00
|
|
|
|
|
|
|
Group: Applications/Emulators
|
2007-11-21 00:12:20 +08:00
|
|
|
License: GPLv2+
|
2006-07-17 23:11:53 +08:00
|
|
|
URL: http://virt-manager.et.redhat.com/
|
2006-09-28 04:34:36 +08:00
|
|
|
Source0: http://virt-manager.et.redhat.com/download/sources/%{name}/%{name}-%{version}.tar.gz
|
2006-03-29 19:40:14 +08:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
2006-07-20 02:33:23 +08:00
|
|
|
# These two are just the oldest version tested
|
2006-03-29 19:40:14 +08:00
|
|
|
Requires: pygtk2 >= 1.99.12-6
|
|
|
|
Requires: gnome-python2-gconf >= 1.99.11-7
|
2006-07-20 02:33:23 +08:00
|
|
|
# Absolutely require this version or newer
|
2008-09-09 08:17:58 +08:00
|
|
|
Requires: libvirt-python >= 0.4.5
|
2006-07-20 02:33:23 +08:00
|
|
|
# Definitely does not work with earlier due to python API changes
|
2006-06-17 05:09:28 +08:00
|
|
|
Requires: dbus-python >= 0.61
|
2006-07-20 02:33:23 +08:00
|
|
|
# Might work with earlier, but this is what we've tested
|
|
|
|
Requires: gnome-keyring >= 0.4.9
|
|
|
|
# Minimum we've tested with
|
2006-08-23 02:50:45 +08:00
|
|
|
# Although if you don't have this, comment it out and the app
|
|
|
|
# will work just fine - keyring functionality will simply be
|
2006-09-16 05:17:52 +08:00
|
|
|
# disabled
|
2006-08-16 04:27:14 +08:00
|
|
|
Requires: gnome-python2-gnomekeyring >= 2.15.4
|
2006-11-06 23:58:59 +08:00
|
|
|
Requires: gnome-python2-gnomevfs >= 2.15.4
|
2006-08-11 04:47:14 +08:00
|
|
|
# Minimum we've tested with
|
|
|
|
Requires: libxml2-python >= 2.6.23
|
2007-02-21 04:53:44 +08:00
|
|
|
# Required to install Xen & QEMU guests
|
2008-09-10 23:42:22 +08:00
|
|
|
Requires: python-virtinst >= 0.400.0
|
2006-09-16 05:17:52 +08:00
|
|
|
# Required for loading the glade UI
|
|
|
|
Requires: pygtk2-libglade
|
|
|
|
# Required for our graphics which are currently SVG format
|
|
|
|
Requires: librsvg2
|
|
|
|
# Earlier vte had broken python binding module
|
2006-08-11 04:47:14 +08:00
|
|
|
Requires: vte >= 0.12.2
|
2007-03-21 00:58:54 +08:00
|
|
|
# For online help
|
|
|
|
Requires: scrollkeeper
|
2007-07-07 05:46:50 +08:00
|
|
|
# For console widget
|
2008-03-10 06:18:33 +08:00
|
|
|
Requires: gtk-vnc-python >= 0.3.4
|
2008-02-01 00:39:10 +08:00
|
|
|
# For local authentication against PolicyKit
|
|
|
|
Requires: PolicyKit-gnome
|
2006-06-17 05:09:28 +08:00
|
|
|
|
2006-08-25 22:58:25 +08:00
|
|
|
ExclusiveArch: %{ix86} x86_64 ia64
|
|
|
|
|
2006-06-27 05:17:45 +08:00
|
|
|
BuildRequires: pygtk2-devel
|
|
|
|
BuildRequires: gtk2-devel
|
2008-09-02 23:33:10 +08:00
|
|
|
BuildRequires: pygobject2-devel
|
|
|
|
BuildRequires: glib2-devel
|
2006-06-29 01:46:42 +08:00
|
|
|
BuildRequires: python-devel
|
2008-09-02 23:33:10 +08:00
|
|
|
BuildRequires: pango-devel
|
|
|
|
BuildRequires: atk-devel
|
|
|
|
BuildRequires: cairo-devel
|
2006-08-25 22:58:25 +08:00
|
|
|
BuildRequires: gettext
|
2007-03-03 05:24:35 +08:00
|
|
|
BuildRequires: scrollkeeper
|
2007-05-19 00:14:33 +08:00
|
|
|
BuildRequires: intltool
|
2006-03-29 19:40:14 +08:00
|
|
|
|
2006-09-05 03:19:23 +08:00
|
|
|
Requires(pre): GConf2
|
|
|
|
Requires(post): GConf2
|
|
|
|
Requires(preun): GConf2
|
|
|
|
|
2006-03-29 19:40:14 +08:00
|
|
|
%description
|
2008-09-10 23:18:06 +08:00
|
|
|
Virtual Machine Manager provides a graphical tool for administering virtual
|
|
|
|
machines for KVM, Xen, and QEmu. Start, stop, add or remove virtual devices,
|
|
|
|
connect to a graphical or serial console, and see resource usage statistics
|
|
|
|
for existing VMs on local or remote machines. Uses libvirt as the backend
|
|
|
|
management API.
|
2006-03-29 19:40:14 +08:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
2006-06-27 05:17:45 +08:00
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/sparkline.a
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/sparkline.la
|
2006-08-09 00:02:00 +08:00
|
|
|
%find_lang %{name}
|
2006-03-29 19:40:14 +08:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2006-09-05 03:19:23 +08:00
|
|
|
%pre
|
|
|
|
if [ "$1" -gt 1 ]; then
|
|
|
|
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
|
|
|
gconftool-2 --makefile-uninstall-rule \
|
|
|
|
%{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
|
|
|
|
fi
|
|
|
|
|
2006-09-02 04:33:32 +08:00
|
|
|
%post
|
|
|
|
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
2006-09-05 03:19:23 +08:00
|
|
|
gconftool-2 --makefile-install-rule \
|
|
|
|
%{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
|
|
|
|
|
2006-09-02 04:33:32 +08:00
|
|
|
update-desktop-database %{_datadir}/applications
|
|
|
|
|
2007-03-03 05:24:35 +08:00
|
|
|
if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update -q -o %{_datadir}/omf/%{name}; fi
|
|
|
|
|
2006-09-02 04:33:32 +08:00
|
|
|
%postun
|
|
|
|
update-desktop-database %{_datadir}/applications
|
|
|
|
|
2007-03-03 05:24:35 +08:00
|
|
|
if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update -q; fi
|
|
|
|
|
2006-09-05 03:19:23 +08:00
|
|
|
%preun
|
|
|
|
if [ "$1" -eq 0 ]; then
|
|
|
|
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
|
|
|
gconftool-2 --makefile-uninstall-rule \
|
|
|
|
%{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
|
|
|
|
fi
|
|
|
|
|
2006-08-09 00:02:00 +08:00
|
|
|
%files -f %{name}.lang
|
2006-03-29 19:40:14 +08:00
|
|
|
%defattr(-,root,root,-)
|
2007-03-03 05:24:35 +08:00
|
|
|
%doc README COPYING COPYING-DOCS AUTHORS ChangeLog NEWS
|
2006-09-02 04:33:32 +08:00
|
|
|
%{_sysconfdir}/gconf/schemas/%{name}.schemas
|
2006-06-27 05:17:45 +08:00
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_libexecdir}/%{name}-launch
|
|
|
|
%{_libdir}/%{name}/*
|
2006-07-25 19:24:09 +08:00
|
|
|
|
|
|
|
%{_datadir}/%{name}/*.glade
|
|
|
|
%{_datadir}/%{name}/pixmaps/*.png
|
|
|
|
%{_datadir}/%{name}/pixmaps/*.svg
|
|
|
|
|
|
|
|
%{_datadir}/%{name}/*.py
|
|
|
|
%{_datadir}/%{name}/*.pyc
|
2006-09-16 05:17:52 +08:00
|
|
|
%{_datadir}/%{name}/*.pyo
|
2006-07-25 19:24:09 +08:00
|
|
|
|
|
|
|
%{_datadir}/%{name}/virtManager/*.py
|
|
|
|
%{_datadir}/%{name}/virtManager/*.pyc
|
2006-09-16 05:17:52 +08:00
|
|
|
%{_datadir}/%{name}/virtManager/*.pyo
|
2006-07-25 19:24:09 +08:00
|
|
|
|
2007-03-03 05:24:35 +08:00
|
|
|
%{_datadir}/omf/%{name}
|
|
|
|
%{_datadir}/gnome/help
|
2006-08-09 00:02:00 +08:00
|
|
|
|
2006-06-27 05:17:45 +08:00
|
|
|
%{_datadir}/applications/%{name}.desktop
|
|
|
|
%{_datadir}/dbus-1/services/%{name}.service
|
2006-03-29 19:40:14 +08:00
|
|
|
|
2007-07-25 03:38:31 +08:00
|
|
|
%{_datadir}/man/man1/%{name}.1*
|
|
|
|
|
2006-03-29 19:40:14 +08:00
|
|
|
%changelog
|
2008-09-11 03:08:33 +08:00
|
|
|
* Wed Sep 10 2008 Cole Robinson <crobinso@redhat.com> - 0.6.0-1
|
|
|
|
- Add libvirt storage management support
|
|
|
|
- Basic support for remote guest installation
|
|
|
|
- Merge VM console and details windows
|
|
|
|
- Poll avahi for libvirtd advertisement
|
|
|
|
- Hypervisor autoconnect option
|
|
|
|
- Add sound emulation when creating new guests
|
|
|
|
|
2008-03-11 08:16:52 +08:00
|
|
|
* Mon Mar 10 2008 Daniel P Berrange <berrange@redhat.com> - 0.5.4-1
|
|
|
|
- Use capabilities XML when creating guests
|
|
|
|
- Allow scaling of VNC window
|
|
|
|
|
2008-01-11 09:12:32 +08:00
|
|
|
* Thu Jan 10 2008 Daniel P Berrange <berrange@redhat.com> - 0.5.3-1
|
|
|
|
- Reintroduce 'new' button
|
|
|
|
- Make restore work again
|
|
|
|
- Add menu for sending special keys
|
|
|
|
- Fix license headers on all source
|
|
|
|
- Lots of misc bug fixes
|
|
|
|
|
2007-10-05 09:43:38 +08:00
|
|
|
* Thu Oct 4 2007 Daniel P. Berrange <berrange@redhat.com> - 0.5.2-1
|
|
|
|
- No scrollbars for high res guest in low res host (rhbz 273181)
|
|
|
|
- Unable to remove network device (rhbz 242900)
|
|
|
|
- Fixed broken menu items (rhbz 307551)
|
|
|
|
- Allow adding of graphics console (rhbz 215524)
|
|
|
|
|
2007-09-25 23:57:14 +08:00
|
|
|
* Tue Sep 25 2007 Daniel P. Berrange <berrange@redhat.com> - 0.5.1-1
|
|
|
|
- Open connections in background
|
|
|
|
- Make VNC connection retries more robust
|
|
|
|
- Allow changing of CDROM media on the fly
|
|
|
|
- Add PXE boot installation of HVM guests
|
|
|
|
- Allow tunnelling VNC over SSH
|
|
|
|
|
2007-08-30 05:09:00 +08:00
|
|
|
* Wed Aug 29 2007 Daniel P. Berrange <berrange@redhat.com> - 0.5.0-1
|
|
|
|
- Support for managing remote hosts
|
|
|
|
- Switch to use GTK-VNC for the guest console
|
|
|
|
|
2007-04-16 21:26:48 +08:00
|
|
|
* Mon Apr 16 2007 Daniel P. Berrange <berrange@redhat.com> - 0.4.0-1
|
|
|
|
- Support for managing virtual networks
|
|
|
|
- Ability to attach guest to virtual networks
|
|
|
|
- Automatically set VNC keymap based on local keymap
|
|
|
|
- Support for disk & network device addition/removal
|
|
|
|
|
2007-03-21 00:58:54 +08:00
|
|
|
* Tue Mar 20 2007 Daniel P. Berrange <berrange@redhat.com> - 0.3.2-1
|
|
|
|
- Added online help to all windows
|
|
|
|
- Bug fixes to virtual console popup, key grab & accelerator override
|
|
|
|
|
|
|
|
* Tue Feb 20 2007 Daniel P. Berrange <berrange@redhat.com> - 0.3.1-1
|
2007-02-21 04:53:44 +08:00
|
|
|
- Added support for managing QEMU domains
|
|
|
|
- Automatically grab mouse pointer to workaround dual-cursor crazyness
|
|
|
|
|
2007-03-21 00:58:54 +08:00
|
|
|
* Mon Jan 22 2007 Daniel P. Berrange <berrange@redhat.com> - 0.3.0-1
|
2007-01-23 08:46:05 +08:00
|
|
|
- Added support for managing inactive domains
|
|
|
|
- Require virt-inst >= 0.100.0 and libvirt >= 0.1.11 for ianctive
|
|
|
|
domain management capabilities
|
|
|
|
- Add progress bars during VM creation stage
|
|
|
|
- Improved reliability of VNC console
|
|
|
|
- Updated translations again
|
|
|
|
- Added destroy option to menu bar to forceably kill a guest
|
|
|
|
- Visually differentiate allocated memory, from actual used memory on host
|
|
|
|
- Validate file magic when restoring a guest from a savd file
|
|
|
|
- Performance work on domain listing
|
|
|
|
- Allow creation of non-sparse files
|
|
|
|
- Fix backspace key in serial console
|
|
|
|
|
2006-11-10 03:15:12 +08:00
|
|
|
* Thu Nov 9 2006 Daniel P. Berrange <berrange@redhat.com> - 0.2.6-1
|
|
|
|
- Imported translations from Fedora i18n repository
|
|
|
|
- Make (most) scrollbar policies automatic
|
|
|
|
- Set busy cursor while creating new VMs
|
|
|
|
- Preference for controlling keygrab policy
|
|
|
|
- Preference for when to automatically open console (bz 211385)
|
|
|
|
- Re-try VNC connection attempt periodically in case VNC daemon
|
|
|
|
hasn't finished starting up
|
|
|
|
- Added activation of URLs for about dialog (bz 210782)
|
|
|
|
- Improved error reporting when connecting to HV (bz 211229)
|
|
|
|
- Add command line args to open specific windows
|
|
|
|
- Don't skip para/full virt wizard step - instead gray out full
|
|
|
|
virt option & tell user why
|
|
|
|
- Change 'physical' to 'logical' when refering to host CPUs
|
|
|
|
- Include hostname in titlebar
|
|
|
|
- Disable wizard sensitivity while creating VM
|
|
|
|
|
2006-10-20 00:53:57 +08:00
|
|
|
* Thu Oct 19 2006 Daniel P. Berrange <berrange@redhat.com> - 0.2.5-1
|
2006-11-10 03:15:12 +08:00
|
|
|
- Switch to use python-virtinst instead of python-xeninst due to
|
2006-10-20 00:53:57 +08:00
|
|
|
renaming of original package
|
|
|
|
- Disable keyboard accelerators when grabbing mouse to avoid things like
|
|
|
|
Ctrl-W closing the local window, instead of remote window bz 210364
|
|
|
|
- Fix host memory reporting bz 211281
|
|
|
|
- Remove duplicate application menu entry bz 211230
|
|
|
|
|
2006-10-13 06:03:57 +08:00
|
|
|
* Thu Oct 12 2006 Daniel Berrange <berrange@redhat.com> - 0.2.4-1
|
|
|
|
- Fix duplicated mnemonics (bz 208408)
|
|
|
|
- Use blktap backed disks if available
|
|
|
|
- Use a drop down list to remember past URLs (bz 209479)
|
|
|
|
- Remove unused help button from preferences dialog (bz 209251)
|
|
|
|
- Fix exception when no VNC graphics is defined
|
|
|
|
- Force immediate refresh of VMs after creating a new one
|
|
|
|
- Improve error reporting if run on a kernel without Xen (bz 209122)
|
|
|
|
- Clamp CPU utilization between 0 & 100 pcent (bz 208185)
|
|
|
|
- Fix array underflow SEGV when no data points available (bz 208185)
|
|
|
|
- More fixes to avoid stuck modifier keys on focus-out (bz 207949)
|
|
|
|
|
2006-09-27 04:52:12 +08:00
|
|
|
* Tue Sep 26 2006 Daniel Berrange <berrange@redhat.com> - 0.2.3-1
|
|
|
|
- Require xeninst >= 0.93.0 to fix block backed devices
|
|
|
|
- Skip para/fully-virt step when going back in wizard if not HVM host (bz 207409)
|
|
|
|
- Fix handling of modifier keys in VNC console so Alt key doesn't get stuck (bz 207949)
|
|
|
|
- Allow sticky modifier keys by pressing same key 3 times in row (enables Ctrl-Alt-F1
|
|
|
|
by doing Ctrl Ctrl Ctrl Alt-F1)
|
|
|
|
- Improved error handling during guest creation
|
|
|
|
- Log errors with python logging, instead of to stdout
|
|
|
|
- Remove unused buttons from main domain list window
|
|
|
|
- Switch out of full screen & release key grab when closing console
|
|
|
|
- Trim sparkline CPU history graph to 40 samples max
|
|
|
|
- Constraint VCPU adjuster to only allow upto guest's max VCPU count
|
|
|
|
- Show guest's max & current VCPU count in details page
|
|
|
|
- Fix rounding of disk sizes to avoid a 1.9 GB disk being rounded down to 1 GB
|
|
|
|
- Use raw block device path to CDROM not mount point for HVM guest (bz 206965)
|
|
|
|
- Fix visibility of file size spin box (bz 206186 part 2)
|
|
|
|
- Check for GTK failing to open X11 display (bz 205938)
|
|
|
|
|
2006-09-16 05:17:52 +08:00
|
|
|
* Fri Sep 15 2006 Daniel Berrange <berrange@redhat.com> - 0.2.2-1
|
|
|
|
- Fix event handling in create VM wizard (bz 206660 & 206186)
|
|
|
|
- Fix close button in about dialog (bz 205943)
|
|
|
|
- Refresh .pot files
|
|
|
|
- Turn on VNC scrollbars fulltime to avoid GTK window sizing issue
|
|
|
|
which consistently resize too small.
|
|
|
|
|
|
|
|
* Mon Sep 11 2006 Daniel Berrange <berrange@redhat.com> - 0.2.1-3
|
|
|
|
- Added requires on pygtk2-libglade & librsvg2 (bz 205941 & 205942)
|
|
|
|
- Re-arrange to use console-helper to launch app
|
|
|
|
- Added 'dist' component to release number
|
|
|
|
|
|
|
|
* Wed Sep 6 2006 Jeremy Katz <katzj@redhat.com> - 0.2.1-2
|
|
|
|
- don't ghost pyo files (#205448)
|
|
|
|
|
2006-09-05 03:19:23 +08:00
|
|
|
* Mon Sep 4 2006 Daniel Berrange <berrange@redhat.com> - 0.2.1-1
|
|
|
|
- Updated to 0.2.1 tar.gz
|
|
|
|
- Added rules to install/uninstall gconf schemas in preun,post,pre
|
|
|
|
scriptlets
|
|
|
|
|
2006-08-25 22:58:25 +08:00
|
|
|
* Thu Aug 24 2006 Jeremy Katz <katzj@redhat.com> - 0.2.0-3
|
|
|
|
- BR gettext
|
|
|
|
|
|
|
|
* Thu Aug 24 2006 Jeremy Katz <katzj@redhat.com> - 0.2.0-2
|
|
|
|
- only build on arches with virt
|
|
|
|
|
2006-08-23 02:50:45 +08:00
|
|
|
* Tue Aug 22 2006 Daniel Berrange <berrange@redhat.com> - 0.2.0-1
|
|
|
|
- Added wizard for creating virtual machines
|
|
|
|
- Added embedded serial console
|
|
|
|
- Added ability to take screenshots
|
|
|
|
|
2006-07-25 19:24:09 +08:00
|
|
|
* Mon Jul 24 2006 Daniel Berrange <berrange@redhat.com> - 0.1.5-2
|
|
|
|
- Prefix *.pyo files with 'ghost' macro
|
|
|
|
- Use fully qualified URL in Source tag
|
|
|
|
|
2006-07-21 04:02:51 +08:00
|
|
|
* Thu Jul 20 2006 Daniel Berrange <berrange@redhat.com> - 0.1.5-1
|
|
|
|
- Update to new 0.1.5 release snapshot
|
|
|
|
|
2006-07-20 23:34:03 +08:00
|
|
|
* Thu Jul 20 2006 Daniel Berrange <berrange@redhat.com> - 0.1.4-1
|
|
|
|
- Update to new 0.1.4 release snapshot
|
|
|
|
|
2006-07-17 23:11:53 +08:00
|
|
|
* Mon Jul 17 2006 Daniel Berrange <berrange@redhat.com> - 0.1.3-1
|
|
|
|
- Fix License tag
|
|
|
|
- Updated for new release
|
|
|
|
|
2006-06-29 03:50:17 +08:00
|
|
|
* Wed Jun 28 2006 Daniel Berrange <berrange@redhat.com> - 0.1.2-3
|
|
|
|
- Added missing copyright headers on all .py files
|
|
|
|
|
2006-06-29 01:46:42 +08:00
|
|
|
* Wed Jun 28 2006 Daniel Berrange <berrange@redhat.com> - 0.1.2-2
|
|
|
|
- Added python-devel to BuildRequires
|
|
|
|
|
2006-06-29 01:00:54 +08:00
|
|
|
* Wed Jun 28 2006 Daniel Berrange <berrange@redhat.com> - 0.1.2-1
|
|
|
|
- Change URL to public location
|
|
|
|
|
2006-06-17 05:09:28 +08:00
|
|
|
* Fri Jun 16 2006 Daniel Berrange <berrange@redhat.com> - 0.1.0-1
|
|
|
|
- Added initial support for using VNC console
|
|
|
|
|
2006-04-20 22:24:14 +08:00
|
|
|
* Thu Apr 20 2006 Daniel Berrange <berrange@redhat.com> - 0.0.2-1
|
|
|
|
- Added DBus remote control service
|
|
|
|
|
|
|
|
* Wed Mar 29 2006 Daniel Berrange <berrange@redhat.com> - 0.0.1-1
|
2006-03-29 19:40:14 +08:00
|
|
|
- Initial RPM build
|