~ubuntu-branches/ubuntu/raring/virt-manager/raring-proposed

1 by Guido Guenther
Import upstream version 0.5.2
1
# -*- rpm-spec -*-
2
3
# This macro is used for the continuous automated builds. It just
4
# allows an extra fragment based on the timestamp to be appended
5
# to the release. This distinguishes automated builds, from formal
6
# Fedora RPM builds
7
%define _extra_release %{?dist:%{dist}}%{!?dist:%{?extra_release:%{extra_release}}}
8
9
Name: virt-manager
1.2.2 by Laurent Léonard
Import upstream version 0.8.6
10
Version: 0.8.6
1 by Guido Guenther
Import upstream version 0.5.2
11
Release: 1%{_extra_release}
12
Summary: Virtual Machine Manager
13
14
Group: Applications/Emulators
1.1.1 by Soren Hansen
Import upstream version 0.5.3
15
License: GPLv2+
1.1.4 by Soren Hansen
Import upstream version 0.6.1
16
URL: http://virt-manager.org/
17
Source0: http://virt-manager.org/download/sources/%{name}/%{name}-%{version}.tar.gz
1 by Guido Guenther
Import upstream version 0.5.2
18
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
1.1.6 by Guido Günther
Import upstream version 0.8.0
19
BuildArch: noarch
1 by Guido Guenther
Import upstream version 0.5.2
20
21
# These two are just the oldest version tested
22
Requires: pygtk2 >= 1.99.12-6
23
Requires: gnome-python2-gconf >= 1.99.11-7
1.1.6 by Guido Günther
Import upstream version 0.8.0
24
# This version not strictly required: virt-manager should work with older,
25
# however varying amounts of functionality will not be enabled.
26
Requires: libvirt-python >= 0.7.0
1 by Guido Guenther
Import upstream version 0.5.2
27
# Definitely does not work with earlier due to python API changes
28
Requires: dbus-python >= 0.61
1.1.4 by Soren Hansen
Import upstream version 0.6.1
29
Requires: dbus-x11
1 by Guido Guenther
Import upstream version 0.5.2
30
# Might work with earlier, but this is what we've tested
31
Requires: gnome-keyring >= 0.4.9
32
# Minimum we've tested with
33
# Although if you don't have this, comment it out and the app
34
# will work just fine - keyring functionality will simply be
35
# disabled
36
Requires: gnome-python2-gnomekeyring >= 2.15.4
37
# Minimum we've tested with
38
Requires: libxml2-python >= 2.6.23
1.1.6 by Guido Günther
Import upstream version 0.8.0
39
# Absolutely require this version or later
1.2.2 by Laurent Léonard
Import upstream version 0.8.6
40
Requires: python-virtinst >= 0.500.5
1 by Guido Guenther
Import upstream version 0.5.2
41
# Required for loading the glade UI
42
Requires: pygtk2-libglade
43
# Required for our graphics which are currently SVG format
44
Requires: librsvg2
45
# Earlier vte had broken python binding module
46
Requires: vte >= 0.12.2
47
# For online help
48
Requires: scrollkeeper
49
# For console widget
1.1.5 by Guido Günther
Import upstream version 0.7.0
50
Requires: gtk-vnc-python >= 0.3.8
1.1.2 by Soren Hansen
Import upstream version 0.5.4
51
# For local authentication against PolicyKit
1.2.2 by Laurent Léonard
Import upstream version 0.8.6
52
# Fedora 12 has no need for a client agent
53
%if 0%{?fedora} == 11
1.1.5 by Guido Günther
Import upstream version 0.7.0
54
Requires: PolicyKit-authentication-agent
1.1.6 by Guido Günther
Import upstream version 0.8.0
55
%endif
56
%if 0%{?fedora} >= 9 && 0%{?fedora} < 11
1.1.2 by Soren Hansen
Import upstream version 0.5.4
57
Requires: PolicyKit-gnome
1.1.5 by Guido Günther
Import upstream version 0.7.0
58
%endif
1 by Guido Guenther
Import upstream version 0.5.2
59
60
BuildRequires: gettext
61
BuildRequires: scrollkeeper
62
BuildRequires: intltool
63
64
Requires(pre): GConf2
65
Requires(post): GConf2
66
Requires(preun): GConf2
1.1.4 by Soren Hansen
Import upstream version 0.6.1
67
Requires(post): desktop-file-utils
68
Requires(postun): desktop-file-utils
1 by Guido Guenther
Import upstream version 0.5.2
69
70
%description
1.1.3 by Guido Günther
Import upstream version 0.6.0
71
Virtual Machine Manager provides a graphical tool for administering virtual
72
machines for KVM, Xen, and QEmu. Start, stop, add or remove virtual devices,
73
connect to a graphical or serial console, and see resource usage statistics
74
for existing VMs on local or remote machines. Uses libvirt as the backend
75
management API.
1 by Guido Guenther
Import upstream version 0.5.2
76
77
%prep
78
%setup -q
79
80
%build
1.2.2 by Laurent Léonard
Import upstream version 0.8.6
81
%configure --without-tui
1 by Guido Guenther
Import upstream version 0.5.2
82
make %{?_smp_mflags}
83
84
85
%install
86
rm -rf $RPM_BUILD_ROOT
87
make install  DESTDIR=$RPM_BUILD_ROOT
88
%find_lang %{name}
89
90
%clean
91
rm -rf $RPM_BUILD_ROOT
92
93
%pre
94
if [ "$1" -gt 1 ]; then
95
    export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
