%global pypi_name AWSIoTPythonSDK Name: python-%{pypi_name} Version: 1.4.9 Release: 7%{?dist} Summary: SDK for connecting to AWS IoT using Python # ASL 2.0: main library # EPL-1.0: core/protocol/paho License: ASL 2.0 and EPL-1.0 URL: https://github.com/aws/aws-iot-device-sdk-python Source0: %{url}/archive/v%{version}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch %description The AWS IoT Device SDK for Python allows developers to write Python script to use their devices to access the AWS IoT platform through MQTT or MQTT over the WebSocket protocol. By connecting their devices to AWS IoT, users can securely work with the message broker, rules, and the device shadow (sometimes referred to as a thing shadow) provided by AWS IoT and with other AWS services like AWS Lambda, Amazon Kinesis, Amazon S3, and more. %package -n python3-%{pypi_name} Summary: %{summary} BuildRequires: python3-devel BuildRequires: python3-setuptools %{?python_provide:%python_provide python3-%{pypi_name}} %description -n python3-%{pypi_name} The AWS IoT Device SDK for Python allows developers to write Python script to use their devices to access the AWS IoT platform through MQTT or MQTT over the WebSocket protocol. By connecting their devices to AWS IoT, users can securely work with the message broker, rules, and the device shadow (sometimes referred to as a thing shadow) provided by AWS IoT and with other AWS services like AWS Lambda, Amazon Kinesis, Amazon S3, and more. %prep %autosetup -n aws-iot-device-sdk-python-%{version} chmod -x {LICENSE.txt,README.rst,samples/*/*.py} %build %py3_build %install %py3_install %files -n python3-%{pypi_name} %license LICENSE.txt %doc README.rst samples/ %{python3_sitelib}/%{pypi_name}/ %{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info %changelog * Fri Jul 22 2022 Fedora Release Engineering - 1.4.9-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 1.4.9-6 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 1.4.9-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 1.4.9-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 1.4.9-3 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 1.4.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Sep 07 2020 Fabian Affolter - 1.4.9-1 - Update to latest upstream release 1.4.9 * Tue Jul 28 2020 Fedora Release Engineering - 1.4.8-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro HronĨok - 1.4.8-4 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 1.4.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sat Jan 25 2020 Fabian Affolter - 1.4.8-2 - Update license details * Fri Jan 10 2020 Fabian Affolter - 1.4.8-1 - Fix prep section - Fix source URL (rhbz#1787304) - Update to latest upstream release 1.4.8 * Thu Jan 02 2020 Fabian Affolter - 1.4.7-1 - Initial package for Fedora