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