69cfe56
Name:           novnc
Nikola Dipanov 5a924f6
Version:        0.4
Nikola Dipanov 270927c
Release:        7%{?dist}
69cfe56
Summary:        VNC client using HTML5 (Web Sockets, Canvas) with encryption support
13f700d
Requires:       python-websockify
69cfe56
69cfe56
License:        GPLv3
69cfe56
URL:            https://github.com/kanaka/noVNC
Nikola Dipanov 5a924f6
Source0:        https://github.com/downloads/kanaka/noVNC/novnc-%{version}.tar.gz
69cfe56
Nikola Dipanov 270927c
Patch1:         novnc-0.4-call-websockify.patch
Nikola Dipanov 270927c
Patch2:         novnc-0.4-manpage.patch
69cfe56
BuildArch:      noarch
69cfe56
BuildRequires:  python2-devel
69cfe56
69cfe56
%description
69cfe56
Websocket implementation of VNC client
69cfe56
69cfe56
%prep
69cfe56
%setup -q
69cfe56
%patch1 -p1
69cfe56
%patch2 -p1
69cfe56
69cfe56
%build
69cfe56
69cfe56
69cfe56
%install
69cfe56
mkdir -p %{buildroot}/%{_usr}/share/novnc/utils
69cfe56
install -m 444 *html %{buildroot}/%{_usr}/share/novnc
69cfe56
#provide an index file to prevent default directory browsing
69cfe56
install -m 444 vnc.html %{buildroot}/%{_usr}/share/novnc/index.html
69cfe56
69cfe56
mkdir -p %{buildroot}/%{_usr}/share/novnc/include/
69cfe56
install -m 444 include/*.*  %{buildroot}/%{_usr}/share/novnc/include
69cfe56
mkdir -p %{buildroot}/%{_usr}/share/novnc/images
69cfe56
install -m 444 images/*.*  %{buildroot}/%{_usr}/share/novnc/images
69cfe56
69cfe56
mkdir -p %{buildroot}/%{_bindir}
69cfe56
install utils/launch.sh  %{buildroot}/%{_bindir}/novnc_server
69cfe56
69cfe56
mkdir -p %{buildroot}%{_mandir}/man1/
69cfe56
install -m 444 docs/novnc_server.1 %{buildroot}%{_mandir}/man1/
69cfe56
2feebbb
%{__install} -d %{buildroot}%{_sysconfdir}/sysconfig
69cfe56
69cfe56
%files
69cfe56
%doc README.md LICENSE.txt
69cfe56
69cfe56
%dir %{_usr}/share/novnc
69cfe56
%{_usr}/share/novnc/*.*
69cfe56
%dir %{_usr}/share/novnc/include
69cfe56
%{_usr}/share/novnc/include/*
69cfe56
%dir %{_usr}/share/novnc/images
69cfe56
%{_usr}/share/novnc/images/*
69cfe56
%{_bindir}/novnc_server
69cfe56
%{_mandir}/man1/novnc_server.1*
69cfe56
69cfe56
%changelog
Nikola Dipanov 270927c
* Mon Jun 21 2013 Nikola Đipanov <ndipanov@redhat.com> - 0.4-7
Nikola Dipanov 270927c
- Remove the openstack-nova-novncproxy subpackage (moved to openstack-nova)
Nikola Dipanov 270927c
Nikola Dipanov 83e2c5e
* Mon Apr 08 2013 Nikola Đipanov <ndipanov@redhat.com> - 0.4-6
Nikola Dipanov 83e2c5e
- Import config module from oslo in nova-novncproxy
Nikola Dipanov 83e2c5e
Nikola Dipanov 81fe891
* Mon Mar 18 2013 Nikola Đipanov <ndipanov@redhat.com> - 0.4-5
Nikola Dipanov 81fe891
- Change FLAGS to the new CONF module in nova-novncproxy
Nikola Dipanov 81fe891
- Drop the hard dwp on whole nova package and require only nova-common
Nikola Dipanov 81fe891
2feebbb
* Thu Feb 28 2013 Pádraig Brady <P@draigBrady.com> - 0.4-4
2feebbb
- Support /etc/sysconfig/openstack-nova-novncproxy #916479
2feebbb
ba64289
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-3
ba64289
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
ba64289
Nikola Dipanov cfa0661
* Mon Oct 22 2012 Nikola Đipanoov <ndipanov@redhat.com> - 0.4-2
Nikola Dipanov cfa0661
- Fixes the supplied init script to match the new 0.4 version
Nikola Dipanov cfa0661
Nikola Dipanov 5a924f6
* Mon Oct 22 2012 Nikola Đipanoov <ndipanov@redhat.com> - 0.4-1
Nikola Dipanov 5a924f6
- Moves to upstream version 0.4.0
Nikola Dipanov 5a924f6
4c1aa28
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-12
4c1aa28
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
4c1aa28
13f700d
* Wed Jul  4 2012 Till Maas <opensource@till.name> - 0.3-11
13f700d
- Add a dependency for novnc on python-websockify
13f700d
0dec88a
* Wed Jun 15 2012 Jose Castro Leon <jose.castro.leon@cern.ch> - 0.3-10
0dec88a
- Add a dependency for openstack-nova-novncproxy on openstack-nova
0dec88a
cb415e3
* Thu Jun 14 2012 Matthew Miller <mattdm@mattdm.org> - 0.3-9
cb415e3
- Remove a dependency for openstack-nova-novncproxy on numpy
cb415e3
61417a8
* Wed Jun 13 2012 Alan Pevec <apevec@redhat.com> - 0.3-8
61417a8
- Add a dependency for openstack-nova-novncproxy on python-nova
61417a8
Jose Castro Leon 46815a8
* Wed Jun 13 2012 Jose Castro Leon <jose.castro.leon@cern.ch> - 0.3-7
Jose Castro Leon 46815a8
- Add a dependency for openstack-nova-novncproxy on novnc
Jose Castro Leon 46815a8
69cfe56
* Mon Jun 11 2012 Adam Young <ayoung@redhat.com> - 0.3-6
69cfe56
- systemd initialization for Nova Proxy
69cfe56
- system V init script
69cfe56
- remove Flash binary supporting older browsers
69cfe56
69cfe56
* Tue Jun 8 2012 Adam Young <ayoung@redhat.com> - 0.3-3
69cfe56
- Added man pages
69cfe56
- novnc_server usese the websockify executable, not wsproxy.py
69cfe56
69cfe56
* Tue Jun 7 2012 Adam Young <ayoung@redhat.com> - 0.3-2
69cfe56
- Make Javascript files non-executable, as they are not script files
69cfe56
- Patch Nova noVNC proxy to use websockify directly
69cfe56
69cfe56
* Tue May 15 2012 Adam Young <ayoung@redhat.com> - 0.3-1
69cfe56
- Added in support for the Nova noVNC proxy
69cfe56
- Added files for the images and inclues subdirectories
69cfe56
69cfe56
* Thu May 10 2012 Adam Young <ayoung@redhat.com> - 0.2
69cfe56
- Initial RPM release.