69cfe56
Name:           novnc
b0d16cd
Version:        1.2.0
13884f2
Release:        3%{?dist}
69cfe56
Summary:        VNC client using HTML5 (Web Sockets, Canvas) with encryption support
f45e50b
Requires:       python3-websockify
69cfe56
69cfe56
License:        GPLv3
ff4f9b8
URL:            https://github.com/novnc/noVNC
ff4f9b8
Source0:        https://github.com/novnc/noVNC/archive/v%{version}.tar.gz
69cfe56
f5d8716
69cfe56
BuildArch:      noarch
f45e50b
BuildRequires:  python3-devel
69cfe56
69cfe56
%description
ff4f9b8
noVNC is both a HTML VNC client JavaScript library and an application built on
ff4f9b8
top of that library. noVNC runs well in any modern browser including mobile
ff4f9b8
browsers (iOS and Android).
69cfe56
69cfe56
%prep
Alan Pevec 17391fd
%setup -q -n noVNC-%{version}
69cfe56
a16fa3f
%build
69cfe56
69cfe56
%install
a16fa3f
mkdir -p %{buildroot}/%{_datadir}/%{name}/
a16fa3f
cp -r * %{buildroot}/%{_datadir}/%{name}/
a16fa3f
a16fa3f
# provide an index file to prevent default directory browsing
a16fa3f
install -m 444 vnc.html %{buildroot}/%{_datadir}/%{name}/index.html
69cfe56
a16fa3f
# install a copy of the new vnc_lite.html page as the old <1.0.0 vnc_auto.html page
a16fa3f
install -m 444 vnc_lite.html %{buildroot}/%{_datadir}/%{name}/vnc_auto.html
69cfe56
a16fa3f
# FIXME(lyarwood): launch.sh fails to find the installed version of websockify
a16fa3f
# Addressed by https://github.com/novnc/noVNC/pull/1259 
a16fa3f
mkdir -p %{buildroot}/%{_bindir}/
a16fa3f
install utils/launch.sh  %{buildroot}/%{_bindir}/%{name}_server
ff4f9b8
69cfe56
%files
69cfe56
%doc README.md LICENSE.txt
a16fa3f
%{_datadir}/%{name}
a16fa3f
%{_bindir}/%{name}_server
69cfe56
69cfe56
%changelog
13884f2
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-3
13884f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
13884f2
f45e50b
* Tue Aug 25 2020 Lee Yarwood <lyarwood@redhat.com> - 1.2.0-2
f45e50b
- Drop py2 support
f45e50b
b0d16cd
* Tue Aug 25 2020 Lee Yarwood <lyarwood@redhat.com> - 1.2.0-1
b0d16cd
- New upstream release 1.2.0
b0d16cd
c1bff6c
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-8
c1bff6c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
c1bff6c
79464f0
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-7
79464f0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
79464f0
135c7c9
* Fri Aug 09 2019 Lee Yarwood <lyarwood@redhat.com> 1.1.0-6
135c7c9
- Drop use of pathfix for py2 builds.
135c7c9
87f8c97
* Fri Aug 09 2019 Lee Yarwood <lyarwood@redhat.com> 1.1.0-5
87f8c97
- Make the spec compatible for both py2 and py3.
87f8c97
bab137b
* Fri Aug 09 2019 Lee Yarwood <lyarwood@redhat.com> 1.1.0-4
bab137b
- Fix bogus changelog date.
bab137b
bab137b
* Thu Aug 08 2019 Lee Yarwood <lyarwood@redhat.com> 1.1.0-3
f5d8716
- launch.sh: Check for a local websockify directory
f5d8716
451a8be
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
451a8be
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
451a8be
a16fa3f
* Fri Jul 05 2019 Lee Yarwood <lyarwood@redhat.com> - 1.1.0-1
a16fa3f
- Update to 1.1.0
a16fa3f
db162ec
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-2
db162ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
db162ec
ff4f9b8
* Thu Aug 02 2018 Lee Yarwood <lyarwood@redhat.com> - 1.0.0-1
a16fa3f
- Update to 1.0.0
ff4f9b8
afb7c60
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-6
afb7c60
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
afb7c60
f10fb33
* Mon Mar 19 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.6.1-5
f10fb33
- Update Python 2 dependency declarations to new packaging standards
f10fb33
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
f10fb33
b56e0b9
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-4
b56e0b9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
b56e0b9
73d5a94
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-3
73d5a94
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
73d5a94
3abdb73
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-2
3abdb73
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
3abdb73
3d4462d
* Thu Jul 28 2016 Lon Hohberger <lon@redhat.com> 0.6.1-1
3d4462d
- Rebase to upstream 0.6.1
3d4462d
63fc993
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-4
63fc993
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
63fc993
df9255f
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-3
df9255f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
df9255f
170d583
* Thu Feb 19 2015 Solly Ross <sross@redhat.com> - 0.5.1-2
170d583
- Update Source0 to point to correct URL
170d583
Alan Pevec 17391fd
* Sat Jan 10 2015 Alan Pevec <apevec@redhat.com> - 0.5.1-1
Alan Pevec 17391fd
- update to the new upstream version, for changes since 0.4 see:
Alan Pevec 17391fd
  https://github.com/kanaka/noVNC/releases/tag/v0.5
