2013-04-23 11:14:12 +02:00
|
|
|
#
|
|
|
|
# spec file for package novnc
|
|
|
|
#
|
2019-01-02 16:26:18 +01:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2013-04-23 11:14:12 +02:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2019-01-02 16:26:18 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2013-04-23 11:14:12 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
Name: novnc
|
2021-10-26 23:26:29 +02:00
|
|
|
Version: 1.3.0
|
2013-04-23 11:14:12 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: VNC client using HTML5 (Web Sockets, Canvas) with encryption support
|
2019-01-02 16:26:18 +01:00
|
|
|
License: MPL-2.0 AND LGPL-3.0-only
|
2013-04-23 11:14:12 +02:00
|
|
|
Group: System/Daemons
|
2019-01-02 16:26:18 +01:00
|
|
|
URL: https://github.com/novnc/noVNC
|
2013-04-23 11:14:12 +02:00
|
|
|
Source0: noVNC-%{version}.tar.gz
|
|
|
|
Patch1: novnc-0.3-manpage.patch
|
2021-10-26 23:26:29 +02:00
|
|
|
Patch2: novnc-1.3.0-fix-interpreter.patch
|
|
|
|
Requires: python3-websockify >= 0.9.0
|
2015-12-17 14:28:57 +01:00
|
|
|
BuildArch: noarch
|
2013-04-23 11:14:12 +02:00
|
|
|
|
|
|
|
%description
|
2018-06-26 14:27:32 +02:00
|
|
|
This package provides a Websocket implementation of the VNC client.
|
|
|
|
It is used by OpenStack Horizon to provide a console view of running
|
|
|
|
instances.
|
2013-04-23 11:14:12 +02:00
|
|
|
|
|
|
|
%prep
|
2013-09-26 07:09:45 +02:00
|
|
|
%setup -q -n noVNC-%{version}
|
2021-10-26 23:26:29 +02:00
|
|
|
%autopatch -p1
|
2013-04-23 11:14:12 +02:00
|
|
|
|
|
|
|
%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
|
2018-06-26 14:27:32 +02:00
|
|
|
install -m 444 vnc_lite.html %{buildroot}/%{_usr}/share/novnc/vnc_auto.html
|
2013-04-23 11:14:12 +02:00
|
|
|
|
2018-06-26 14:27:32 +02:00
|
|
|
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
|
2013-04-23 11:14:12 +02:00
|
|
|
|
|
|
|
mkdir -p %{buildroot}/%{_bindir}
|
2021-10-26 23:26:29 +02:00
|
|
|
install utils/novnc_proxy %{buildroot}/%{_bindir}/novnc_server
|
2013-04-23 11:14:12 +02:00
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_mandir}/man1/
|
|
|
|
install -m 444 docs/novnc_server.1 %{buildroot}%{_mandir}/man1/
|
|
|
|
|
|
|
|
%files
|
2019-01-02 16:26:18 +01:00
|
|
|
%license LICENSE.txt
|
|
|
|
%doc README.md
|
2013-04-23 11:14:12 +02:00
|
|
|
%{_bindir}/novnc_server
|
2015-06-23 10:46:32 +02:00
|
|
|
%{_datadir}/novnc/
|
2019-01-02 16:26:18 +01:00
|
|
|
%{_mandir}/man1/novnc_server.1%{?ext_man}
|
2013-04-23 11:14:12 +02:00
|
|
|
|
|
|
|
%changelog
|