2007-08-17 19:42:14 +00:00
|
|
|
# -*- rpm-spec -*-
|
|
|
|
|
2008-03-10 14:58:12 +00:00
|
|
|
# Plugin isn't ready for real world use yet - it needs
|
|
|
|
# a security audit at very least
|
|
|
|
%define _with_plugin %{?with_plugin:1}%{!?with_plugin:0}
|
|
|
|
|
2007-08-17 19:42:14 +00:00
|
|
|
Name: virt-viewer
|
2008-03-10 14:58:12 +00:00
|
|
|
Version: 0.0.3
|
2009-05-07 11:55:21 +00:00
|
|
|
Release: 5%{?dist}
|
2007-08-17 19:42:14 +00:00
|
|
|
Summary: Virtual Machine Viewer
|
|
|
|
Group: Applications/System
|
|
|
|
License: GPLv2+
|
|
|
|
URL: http://virt-manager.org/
|
|
|
|
Source0: http://virt-manager.org/download/sources/%{name}/%{name}-%{version}.tar.gz
|
2009-05-07 11:55:21 +00:00
|
|
|
Patch1: %{name}-%{version}-auth-fixes.patch
|
|
|
|
Patch2: %{name}-%{version}-keyboard-grab.patch
|
2007-08-17 19:42:14 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
2008-03-10 14:58:12 +00:00
|
|
|
Requires: openssh-clients
|
2007-08-17 19:42:14 +00:00
|
|
|
|
|
|
|
BuildRequires: gtk2-devel
|
|
|
|
BuildRequires: libvirt-devel >= 0.3.1-4.fc8
|
|
|
|
BuildRequires: libxml2-devel
|
2008-03-10 14:58:12 +00:00
|
|
|
BuildRequires: gtk-vnc-devel >= 0.3.4
|
2008-07-07 19:29:36 +00:00
|
|
|
# For /usr/bin/pod2man
|
|
|
|
BuildRequires: perl
|
2008-03-10 14:58:12 +00:00
|
|
|
%if %{_with_plugin}
|
2008-07-07 19:29:36 +00:00
|
|
|
%if 0%{?fedora} > 8
|
2008-03-10 14:58:12 +00:00
|
|
|
BuildRequires: xulrunner-devel
|
|
|
|
%else
|
|
|
|
BuildRequires: firefox-devel
|
|
|
|
%endif
|
|
|
|
%endif
|
2007-08-17 19:42:14 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Virtual Machine Viewer provides a graphical console client for connecting
|
|
|
|
to virtual machines. It uses the GTK-VNC widget to provide the display,
|
|
|
|
and libvirt for looking up VNC server details.
|
|
|
|
|
2008-03-10 14:58:12 +00:00
|
|
|
%if %{_with_plugin}
|
|
|
|
%package plugin
|
|
|
|
Summary: Mozilla plugin for the gtk-vnc library
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description plugin
|
|
|
|
gtk-vnc is a VNC viewer widget for GTK. It is built using coroutines
|
|
|
|
allowing it to be completely asynchronous while remaining single threaded.
|
|
|
|
|
|
|
|
This package provides a web browser plugin for Mozilla compatible
|
|
|
|
browsers.
|
|
|
|
%endif
|
|
|
|
|
2007-08-17 19:42:14 +00:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2009-05-07 11:55:21 +00:00
|
|
|
%patch1 -p1
|
|
|
|
%patch2 -p1
|
2007-08-17 19:42:14 +00:00
|
|
|
|
|
|
|
%build
|
2008-03-10 14:58:12 +00:00
|
|
|
%if %{_with_plugin}
|
|
|
|
%configure --enable-plugin=yes
|
|
|
|
%else
|
2007-08-17 19:42:14 +00:00
|
|
|
%configure
|
2008-03-10 14:58:12 +00:00
|
|
|
%endif
|
|
|
|
%__make %{?_smp_mflags}
|
2007-08-17 19:42:14 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2008-03-10 14:58:12 +00:00
|
|
|
%__make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
%if %{_with_plugin}
|
|
|
|
rm -f %{buildroot}%{_libdir}/mozilla/plugins/%{name}-plugin.a
|
|
|
|
rm -f %{buildroot}%{_libdir}/mozilla/plugins/%{name}-plugin.la
|
|
|
|
%endif
|
2007-08-17 19:42:14 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2008-03-10 14:58:12 +00:00
|
|
|
%doc README COPYING AUTHORS ChangeLog NEWS
|
2007-08-17 19:42:14 +00:00
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_mandir}/man1/%{name}*
|
|
|
|
|
2008-03-10 14:58:12 +00:00
|
|
|
%if %{_with_plugin}
|
|
|
|
%files plugin
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_libdir}/mozilla/plugins/%{name}-plugin.so
|
|
|
|
%endif
|
|
|
|
|
2007-08-17 19:42:14 +00:00
|
|
|
%changelog
|
2009-05-07 11:55:21 +00:00
|
|
|
* Thu May 7 2009 Daniel P. Berrange <berrange@redhat.com> - 0.0.3-5.fc12
|
|
|
|
- Fix auth against libvirt (rhbz #499594)
|
|
|
|
- Fix confusion of VNC credentials (rhbz #499595)
|
|
|
|
- Correct keyboard grab handling (rhbz #499362)
|
|
|
|
|
2009-02-26 00:36:09 +00:00
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.3-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-07-07 19:29:36 +00:00
|
|
|
* Mon Jul 7 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.0.3-3.fc10
|
|
|
|
- fix conditional comparison
|
|
|
|
- remove file dep
|
|
|
|
|
2008-06-25 10:03:02 +00:00
|
|
|
* Wed Jun 25 2008 Daniel P. Berrange <berrange@redhat.com> - 0.0.3-2.fc10
|
|
|
|
- Rebuild for GNU TLS ABI bump
|
|
|
|
|
2008-03-10 14:58:12 +00:00
|
|
|
* Mon Mar 10 2008 Daniel P. Berrange <berrange@redhat.com> - 0.0.3-1.fc9
|
|
|
|
- Updated to 0.0.3 release
|
|
|
|
|
2008-02-18 21:14:10 +00:00
|
|
|
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.0.2-4
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2008-01-11 22:47:40 +00:00
|
|
|
* Fri Jan 11 2008 Daniel P. Berrange <berrange@redhat.com> - 0.0.2-3.fc9
|
|
|
|
- Set domain name as window title
|
|
|
|
- Hide input for passwd fields during auth
|
|
|
|
|
2007-10-15 21:07:34 +00:00
|
|
|
* Mon Oct 15 2007 Daniel P. Berrange <berrange@redhat.com> - 0.0.2-2.fc8
|
|
|
|
- Change TLS x509 credential name to sync with libvirt
|
|
|
|
|
2007-08-29 00:40:26 +00:00
|
|
|
* Tue Aug 28 2007 Daniel P. Berrange <berrange@redhat.com> - 0.0.2-1.fc8
|
|
|
|
- Added support for remote console access
|
|
|
|
|
2007-08-17 21:21:10 +00:00
|
|
|
* Fri Aug 17 2007 Daniel P. Berrange <berrange@redhat.com> - 0.0.1-2.fc8
|
|
|
|
- Restrict built to x86 & ia64 because libvirt is only on those arches
|
|
|
|
|
2007-08-17 19:42:14 +00:00
|
|
|
* Wed Aug 15 2007 Daniel P. Berrange <berrange@redhat.com> - 0.0.1-1.fc8
|
|
|
|
- First release
|
|
|
|
|