diff --git a/.python-websockify.metadata b/.python-websockify.metadata new file mode 100644 index 0000000..9014c34 --- /dev/null +++ b/.python-websockify.metadata @@ -0,0 +1 @@ +7a2c265de11cce440d7873935465ca1a60d99327 SOURCES/websockify-0.9.0.tar.gz diff --git a/SPECS/python-websockify.spec b/SPECS/python-websockify.spec new file mode 100644 index 0000000..ec70281 --- /dev/null +++ b/SPECS/python-websockify.spec @@ -0,0 +1,171 @@ +%global pkgname websockify +%global summary WSGI based adapter for the Websockets protocol +Name: python-%{pkgname} +Version: 0.9.0 +Release: 4%{?dist} +Summary: %{summary} + +License: LGPLv3 +URL: https://github.com/kanaka/websockify +Source0: https://github.com/kanaka/websockify/archive/v%{version}.tar.gz#/websockify-%{version}.tar.gz +BuildArch: noarch + +%description +Python WSGI based adapter for the Websockets protocol + +%package -n python3-%{pkgname} +Summary: %{summary} - Python 3 version +BuildRequires: python3-devel +BuildRequires: python3-setuptools + +Requires: python3-setuptools + +%{?python_provide:%python_provide python3-%{pkgname}} + +%description -n python3-%{pkgname} +Python WSGI based adapter for the Websockets protocol - Python 3 version + +%package doc +Summary: %{summary} - documentation + +%description doc +Python WSGI based adapter for the Websockets protocol - documentation + +%prep +%autosetup -n %{pkgname}-%{version} + +# TODO: Have the following handle multi line entries +sed -i '/setup_requires/d; /install_requires/d; /dependency_links/d' setup.py + +%build +%py3_build + +%install +%py3_install + +rm -Rf %{buildroot}/usr/share/websockify +mkdir -p %{buildroot}%{_mandir}/man1/ +install -m 444 docs/websockify.1 %{buildroot}%{_mandir}/man1/ + +%files -n python3-%{pkgname} +%license COPYING +%{_mandir}/man1/websockify.1* +%{python3_sitelib}/websockify/ +%{python3_sitelib}/websockify-%{version}-py%{python3_version}.egg-info +%{_bindir}/websockify + +%files doc +%license COPYING +%doc docs + +%changelog +* Wed Jan 27 2021 Fedora Release Engineering - 0.9.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 0.9.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue May 26 2020 Miro Hrončok - 0.9.0-2 +- Rebuilt for Python 3.9 + +* Thu Mar 26 2020 Yatin Karel - 0.9.0-1 +- Update to 0.9.0 (Resolves #1816608) + +* Thu Jan 30 2020 Fedora Release Engineering - 0.8.0-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Oct 03 2019 Miro Hrončok - 0.8.0-15 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Mon Aug 19 2019 Miro Hrončok - 0.8.0-14 +- Rebuilt for Python 3.8 + +* Sun Aug 11 2019 Miro Hrončok - 0.8.0-13 +- Subpackage python2-websockify has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + +* Fri Jul 26 2019 Fedora Release Engineering - 0.8.0-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Feb 02 2019 Fedora Release Engineering - 0.8.0-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Jul 14 2018 Fedora Release Engineering - 0.8.0-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jun 19 2018 Miro Hrončok - 0.8.0-9 +- Rebuilt for Python 3.7 + +* Fri Feb 16 2018 2018 Lumír Balhar - 0.8.0-8 +- Fix directory ownership + +* Fri Feb 09 2018 Fedora Release Engineering - 0.8.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 0.8.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 0.8.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Dec 19 2016 Miro Hrončok - 0.8.0-4 +- Rebuild for Python 3.6 + +* Mon Aug 29 2016 Jan Beran - 0.8.0-3 +- Python 3 subpackage + +* Tue Jul 19 2016 Fedora Release Engineering - 0.8.0-2 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Fri Feb 19 2016 Solly Ross - 0.8.0-1 +- Update to release 0.8.0 + +* Thu Feb 04 2016 Fedora Release Engineering - 0.6.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Jun 18 2015 Fedora Release Engineering - 0.6.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Wed Apr 29 2015 Pádraig Brady - 0.6.0-2 +- Support big endian systems - rhbz#1216219 + +* Mon Mar 23 2015 Nikola Đipanov - 0.6.0-1 +- Update to release 0.6.0 + +* Sun Jun 08 2014 Fedora Release Engineering - 0.5.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Tue Sep 10 2013 Nikola Đipanov - 0.5.1-1 +- Update to release 0.5.1 + +* Sun Aug 04 2013 Fedora Release Engineering - 0.4.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Jun 20 2013 Pádraig Brady - 0.4.1-1 +- Update to release 0.4.1 + +* Tue Mar 12 2013 Pádraig Brady - 0.2.0-4 +- Add runtime dependency on setuptools + +* Thu Feb 14 2013 Fedora Release Engineering - 0.2.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Oct 31 2012 Pádraig Brady - 0.2.0-2 +- Remove hard dependency on numpy + +* Mon Oct 22 2012 Nikola Đipanov - 0.2.0-1 +- Moving to the upstream version 0.2.0 + +* Sat Jul 21 2012 Fedora Release Engineering - 0.1.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Wed Jun 6 2012 Adam Young - 0.1.0-4 +- Added Description +- Added Manpage + +* Fri May 11 2012 Matthias Runge - 0.1.0-2 +- spec cleanup + +* Thu May 10 2012 Adam Young - 0.1.0-1 +- Initial RPM release. +