Alan Pevec 17391fd
  https://github.com/kanaka/noVNC/releases/tag/v0.5.1
Alan Pevec 17391fd
08c6fce
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-9
08c6fce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
08c6fce
97ccb02
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-8
97ccb02
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
97ccb02
Nikola Dipanov 2a649ee
* Mon Jun 24 2013 Nikola Đipanov <ndipanov@redhat.com> - 0.4-7
Nikola Dipanov 2a649ee
- Remove the openstack-nova-novncproxy subpackage (moved to openstack-nova)
Nikola Dipanov 2a649ee
Nikola Dipanov 83e2c5e
* Mon Apr 08 2013 Nikola Đipanov <ndipanov@redhat.com> - 0.4-6
Nikola Dipanov 83e2c5e
- Import config module from oslo in nova-novncproxy
Nikola Dipanov 83e2c5e
Nikola Dipanov 81fe891
* Mon Mar 18 2013 Nikola Đipanov <ndipanov@redhat.com> - 0.4-5
Nikola Dipanov 81fe891
- Change FLAGS to the new CONF module in nova-novncproxy
Nikola Dipanov 81fe891
- Drop the hard dwp on whole nova package and require only nova-common
Nikola Dipanov 81fe891
2feebbb
* Thu Feb 28 2013 Pádraig Brady <P@draigBrady.com> - 0.4-4
2feebbb
- Support /etc/sysconfig/openstack-nova-novncproxy #916479
2feebbb
ba64289
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-3
ba64289
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
ba64289
Nikola Dipanov cfa0661
* Mon Oct 22 2012 Nikola Đipanoov <ndipanov@redhat.com> - 0.4-2
Nikola Dipanov cfa0661
- Fixes the supplied init script to match the new 0.4 version
Nikola Dipanov cfa0661
Nikola Dipanov 5a924f6
* Mon Oct 22 2012 Nikola Đipanoov <ndipanov@redhat.com> - 0.4-1
Nikola Dipanov 5a924f6
- Moves to upstream version 0.4.0
Nikola Dipanov 5a924f6
4c1aa28
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-12
4c1aa28
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
4c1aa28
13f700d
* Wed Jul  4 2012 Till Maas <opensource@till.name> - 0.3-11
13f700d
- Add a dependency for novnc on python-websockify
13f700d
Alan Pevec fae6bed
* Fri Jun 15 2012 Jose Castro Leon <jose.castro.leon@cern.ch> - 0.3-10
0dec88a
- Add a dependency for openstack-nova-novncproxy on openstack-nova
0dec88a
cb415e3
* Thu Jun 14 2012 Matthew Miller <mattdm@mattdm.org> - 0.3-9
cb415e3
- Remove a dependency for openstack-nova-novncproxy on numpy
cb415e3
61417a8
* Wed Jun 13 2012 Alan Pevec <apevec@redhat.com> - 0.3-8
61417a8
- Add a dependency for openstack-nova-novncproxy on python-nova
61417a8
Jose Castro Leon 46815a8
* Wed Jun 13 2012 Jose Castro Leon <jose.castro.leon@cern.ch> - 0.3-7
Jose Castro Leon 46815a8
- Add a dependency for openstack-nova-novncproxy on novnc
Jose Castro Leon 46815a8
69cfe56
* Mon Jun 11 2012 Adam Young <ayoung@redhat.com> - 0.3-6
69cfe56
- systemd initialization for Nova Proxy
69cfe56
- system V init script
69cfe56
- remove Flash binary supporting older browsers
69cfe56
Alan Pevec fae6bed
* Fri Jun 8 2012 Adam Young <ayoung@redhat.com> - 0.3-3
69cfe56
- Added man pages
69cfe56
- novnc_server usese the websockify executable, not wsproxy.py
69cfe56
Alan Pevec fae6bed
* Thu Jun 7 2012 Adam Young <ayoung@redhat.com> - 0.3-2
69cfe56
- Make Javascript files non-executable, as they are not script files
69cfe56
- Patch Nova noVNC proxy to use websockify directly
69cfe56
69cfe56
* Tue May 15 2012 Adam Young <ayoung@redhat.com> - 0.3-1
69cfe56
- Added in support for the Nova noVNC proxy
69cfe56
- Added files for the images and inclues subdirectories
69cfe56
69cfe56
* Thu May 10 2012 Adam Young <ayoung@redhat.com> - 0.2
69cfe56
- Initial RPM release.