96
    gconftool-2 --makefile-uninstall-rule \
97
      %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
98
fi
99
100
%post
101
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
102
gconftool-2 --makefile-install-rule \
103
  %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
104
105
update-desktop-database %{_datadir}/applications
106
1.2.1 by Guido Günther
Import upstream version 0.8.5
107
# Revive when we update help docs
108
#if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update -q -o %{_datadir}/omf/%{name}; fi
1 by Guido Guenther
Import upstream version 0.5.2
109
110
%postun
111
update-desktop-database %{_datadir}/applications
112
1.2.1 by Guido Günther
Import upstream version 0.8.5
113
# Revive when we update help docs
114
#if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update -q; fi
1 by Guido Guenther
Import upstream version 0.5.2
115
116
%preun
117
if [ "$1" -eq 0 ]; then
118
    export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
119
    gconftool-2 --makefile-uninstall-rule \
120
      %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
121
fi
122
123
%files -f %{name}.lang
124
%defattr(-,root,root,-)
125
%doc README COPYING COPYING-DOCS AUTHORS ChangeLog NEWS
126
%{_sysconfdir}/gconf/schemas/%{name}.schemas
127
%{_bindir}/%{name}
128
%{_libexecdir}/%{name}-launch
129
1.1.4 by Soren Hansen
Import upstream version 0.6.1
130
%{_mandir}/man1/%{name}.1*
131
132
%dir %{_datadir}/%{name}
1 by Guido Guenther
Import upstream version 0.5.2
133
%{_datadir}/%{name}/*.glade
1.1.6 by Guido Günther
Import upstream version 0.8.0
134
%{_datadir}/%{name}/*.py*
1 by Guido Guenther
Import upstream version 0.5.2
135
1.1.4 by Soren Hansen
Import upstream version 0.6.1
136
%dir %{_datadir}/%{name}/pixmaps/
137
%{_datadir}/%{name}/pixmaps/*.png
138
%{_datadir}/%{name}/pixmaps/*.svg
139
1.1.10 by Laurent Léonard
Import upstream version 0.8.4
140
%dir %{_datadir}/%{name}/pixmaps/hicolor/
141
%dir %{_datadir}/%{name}/pixmaps/hicolor/*/
142
%dir %{_datadir}/%{name}/pixmaps/hicolor/*/*/
1.2.1 by Guido Günther
Import upstream version 0.8.5
143
%{_datadir}/%{name}/pixmaps/hicolor/*/*/*.png
1.1.10 by Laurent Léonard
Import upstream version 0.8.4
144
1.1.4 by Soren Hansen
Import upstream version 0.6.1
145
%dir %{_datadir}/%{name}/virtManager/
1.1.6 by Guido Günther
Import upstream version 0.8.0
146
%{_datadir}/%{name}/virtManager/*.py*
1 by Guido Guenther
Import upstream version 0.5.2
147
1.2.1 by Guido Günther
Import upstream version 0.8.5
148
# Revive when we update help docs
149
#%{_datadir}/omf/%{name}/
150
#%{_datadir}/gnome/help/%{name}
1 by Guido Guenther
Import upstream version 0.5.2
151
152
%{_datadir}/applications/%{name}.desktop
153
%{_datadir}/dbus-1/services/%{name}.service
154
155
%changelog
1.2.2 by Laurent Léonard
Import upstream version 0.8.6
156
* Fri Jan 14 2011 Cole Robinson <crobinso@redhat.com> - 0.8.6-1
157
- SPICE support (requires spice-gtk) (Marc-André Lureau)
158
- Option to configure CPU model
159
- Option to configure CPU topology
160
- Save and migration cancellation (Wen Congyang)
161
- Save and migration progress reporting
162
- Option to enable bios boot menu
163
- Option to configure direct kernel/initrd boot
164
1.2.1 by Guido Günther
Import upstream version 0.8.5
165
* Tue Aug 24 2010 Cole Robinson <crobinso@redhat.com> - 0.8.5-1
166
- Improved save/restore support
167
- Option to view and change disk cache mode
168
- Configurable VNC keygrab sequence (Michal Novotny)
169
1.1.10 by Laurent Léonard
Import upstream version 0.8.4
170
* Wed Mar 24 2010 Cole Robinson <crobinso@redhat.com> - 0.8.4-1
171
- 'Import' install option, to create a VM around an existing OS image
172
- Support multiple boot devices and boot order
173
- Watchdog device support
174
- Enable setting a human readable VM description.
175
- Option to manually specifying a bridge name, if bridge isn't detected
176
1.1.9 by Laurent Léonard
Import upstream version 0.8.3
177
* Mon Feb  8 2010 Cole Robinson <crobinso@redhat.com> - 0.8.3-1
178
- Manage network interfaces: start, stop, view, provision bridges, bonds, etc.
179
- Option to 'customize VM before install'.
180
1.1.8 by Guido Günther
Import upstream version 0.8.2
181
* Mon Dec 14 2009 Cole Robinson <crobinso@redhat.com> - 0.8.2-1
182
- Fix right click in the manager window to operate on the clicked row
183
- Running on a new machine / user account no longer produces a traceback.
184
- Allow ejecting and connecting floppy media
185
186
* Thu Dec  3 2009 Cole Robinson <crobinso@redhat.com> - 0.8.1-1
187
- VM Migration wizard, exposing various migration options
188
- Enumerate CDROM and bridge devices on remote connections
189
- Support storage pool source enumeration for LVM, NFS, and SCSI
190
1.1.6 by Guido Günther
Import upstream version 0.8.0
191
* Tue Jul 28 2009 Cole Robinson <crobinso@redhat.com> - 0.8.0-1
192
- New 'Clone VM' Wizard
193
- Improved UI, including an overhaul of the main 'manager' view
194
- System tray icon for easy VM access (start, stop, view console/details)
195
- Wizard for adding serial, parallel, and video devices to existing VMs.
196
197
* Mon Mar  9 2009 Cole Robinson <crobinso@redhat.com> - 0.7.0-1
198
- Redesigned 'New Virtual Machine' wizard (Jeremy Perry, Cole Robinson)
199
- Option to remove storage when deleting a virtual machine.
200
- File browser for libvirt storage pools and volumes
201
- Physical device assignment (PCI, USB) for existing virtual machines.
202
203
* Mon Jan 26 2009 Cole Robinson <crobinso@redhat.com> - 0.6.1-1
204
- VM disk and network stats reporting (Guido Gunther)
205
- VM Migration support (Shigeki Sakamoto)
206
- Support for adding sound devices to an existing VM
207
- Enumerate host devices attached to an existing VM
208
1.1.3 by Guido Günther
Import upstream version 0.6.0
209
* Wed Sep 10 2008 Cole Robinson <crobinso@redhat.com> - 0.6.0-1
210
- Add libvirt storage management support
211
- Basic support for remote guest installation
212
- Merge VM console and details windows
213
- Poll avahi for libvirtd advertisement
214
- Hypervisor autoconnect option
215
- Add sound emulation when creating new guests
216
1.1.2 by Soren Hansen
Import upstream version 0.5.4
217
* Mon Mar 10 2008 Daniel P Berrange <berrange@redhat.com> - 0.5.4-1
218
- Use capabilities XML when creating guests
219
- Allow scaling of VNC window
220
1.1.1 by Soren Hansen
Import upstream version 0.5.3
221
* Thu Jan 10 2008 Daniel P Berrange <berrange@redhat.com> - 0.5.3-1
222
- Reintroduce 'new' button
223
- Make restore work again
224
- Add menu for sending special keys
225
- Fix license headers on all source
226
- Lots of misc bug fixes
227
1 by Guido Guenther
Import upstream version 0.5.2
228
* Thu Oct  4 2007 Daniel P. Berrange <berrange@redhat.com> - 0.5.2-1
229
- No scrollbars for high res guest in low res host (rhbz 273181)
230
- Unable to remove network device (rhbz 242900)
231
- Fixed broken menu items (rhbz 307551)
232
- Allow adding of graphics console (rhbz 215524)
233
234
* Tue Sep 25 2007 Daniel P. Berrange <berrange@redhat.com> - 0.5.1-1
235
- Open connections in background
236
- Make VNC connection retries more robust
237
- Allow changing of CDROM media on the fly
238
- Add PXE boot installation of HVM guests
239
- Allow tunnelling VNC over SSH
240
241
* Wed Aug 29 2007 Daniel P. Berrange <berrange@redhat.com> - 0.5.0-1
242
- Support for managing remote hosts
243
- Switch to use GTK-VNC for the guest console
244
245
* Mon Apr 16 2007 Daniel P. Berrange <berrange@redhat.com> - 0.4.0-1
246
- Support for managing virtual networks
247
- Ability to attach guest to virtual networks
248
- Automatically set VNC keymap based on local keymap
249
- Support for disk & network device addition/removal
250
251
* Tue Mar 20 2007 Daniel P. Berrange <berrange@redhat.com> - 0.3.2-1
252
- Added online help to all windows
253
- Bug fixes to virtual console popup, key grab & accelerator override
254
255
* Tue Feb 20 2007 Daniel P. Berrange <berrange@redhat.com> - 0.3.1-1
256
- Added support for managing QEMU domains
257
- Automatically grab mouse pointer to workaround dual-cursor crazyness
258
259
* Mon Jan 22 2007 Daniel P. Berrange <berrange@redhat.com> - 0.3.0-1
260
- Added support for managing inactive domains
261
- Require virt-inst >= 0.100.0 and libvirt >= 0.1.11 for ianctive
262
  domain management capabilities
263
- Add progress bars during VM creation stage
264
- Improved reliability of VNC console
265
- Updated translations again
266
- Added destroy option to menu bar to forceably kill a guest
267
- Visually differentiate allocated memory, from actual used memory on host
268
- Validate file magic when restoring a guest from a savd file
269
- Performance work on domain listing
270
- Allow creation of non-sparse files
271
- Fix backspace key in serial console
272
273
* Thu Nov  9 2006 Daniel P. Berrange <berrange@redhat.com> - 0.2.6-1
274
- Imported translations from Fedora i18n repository
275
- Make (most) scrollbar policies automatic
276
- Set busy cursor while creating new VMs
277
- Preference for controlling keygrab policy
278
- Preference for when to automatically open console (bz 211385)
279
- Re-try VNC connection attempt periodically in case VNC daemon
280
  hasn't finished starting up
281
- Added activation of URLs for about dialog (bz 210782)
282
- Improved error reporting when connecting to HV (bz 211229)
283
- Add command line args to open specific windows
284
- Don't skip para/full virt wizard step - instead gray out full
285
  virt option & tell user why
286
- Change 'physical' to 'logical' when refering to host CPUs
287
- Include hostname in titlebar
288
- Disable wizard sensitivity while creating VM
289
290
* Thu Oct 19 2006 Daniel P. Berrange <berrange@redhat.com> - 0.2.5-1
291
- Switch to use python-virtinst instead of python-xeninst due to
292
  renaming of original package
293
- Disable keyboard accelerators when grabbing mouse to avoid things like
294
  Ctrl-W closing the local window, instead of remote window bz 210364
295
- Fix host memory reporting bz 211281
296
- Remove duplicate application menu entry bz 211230
297
298
* Thu Oct 12 2006 Daniel Berrange <berrange@redhat.com> - 0.2.4-1
299
- Fix duplicated mnemonics (bz 208408)
300
- Use blktap backed disks if available
301
- Use a drop down list to remember past URLs (bz 209479)
302
- Remove unused help button from preferences dialog (bz 209251)
303
- Fix exception when no VNC graphics is defined
304
- Force immediate refresh of VMs after creating a new one
305
- Improve error reporting if run on a kernel without Xen (bz 209122)
306
- Clamp CPU utilization between 0 & 100 pcent (bz 208185)
307
- Fix array underflow SEGV when no data points available (bz 208185)
308
- More fixes to avoid stuck modifier keys on focus-out (bz 207949)
309
310
* Tue Sep 26 2006 Daniel Berrange <berrange@redhat.com> - 0.2.3-1
311
- Require xeninst >= 0.93.0 to fix block backed devices
312
- Skip para/fully-virt step when going back in wizard if not HVM host (bz 207409)
313
- Fix handling of modifier keys in VNC console so Alt key doesn't get stuck (bz 207949)
314
- Allow sticky modifier keys by pressing same key 3 times in row (enables Ctrl-Alt-F1
315
  by doing Ctrl Ctrl Ctrl  Alt-F1)
316
- Improved error handling during guest creation
317
- Log errors with python logging, instead of to stdout
318
- Remove unused buttons from main domain list window
319
- Switch out of full screen & release key grab when closing console
320
- Trim sparkline CPU history graph to 40 samples max
321
- Constraint VCPU adjuster to only allow upto guest's max VCPU count
322
- Show guest's max & current VCPU count in details page
323
- Fix rounding of disk sizes to avoid a 1.9 GB disk being rounded down to 1 GB
324
- Use raw block device path to CDROM not mount point for HVM guest (bz 206965)
325
- Fix visibility of file size spin box (bz 206186 part 2)
326
- Check for GTK failing to open X11 display (bz 205938)
327
328
* Fri Sep 15 2006 Daniel Berrange <berrange@redhat.com> - 0.2.2-1
329
- Fix event handling in create VM wizard (bz 206660 & 206186)
330
- Fix close button in about dialog (bz 205943)
331
- Refresh .pot files
332
- Turn on VNC scrollbars fulltime to avoid GTK window sizing issue
333
  which consistently resize too small.
334
335
* Mon Sep 11 2006 Daniel Berrange <berrange@redhat.com> - 0.2.1-3
336
- Added requires on pygtk2-libglade & librsvg2 (bz 205941 & 205942)
337
- Re-arrange to use console-helper to launch app
338
- Added 'dist' component to release number
339
340
* Wed Sep  6 2006 Jeremy Katz <katzj@redhat.com> - 0.2.1-2
341
- don't ghost pyo files (#205448)
342
343
* Mon Sep  4 2006 Daniel Berrange <berrange@redhat.com> - 0.2.1-1
344
- Updated to 0.2.1 tar.gz
345
- Added rules to install/uninstall gconf schemas in preun,post,pre
346
  scriptlets
347
348
* Thu Aug 24 2006 Jeremy Katz <katzj@redhat.com> - 0.2.0-3
349
- BR gettext
350
351
* Thu Aug 24 2006 Jeremy Katz <katzj@redhat.com> - 0.2.0-2
352
- only build on arches with virt
353
354
* Tue Aug 22 2006 Daniel Berrange <berrange@redhat.com> - 0.2.0-1
355
- Added wizard for creating virtual machines
356
- Added embedded serial console
357
- Added ability to take screenshots
358
359
* Mon Jul 24 2006 Daniel Berrange <berrange@redhat.com> - 0.1.5-2
360
- Prefix *.pyo files with 'ghost' macro
361
- Use fully qualified URL in Source  tag
362
363
* Thu Jul 20 2006 Daniel Berrange <berrange@redhat.com> - 0.1.5-1
364
- Update to new 0.1.5 release snapshot
365
366
* Thu Jul 20 2006 Daniel Berrange <berrange@redhat.com> - 0.1.4-1
367
- Update to new 0.1.4 release snapshot
368
369
* Mon Jul 17 2006 Daniel Berrange <berrange@redhat.com> - 0.1.3-1
370
- Fix License tag
371
- Updated for new release
372
373
* Wed Jun 28 2006 Daniel Berrange <berrange@redhat.com> - 0.1.2-3
374
- Added missing copyright headers on all .py files
375
376
* Wed Jun 28 2006 Daniel Berrange <berrange@redhat.com> - 0.1.2-2
377
- Added python-devel to BuildRequires
378
379
* Wed Jun 28 2006 Daniel Berrange <berrange@redhat.com> - 0.1.2-1
380
- Change URL to public location
381
382
* Fri Jun 16 2006 Daniel Berrange <berrange@redhat.com> - 0.1.0-1
383
- Added initial support for using VNC console
384
385
* Thu Apr 20 2006 Daniel Berrange <berrange@redhat.com> - 0.0.2-1
386
- Added DBus remote control service
387
388
* Wed Mar 29 2006 Daniel Berrange <berrange@redhat.com> - 0.0.1-1
389
- Initial RPM build