Accepting request 619014 from home:kberger65:branches:Cloud:OpenStack:Factory

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.

OBS-URL: https://build.opensuse.org/request/show/619014
OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/novnc?expand=0&rev=19
This commit is contained in:
2018-06-26 12:27:32 +00:00
committed by Git OBS Bridge
parent 762900fde2
commit a5f96a12c6
5 changed files with 77 additions and 12 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:70a27fe472b901faef7235a61e01aed884ec8c2234a666844acfd9da7e5bcf9b
size 600675

3
noVNC-1.0.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:58aced9ec76c9d9685b771ed94472b7cedafa2810584e85afaedbcb0b02b8aae
size 1551574

View File

@@ -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

View File

@@ -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

View File

@@ -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