20214cf
%global pkgname websockify
20214cf
%global summary WSGI based adapter for the Websockets protocol
20214cf
Name:           python-%{pkgname}
11dcb34
Version:        0.9.0
36912f6
Release:        4%{?dist}
20214cf
Summary:        %{summary}
b0886e5
b0886e5
License:        LGPLv3
b0886e5
URL:            https://github.com/kanaka/websockify
5afe400
Source0:        https://github.com/kanaka/websockify/archive/v%{version}.tar.gz#/websockify-%{version}.tar.gz
b0886e5
BuildArch:      noarch
5c24223
b0886e5
%description
b0886e5
Python WSGI based adapter for the Websockets protocol
b0886e5
20214cf
%package -n python3-%{pkgname}
20214cf
Summary:        %{summary} - Python 3 version
20214cf
BuildRequires:  python3-devel
20214cf
BuildRequires:  python3-setuptools
20214cf
20214cf
Requires:       python3-setuptools
20214cf
20214cf
%{?python_provide:%python_provide python3-%{pkgname}}
20214cf
20214cf
%description -n python3-%{pkgname}
20214cf
Python WSGI based adapter for the Websockets protocol - Python 3 version
20214cf
20214cf
%package doc
20214cf
Summary:        %{summary} - documentation
20214cf
20214cf
%description doc
20214cf
Python WSGI based adapter for the Websockets protocol - documentation
20214cf
b0886e5
%prep
20214cf
%autosetup -n %{pkgname}-%{version}
b0886e5
75108db
# TODO: Have the following handle multi line entries
75108db
sed -i '/setup_requires/d; /install_requires/d; /dependency_links/d' setup.py
75108db
b0886e5
%build
20214cf
%py3_build
b0886e5
b0886e5
%install
20214cf
%py3_install
b0886e5
5afe400
rm -Rf %{buildroot}/usr/share/websockify
b0886e5
mkdir -p %{buildroot}%{_mandir}/man1/
b0886e5
install -m 444 docs/websockify.1 %{buildroot}%{_mandir}/man1/
b0886e5
20214cf
%files -n python3-%{pkgname}
11dcb34
%license COPYING
b0886e5
%{_mandir}/man1/websockify.1*
128f925
%{python3_sitelib}/websockify/
6ff0b71
%{python3_sitelib}/websockify-%{version}-py%{python3_version}.egg-info
b0886e5
%{_bindir}/websockify
b0886e5
20214cf
%files doc
11dcb34
%license COPYING
20214cf
%doc docs
b0886e5
b0886e5
%changelog
36912f6
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-4
36912f6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
36912f6
c3a8ceb
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-3
c3a8ceb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
c3a8ceb
e6adb93
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.9.0-2
e6adb93
- Rebuilt for Python 3.9
e6adb93
11dcb34
* Thu Mar 26 2020 Yatin Karel <ykarel@redhat.com> - 0.9.0-1
11dcb34
- Update to 0.9.0 (Resolves #1816608)
11dcb34
3c7dabb
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-16
3c7dabb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
3c7dabb
2462469
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.8.0-15
2462469
- Rebuilt for Python 3.8.0rc1 (#1748018)
2462469
8c71da3
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.8.0-14
8c71da3
- Rebuilt for Python 3.8
8c71da3
535d493
* Sun Aug 11 2019 Miro Hrončok <mhroncok@redhat.com> - 0.8.0-13
535d493
- Subpackage python2-websockify has been removed
535d493
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
535d493
d482e22
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-12
d482e22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
d482e22
8b5a071
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-11
8b5a071
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
8b5a071
ce627b5
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-10
ce627b5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
ce627b5
5a344eb
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.8.0-9
5a344eb
- Rebuilt for Python 3.7
5a344eb
ac7c175
* Fri Feb 16 2018 2018 Lumír Balhar <lbalhar@redhat.com> - 0.8.0-8
128f925
- Fix directory ownership
128f925
79af464
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-7
79af464
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
79af464
5166441
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-6
5166441
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
5166441
bfce643
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-5
bfce643
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
bfce643
ac1de85
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.8.0-4
ac1de85
- Rebuild for Python 3.6
ac1de85
20214cf
* Mon Aug 29 2016 Jan Beran <jberan@redhat.com> - 0.8.0-3
20214cf
- Python 3 subpackage
20214cf
63499bb
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.0-2
63499bb
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
63499bb
fd6a6ea
* Fri Feb 19 2016 Solly Ross <sross@redhat.com> - 0.8.0-1
fd6a6ea
- Update to release 0.8.0
fd6a6ea
88f1b7b
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-4
88f1b7b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
88f1b7b
781a80b
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0-3
781a80b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
781a80b
daa7743
* Wed Apr 29 2015 Pádraig Brady <pbrady@redhat.com> - 0.6.0-2
daa7743
- Support big endian systems - rhbz#1216219
daa7743
Nikola Dipanov c87e43c
* Mon Mar 23 2015 Nikola Đipanov <ndipanov@redhat.com> - 0.6.0-1
Nikola Dipanov c87e43c
- Update to release 0.6.0
Nikola Dipanov c87e43c
c56834d
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-2
c56834d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
c56834d
20214cf
* Tue Sep 10 2013 Nikola Đipanov <ndipanov@redhat.com> - 0.5.1-1
Nikola Dipanov 541b9c5
- Update to release 0.5.1
Nikola Dipanov 541b9c5
4631506
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-2
4631506
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
4631506
5afe400
* Thu Jun 20 2013 Pádraig Brady <P@draigBrady.com> - 0.4.1-1
5afe400
- Update to release 0.4.1
5afe400
5c24223
* Tue Mar 12 2013 Pádraig Brady <P@draigBrady.com> - 0.2.0-4
5c24223
- Add runtime dependency on setuptools
5c24223
dbbddbf
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-3
dbbddbf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
dbbddbf
75108db
* Wed Oct 31 2012 Pádraig Brady <P@draigBrady.com> - 0.2.0-2
75108db
- Remove hard dependency on numpy
75108db
Nikola Dipanov aad6864
* Mon Oct 22 2012 Nikola Đipanov <ndipanov@redhat.com> - 0.2.0-1
Nikola Dipanov aad6864
- Moving to the upstream version 0.2.0
Nikola Dipanov aad6864
790d30c
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-6
790d30c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
790d30c
8393f94
* Wed Jun 6 2012 Adam Young <ayoung@redhat.com> - 0.1.0-4
b0886e5
- Added Description
b0886e5
- Added Manpage
b0886e5
b0886e5
* Fri May 11 2012 Matthias Runge <mrunge@matthias-runge.de> - 0.1.0-2
b0886e5
- spec cleanup
b0886e5
b0886e5
* Thu May 10 2012 Adam Young <ayoung@redhat.com> - 0.1.0-1
b0886e5
- Initial RPM release.
20214cf