- update to 0.4: * Clarify permissive licenses of HTML, CSS, images. * Use render queue and requestAnimationFrame * UltraVNC repeater support OBS-URL: https://build.opensuse.org/request/show/200476 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/novnc?expand=0&rev=3
79 lines
2.3 KiB
RPMSpec
79 lines
2.3 KiB
RPMSpec
#
|
|
# spec file for package novnc
|
|
#
|
|
# Copyright (c) 2013 SUSE LINUX Products 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: 0.4
|
|
Release: 0
|
|
Summary: VNC client using HTML5 (Web Sockets, Canvas) with encryption support
|
|
License: GPL-3.0
|
|
Group: System/Daemons
|
|
|
|
Url: https://github.com/kanaka/noVNC
|
|
Source0: noVNC-%{version}.tar.gz
|
|
|
|
Patch0: novnc-0.3-nova-wsproxy.patch
|
|
Patch1: novnc-0.3-manpage.patch
|
|
Patch2: novnc-0.3-call-websockify.patch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildRequires: python-devel
|
|
|
|
Requires: python-websockify
|
|
|
|
%description
|
|
Websocket implementation of VNC client
|
|
|
|
%prep
|
|
%setup -q -n noVNC-%{version}
|
|
%patch0 -p1
|
|
%patch1 -p1
|
|
%patch2 -p1
|
|
|
|
%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
|
|
|
|
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}/%{_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
|
|
|
|
%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
|
|
%{_mandir}/man1/novnc_server.1*
|
|
|
|
%changelog
|