novnc/novnc.spec
Alberto Planas Dominguez a5f96a12c6 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
2018-06-26 12:27:32 +00:00

79 lines
2.3 KiB
RPMSpec

#
# spec file for package novnc
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: novnc
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/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
Requires: python-websockify
BuildArch: noarch
%description
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
%install
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/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
mkdir -p %{buildroot}%{_mandir}/man1/
install -m 444 docs/novnc_server.1 %{buildroot}%{_mandir}/man1/
%files
%defattr(-,root,root,-)
%doc README.md LICENSE.txt
%{_bindir}/novnc_server
%{_datadir}/novnc/
%{_mandir}/man1/novnc_server.1*
%changelog