## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 8; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global pypi_name aiolifx Name: python-%{pypi_name} Version: 0.8.9 Release: %autorelease Summary: Python API for local communication with LIFX devices License: MIT URL: http://github.com/frawau/aiolifx Source0: %{pypi_source} BuildArch: noarch %description aiolifx is a Python library to control Lifx LED light bulbs over your LAN. %package -n python3-%{pypi_name} Summary: %{summary} BuildRequires: python3-devel BuildRequires: python3dist(setuptools) %{?python_provide:%python_provide python3-%{pypi_name}} %description -n python3-%{pypi_name} aiolifx is a Python library to control Lifx LED light bulbs over your LAN. %prep %autosetup -n %{pypi_name}-%{version} rm -rf %{pypi_name}.egg-info # https://github.com/frawau/aiolifx/pull/37 sed -i -e '/^#!\//, 1d' aiolifx/{__main__.py,aiolifx.py,update-products.py} # Remove script to maintain parts of the source rm -rf aiolifx/update-products.py %build %py3_build %install %py3_install %files -n python3-%{pypi_name} %license LICENSE.txt %doc README.md %{_bindir}/%{pypi_name} %{python3_sitelib}/%{pypi_name}/ %{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/ %changelog ## START: Generated by rpmautospec * Fri Jul 19 2024 Fedora Release Engineering - 0.8.9-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 0.8.9-7 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 0.8.9-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.8.9-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.8.9-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 0.8.9-3 - Rebuilt for Python 3.12 * Mon Feb 20 2023 Fabian Affolter - 0.8.9-2 - Update source * Mon Feb 20 2023 Fabian Affolter - 0.8.9-1 - Update to altest upstream release 0.8.9 (closes rhbz#2138473) * Fri Jan 20 2023 Fedora Release Engineering - 0.8.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Sep 29 2022 Fabian Affolter - 0.8.6-1 - Update to latest upstream version 0.8.6 (closes rhbz#2130866) * Sun Sep 25 2022 Fabian Affolter - 0.8.5-1 - Update to latest upstream version 0.8.5 (closes rhbz#2129496) * Sun Sep 18 2022 Fabian Affolter - 0.8.4-1 - Update to latest upstream release 0.8.4 (closes rhbz#2124733) * Fri Aug 19 2022 Fabian Affolter - 0.8.2-1 - Update to latest upstream release 0.8.2 (closes rhbz#2078059) * Fri Jul 22 2022 Fedora Release Engineering - 0.7.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.7.1-2 - Rebuilt for Python 3.11 * Fri Mar 04 2022 Fabian Affolter - 0.7.1-1 - Update to latest upstream release 0.7.1 (closes rhbz#2059449) * Fri Jan 21 2022 Fedora Release Engineering - 0.7.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sat Sep 04 2021 Fabian Affolter - 0.7.0-1 - Update to latest upstream release 0.7.0 (closes rhbz#2001194) * Fri Aug 27 2021 Fabian Affolter - 0.6.10-1 - * Fri Aug 27 2021 Fabian Affolter - 0.6.10-1 - Update to latest upstream release 0.6.10 (closes rhbz#1998565) * Fri Jul 23 2021 Fedora Release Engineering - 0.6.9-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.6.9-4 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.6.9-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jan 20 2021 Fabian Affolter - 0.6.9-2 - Update files section * Wed Jan 20 2021 Fabian Affolter - 0.6.9-1 - * Wed Jan 20 2021 Fabian Affolter - 0.6.9-1 - Update to latest upstream release 0.6.9 (#1918314) * Mon Nov 16 2020 Fabian Affolter - 0.6.8-1 - * Mon Aug 24 2020 Fabian Affolter - 0.6.8-1 - Initial package for Fedora ## END: Generated by rpmautospec