diff --git a/noVNC-0.6.2.tar.gz b/noVNC-0.6.2.tar.gz deleted file mode 100644 index 8cfc383..0000000 --- a/noVNC-0.6.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:70a27fe472b901faef7235a61e01aed884ec8c2234a666844acfd9da7e5bcf9b -size 600675 diff --git a/noVNC-1.0.0.tar.gz b/noVNC-1.0.0.tar.gz new file mode 100644 index 0000000..2be1f1b --- /dev/null +++ b/noVNC-1.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:58aced9ec76c9d9685b771ed94472b7cedafa2810584e85afaedbcb0b02b8aae +size 1551574 diff --git a/novnc-1.0.0-fix-interpreter.patch b/novnc-1.0.0-fix-interpreter.patch new file mode 100644 index 0000000..21ccae8 --- /dev/null +++ b/novnc-1.0.0-fix-interpreter.patch @@ -0,0 +1,17 @@ +From: kberger@suse.com +Date: Mon Jun 25 17:05:16 UTC 2018 +Subject: [PATCH] changed interpreter to resolve rpmlint error. +Upstream: no + +--- + +Index: utils/launch.sh +=================================================================== +--- utils/launch.sh.orig ++++ utils/launch.sh +@@ -1,4 +1,4 @@ +-#!/usr/bin/env bash ++#!/bin/bash + + # Copyright 2016 Joel Martin + # Copyright 2016 Solly Ross diff --git a/novnc.changes b/novnc.changes index 7730e35..0eaf7a0 100644 --- a/novnc.changes +++ b/novnc.changes @@ -1,3 +1,42 @@ +------------------------------------------------------------------- +Wed Jun 20 14:20:37 UTC 2018 - kberger@suse.com + + Fixes bugs bsc#1052286 and bsc#1077940 + +- Update to 1.0.0: + + + _The first official stable release of noVNC is finally here._ + + Lots of changes have been made since the last release, both in terms of features and bug fixes. + Some of the more notable changes since the last release are: + + Application: + + Heavily revamped interface + Everything is translated + Automatic reconnect on disconnects + Better handling of on screen keyboards + Support for VNC "bell" sound + + Library: + + Cleaned up, official and stable API + Converted to ES6 modules + Much improved keyboard handling + Support for QEMU's raw keyboard extension + Support for continuous updates extension + Proper handling of machines with both touch and mouse/trackpad + Better handling of mouse wheels + More responsive and performant panning + Colour map mode is no longer supported + +- Add novnc-0.3-manpage.patch + novnc-0.3-manpage.patch: add manpage. + +- Add novnc-1.0.0-fix-interpreter.patch + novnc-1.0.0-fix-interpreter.patch: change shebang path from env to bash. + ------------------------------------------------------------------- Sat Jul 22 08:11:49 UTC 2017 - dmueller@suse.com diff --git a/novnc.spec b/novnc.spec index 1d87d4c..c3ff9b6 100644 --- a/novnc.spec +++ b/novnc.spec @@ -1,7 +1,7 @@ # # spec file for package novnc # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,29 +17,33 @@ Name: novnc -Version: 0.6.2 +Version: 1.0.0 Release: 0 Summary: VNC client using HTML5 (Web Sockets, Canvas) with encryption support License: MPL-2.0 and LGPL-3.0 Group: System/Daemons -Url: https://github.com/kanaka/noVNC +Url: https://github.com/novnc/noVNC Source0: noVNC-%{version}.tar.gz Patch1: novnc-0.3-manpage.patch +Patch2: novnc-1.0.0-fix-interpreter.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: python-devel +#BuildRequires: python-devel Requires: python-websockify BuildArch: noarch %description -Websocket implementation of VNC client +This package provides a Websocket implementation of the VNC client. +It is used by OpenStack Horizon to provide a console view of running +instances. %prep %setup -q -n noVNC-%{version} %patch1 -p1 +%patch2 -p0 %build @@ -47,11 +51,16 @@ Websocket implementation of VNC client mkdir -p %{buildroot}/%{_usr}/share/novnc/utils install -m 444 *html %{buildroot}/%{_usr}/share/novnc install -m 444 vnc.html %{buildroot}/%{_usr}/share/novnc/index.html +install -m 444 vnc_lite.html %{buildroot}/%{_usr}/share/novnc/vnc_auto.html -mkdir -p %{buildroot}/%{_usr}/share/novnc/include/ -install -m 444 include/*.* %{buildroot}/%{_usr}/share/novnc/include -mkdir -p %{buildroot}/%{_usr}/share/novnc/images -install -m 444 images/*.* %{buildroot}/%{_usr}/share/novnc/images +mkdir -p %{buildroot}/%{_usr}/share/novnc/app/ +cp -rp app %{buildroot}/%{_usr}/share/novnc + +mkdir -p %{buildroot}/%{_usr}/share/novnc/core +cp -rp core %{buildroot}/%{_usr}/share/novnc + +mkdir -p %{buildroot}/%{_usr}/share/novnc/vendor +cp -rp vendor %{buildroot}/%{_usr}/share/novnc mkdir -p %{buildroot}/%{_bindir} install utils/launch.sh %{buildroot}/%{_bindir}/novnc_server