%global srcname aiohttp1.3 %global srcname_nodot %(echo %{srcname} | tr -d .) %global pypi_srcname aiohttp Name: python-%{srcname} Version: 1.3.4 Release: 1%{?dist} Summary: Python HTTP client/server for asyncio License: ASL 2.0 URL: https://github.com/KeepSafe/aiohttp Source0: %{url}/archive/%{version}/%{pypi_srcname}-%{version}.tar.gz Patch0: aiohttp-1.3.4-move-namespace-to-aiohttp13.patch BuildRequires: gcc %description Python HTTP client/server for asyncio which supports both the client and the server side of the HTTP protocol, client and server websocket, and webservers with middlewares and pluggable routing. %package -n python3-%{srcname} Summary: %{summary} %{?python_provide:%python_provide python3-%{srcname}} BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-Cython Requires: python3-chardet Requires: python3-multidict >= 2.1.4 Requires: python3-async-timeout >= 1.1.0 Requires: python3-yarl >= 0.10.0 %description -n python3-%{srcname} Python HTTP client/server for asyncio which supports both the client and the server side of the HTTP protocol, client and server websocket, and webservers with middlewares and pluggable routing. %prep %autosetup -p1 -n %{pypi_srcname}-%{version} mv aiohttp aiohttp13 %build %py3_build %install %py3_install %files -n python3-%{srcname} %doc CHANGES.rst CONTRIBUTING.rst CONTRIBUTORS.txt HISTORY.rst README.rst %license LICENSE.txt %{python3_sitearch}/%{srcname_nodot}-*.egg-info/ %{python3_sitearch}/%{srcname_nodot}/ %changelog * Sun Jul 23 2017 Athmane Madjoudj - 1.3.4-1 - Make spec parallel installable - Add patch to move Python module and package to versioned namespace * Wed Mar 15 2017 Igor Gnatenko - 1.3.4-1 - Update to 1.3.4 * Mon Feb 20 2017 Fabian Affolter - 1.3.3-1 - Update to new upstream version 1.3.3 (rhbz#1423053) * Thu Feb 09 2017 Igor Gnatenko - 1.3-1 - Update to 1.3 * Sun Jan 22 2017 Fabian Affolter - 1.2-1 - Update to new upstream version 1.2 - Add new requirement - Add real description * Sun Jan 01 2017 Igor Gnatenko - 1.0.5-3 - Add missing dependency on async-timeout (RHBZ #1391287) * Mon Dec 19 2016 Miro HronĨok - 1.0.5-2 - Rebuild for Python 3.6 * Mon Oct 31 2016 Fabian Affolter - 1.0.5-1 - Update to new upstream version 1.0.5 * Tue Aug 30 2016 Fabian Affolter - 0.22.5-1 - Update to new upstream version 0.22.5 * Wed Aug 10 2016 Igor Gnatenko - 0.21.6-4 - Move requires under real subpackage * Tue Jul 19 2016 Fedora Release Engineering - 0.21.6-3 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Thu Jun 23 2016 Igor Gnatenko - 0.21.6-2 - Add missing Requires: python3-multidict (RHBZ #1349576) * Thu May 12 2016 Igor Gnatenko - 0.21.6-1 - Update to 0.21.6 * Tue Mar 22 2016 Fabian Affolter - 0.21.5-1 - Update to new upstream version 0.21.5 * Sat Mar 05 2016 Fabian Affolter - 0.21.2-1 - Update to new upstream version 0.21.2 * Sun Feb 14 2016 Fabian Affolter - 0.21.1-1 - Add requirements (rhbz#1300186) - Update to new upstream version 0.21.1 * Thu Feb 04 2016 Fabian Affolter - 0.21.0-1 - Update to new upstream version 0.21.0 * Thu Feb 04 2016 Fedora Release Engineering - 0.19.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Fri Nov 27 2015 Fabian Affolter - 0.19.0-1 - Update py3 - Update to new upstream version 0.19.0 * Tue Nov 10 2015 Fedora Release Engineering - 0.17.4-2 - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 * Fri Oct 16 2015 Fabian Affolter - 0.17.4-1 - Update to new upstream version 0.17.4 * Sat Aug 01 2015 Fabian Affolter - 0.16.6-2 - Fix license * Sat Aug 01 2015 Fabian Affolter - 0.16.6-1 - Update to lastest upstream release 0.16.6 (rhbz#1231670) * Thu Jun 18 2015 Fedora Release Engineering - 0.16.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon Jun 15 2015 Fabian Affolter - 0.16.5-1 - Update to lastest upstream release 0.16.5 (rhbz#1231670) * Wed Nov 26 2014 Fabian Affolter - 0.10.2-1 - Update to lastest upstream release 0.10.2 * Wed Oct 08 2014 Fabian Affolter - 0.9.1-2 - Build only a py3 package * Wed Feb 26 2014 Fabian Affolter - 0.9.1-1 - Initial package for Fedora