583a87
%global pkgname websockify
583a87
%global summary WSGI based adapter for the Websockets protocol
583a87
Name:           python-%{pkgname}
583a87
Version:        0.12.0
583a87
Release:        1%{?dist}
583a87
Summary:        %{summary}
583a87
583a87
License:        LGPL-3.0-only
583a87
URL:            https://github.com/kanaka/websockify
583a87
Source0:        %{url}/archive/v%{version}/websockify-%{version}.tar.gz
583a87
BuildArch:      noarch
583a87
583a87
%description
583a87
Python WSGI based adapter for the Websockets protocol
583a87
583a87
%package -n python3-%{pkgname}
583a87
Summary:        %{summary} - Python 3 version
583a87
BuildRequires:  python3-devel
583a87
BuildRequires:  python3-setuptools
583a87
583a87
Requires:       python3-setuptools
583a87
583a87
%{?python_provide:%python_provide python3-%{pkgname}}
583a87
583a87
%description -n python3-%{pkgname}
583a87
Python WSGI based adapter for the Websockets protocol - Python 3 version
583a87
583a87
%package doc
583a87
Summary:        %{summary} - documentation
583a87
583a87
%description doc
583a87
Python WSGI based adapter for the Websockets protocol - documentation
583a87
583a87
%prep
583a87
%autosetup -n %{pkgname}-%{version}
583a87
583a87
%build
583a87
%py3_build
583a87
583a87
%install
583a87
%py3_install
583a87
583a87
rm -Rf %{buildroot}/usr/share/websockify
583a87
mkdir -p %{buildroot}%{_mandir}/man1/
583a87
install -m 444 docs/websockify.1 %{buildroot}%{_mandir}/man1/
583a87
583a87
%files -n python3-%{pkgname}
583a87
%license COPYING
583a87
%{_mandir}/man1/websockify.1*
583a87
%{python3_sitelib}/websockify/
583a87
%{python3_sitelib}/websockify-%{version}-py%{python3_version}.egg-info
583a87
%{_bindir}/websockify
583a87
583a87
%files doc
583a87
%license COPYING
583a87
%doc docs
583a87
583a87
%changelog
583a87
* Fri Aug 23 2024 Jonathan Wright <jonathan@almalinux.org> - 0.12.0-1
583a87
- update to 0.12.0
583a87
583a87
* Fri Jul 26 2024 Miroslav Suchý <msuchy@redhat.com> - 0.11.0-8
583a87
- convert license to SPDX
583a87
583a87
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.0-7
583a87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
583a87
583a87
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 0.11.0-6
583a87
- Rebuilt for Python 3.13
583a87
583a87
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.0-5
583a87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
583a87
583a87
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.0-4
583a87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
583a87
583a87
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.0-3
583a87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
583a87
583a87
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 0.11.0-2
583a87
- Rebuilt for Python 3.12
583a87
583a87
* Sun Feb 05 2023 Jonathan Wright <jonathan@almalinux.org> - 0.11.0-1
583a87
- update to 0.11.0
583a87
583a87
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-4
583a87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
583a87
583a87
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-3
583a87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
583a87
583a87
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.10.0-2
583a87
- Rebuilt for Python 3.11
583a87
583a87
* Fri Feb 04 2022 Neal Gompa <ngompa@fedoraproject.org> - 0.10.0-1
583a87
- Update to 0.10.0
583a87
583a87
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-7
583a87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
583a87
583a87
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-6
583a87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
583a87
583a87
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.9.0-5
583a87
- Rebuilt for Python 3.10
583a87
583a87
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-4
583a87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
583a87
583a87
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-3
583a87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
583a87
583a87
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.9.0-2
583a87
- Rebuilt for Python 3.9
583a87
583a87
* Thu Mar 26 2020 Yatin Karel <ykarel@redhat.com> - 0.9.0-1
583a87
- Update to 0.9.0 (Resolves #1816608)
583a87
583a87
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-16
583a87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
583a87
583a87
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.8.0-15
583a87
- Rebuilt for Python 3.8.0rc1 (#1748018)
583a87
583a87
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.8.0-14
583a87
- Rebuilt for Python 3.8
583a87
583a87
* Sun Aug 11 2019 Miro Hrončok <mhroncok@redhat.com> - 0.8.0-13
583a87
- Subpackage python2-websockify has been removed
583a87
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
583a87
583a87
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-12
583a87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
583a87
583a87
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-11
583a87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
583a87
583a87
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-10
583a87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
583a87
583a87
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.8.0-9
583a87
- Rebuilt for Python 3.7
583a87
583a87
* Fri Feb 16 2018 2018 Lumír Balhar <lbalhar@redhat.com> - 0.8.0-8
583a87
- Fix directory ownership
583a87
583a87
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-7
583a87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
583a87
583a87
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-6
583a87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
583a87
583a87
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-5
583a87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
583a87
583a87
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.8.0-4
583a87
- Rebuild for Python 3.6
583a87
583a87
* Mon Aug 29 2016 Jan Beran <jberan@redhat.com> - 0.8.0-3
583a87
- Python 3 subpackage
583a87
583a87
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.0-2
583a87
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
583a87
583a87
* Fri Feb 19 2016 Solly Ross <sross@redhat.com> - 0.8.0-1
583a87
- Update to release 0.8.0
583a87
583a87
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-4
583a87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
583a87
583a87
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0-3
583a87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
583a87
583a87
* Wed Apr 29 2015 Pádraig Brady <pbrady@redhat.com> - 0.6.0-2
583a87
- Support big endian systems - rhbz#1216219
583a87
583a87
* Mon Mar 23 2015 Nikola Đipanov <ndipanov@redhat.com> - 0.6.0-1
583a87
- Update to release 0.6.0
583a87
583a87
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-2
583a87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
583a87
583a87
* Tue Sep 10 2013 Nikola Đipanov <ndipanov@redhat.com> - 0.5.1-1
583a87
- Update to release 0.5.1
583a87
583a87
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-2
583a87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
583a87
583a87
* Thu Jun 20 2013 Pádraig Brady <P@draigBrady.com> - 0.4.1-1
583a87
- Update to release 0.4.1
583a87
583a87
* Tue Mar 12 2013 Pádraig Brady <P@draigBrady.com> - 0.2.0-4
583a87
- Add runtime dependency on setuptools
583a87
583a87
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-3
583a87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
583a87
583a87
* Wed Oct 31 2012 Pádraig Brady <P@draigBrady.com> - 0.2.0-2
583a87
- Remove hard dependency on numpy
583a87
583a87
* Mon Oct 22 2012 Nikola Đipanov <ndipanov@redhat.com> - 0.2.0-1
583a87
- Moving to the upstream version 0.2.0
583a87
583a87
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-6
583a87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
583a87
583a87
* Wed Jun 6 2012 Adam Young <ayoung@redhat.com> - 0.1.0-4
583a87
- Added Description
583a87
- Added Manpage
583a87
583a87
* Fri May 11 2012 Matthias Runge <mrunge@matthias-runge.de> - 0.1.0-2
583a87
- spec cleanup
583a87
583a87
* Thu May 10 2012 Adam Young <ayoung@redhat.com> - 0.1.0-1
583a87
- Initial RPM release.
583a87