Name: novnc Version: 0.3 Release: 1%{?dist} Summary: VNC client using HTML5 (Web Sockets, Canvas) with encryption (wss://) support. License: GPL V3 URL: https://github.com/kanaka/noVNC Source0: https://github.com/downloads/kanaka/noVNC/noVNC-%{version}.tar.gz BuildArch: noarch BuildRequires: python2-devel %description Websocket implementation of VNC client, with simple python-websockify starter script %package nova-proxy Summary: Openstack noVNC server that proxies VNC traffic over Websockets %description nova-proxy Openstack noVNC server that proxies VNC traffic over Websockets Requires: numpy Requires: python-websockify %prep %setup -q %build #make -C utils rebind.so %install mkdir -p %{buildroot}/%{_usr}/share/novnc/utils %{__install} *html %{buildroot}/%{_usr}/share/novnc #provide an index file to prevent default directory browsing %{__install} vnc.html %{buildroot}/%{_usr}/share/novnc/index.html mkdir -p %{buildroot}/%{_usr}/share/novnc/include/web-socket-js/ install include/*.* %{buildroot}/%{_usr}/share/novnc/include mkdir -p %{buildroot}/%{_usr}/share/novnc/images install images/*.* %{buildroot}/%{_usr}/share/novnc/images install include/web-socket-js/* %{buildroot}/%{_usr}/share/novnc/include/web-socket-js mkdir -p %{buildroot}/%{_bindir} install utils/launch.sh %{buildroot}/%{_bindir}/novnc_server %{__install} utils/nova-novncproxy %{buildroot}/%{_bindir} %files %doc README.md LICENSE.txt %dir %{_usr}/share/novnc %{_usr}/share/novnc/*.* %dir %{_usr}/share/novnc/include %{_usr}/share/novnc/include/* %dir %{_usr}/share/novnc/images %{_usr}/share/novnc/images/* %{_bindir}/novnc_server %files nova-proxy %{_bindir}/nova-novncproxy %changelog * Tue May 15 2012 Adam Young - 0.1.0-2 - Added in support for the Nova noVNC proxy - Added files for the images and inclues subdirectories * Thu May 10 2012 Adam Young - 0.1.0-1 - Initial RPM release.