Name: gwebsockets Version: 0.6 Release: 1%{?dist} Summary: GLib based websockets server License: ASL 2.0 URL: https://github.com/sugarlabs/gwebsockets Source0: https://github.com/sugarlabs/gwebsockets/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: glib2-devel BuildRequires: python2-devel BuildRequires: python2-setuptools BuildRequires: python3-devel BuildRequires: python3-setuptools %description A websocket server written in python. It uses GIO for network communication and hence it easily integrates with the GLib mainloop. %package -n python2-%{name} Summary: GLib based websockets server %{?python_provide:%python_provide python2-gwebsockets} Requires: glib2 Provides: %{name} = %{version}-%{release} Obsoletes: %{name} < %{version}-%{release} %description -n python2-%{name} A websocket server written in python2. It uses GIO for network communication and hence it easily integrates with the GLib mainloop. %package -n python3-%{name} Summary: GLib based websockets server %{?python_provide:%python_provide python3-gwebsockets} Requires: glib2 %description -n python3-%{name} A websocket server written in python3. It uses GIO for network communication and hence it easily integrates with the GLib mainloop. %prep %setup -q %build %py2_build %py3_build %install %py2_install %py3_install %files -n python2-%{name} %license LICENSE %{python2_sitelib}/%{name}* %files -n python3-%{name} %license LICENSE %{python3_sitelib}/%{name}* %changelog * Wed Sep 18 2019 Peter Robinson 0.6-1 - Update to 0.6 * Thu Aug 22 2019 Miro HronĨok - 0.5-2 - Rebuilt for Python 3.8 * Tue Aug 20 2019 Peter Robinson 0.5-1 - Update to 0.5 with added python3 support * Thu Jul 25 2019 Fedora Release Engineering - 0.4-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Jun 30 2019 Peter Robinson 0.4-12 - Fix build without python-unversioned-command * Fri Feb 01 2019 Fedora Release Engineering - 0.4-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.4-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 0.4-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Fri Jan 05 2018 Iryna Shcherbina - 0.4-8 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Wed Jul 26 2017 Fedora Release Engineering - 0.4-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0.4-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Tue Jul 19 2016 Fedora Release Engineering - 0.4-5 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Wed Feb 03 2016 Fedora Release Engineering - 0.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 0.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Mon Jan 13 2014 Peter Robinson 0.4-1 - Update to 0.4 * Fri Aug 16 2013 Peter Robinson 0.3-1 - Update to 0.3 * Sat Jul 6 2013 Peter Robinson 0.2-1 - Initial package